{"id":3536,"date":"2022-12-20T17:08:57","date_gmt":"2022-12-20T20:08:57","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/lvconvert-man8\/"},"modified":"2022-12-20T17:08:57","modified_gmt":"2022-12-20T20:08:57","slug":"lvconvert-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/lvconvert-man8\/","title":{"rendered":"LVCONVERT (man8)"},"content":{"rendered":"<h1 align=\"center\">LVCONVERT<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#USAGE\">USAGE<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#VARIABLES\">VARIABLES<\/a><br \/> <a href=\"#ENVIRONMENT VARIABLES\">ENVIRONMENT VARIABLES<\/a><br \/> <a href=\"#ADVANCED USAGE\">ADVANCED USAGE<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">lvconvert \u2212 Change logical volume layout<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert<\/b> <i>option_args position_args<\/i> <br \/> [ <i>option_args<\/i> ] <br \/> [ <i>position_args<\/i> ]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212\u2212alloc contiguous<\/b>|<b>cling<\/b>|<b>cling_by_tags<\/b>|<b>normal<\/b>|<b>anywhere<\/b>|<b>inherit <br \/> \u2212b<\/b>|<b>\u2212\u2212background <br \/> \u2212H<\/b>|<b>\u2212\u2212cache <br \/> \u2212\u2212cachedevice<\/b> <i>PV<\/i> <b><br \/> \u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2 <br \/> \u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough <br \/> \u2212\u2212cachepolicy<\/b> <i>String<\/i> <b><br \/> \u2212\u2212cachepool<\/b> <i>LV<\/i> <b><br \/> \u2212\u2212cachesettings<\/b> <i>String<\/i> <b><br \/> \u2212\u2212cachesize<\/b> <i>Size<\/i>[m|UNIT] <b><br \/> \u2212\u2212cachevol<\/b> <i>LV<\/i> <b><br \/> \u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] <b><br \/> \u2212\u2212commandprofile<\/b> <i>String<\/i> <b><br \/> \u2212\u2212compression y<\/b>|<b>n <br \/> \u2212\u2212config<\/b> <i>String<\/i> <b><br \/> \u2212d<\/b>|<b>\u2212\u2212debug <br \/> \u2212\u2212deduplication y<\/b>|<b>n <br \/> \u2212\u2212discards passdown<\/b>|<b>nopassdown<\/b>|<b>ignore <br \/> \u2212\u2212driverloaded y<\/b>|<b>n <br \/> \u2212f<\/b>|<b>\u2212\u2212force <br \/> \u2212h<\/b>|<b>\u2212\u2212help <br \/> \u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> <b><br \/> \u2212\u2212lockopt<\/b> <i>String<\/i> <b><br \/> \u2212\u2212longhelp <br \/> \u2212\u2212merge <br \/> \u2212\u2212mergemirrors <br \/> \u2212\u2212mergesnapshot <br \/> \u2212\u2212mergethin <br \/> \u2212\u2212metadataprofile<\/b> <i>String<\/i> <b><br \/> \u2212\u2212mirrorlog core<\/b>|<b>disk <br \/> \u2212m<\/b>|<b>\u2212\u2212mirrors<\/b> [<b>+<\/b>|<b>\u2212<\/b>]<i>Number<\/i> <b><br \/> \u2212n<\/b>|<b>\u2212\u2212name<\/b> <i>String<\/i> <b><br \/> \u2212\u2212nolocking <br \/> \u2212\u2212noudevsync <br \/> \u2212\u2212originname<\/b> <i>LV<\/i> <b><br \/> \u2212\u2212poolmetadata<\/b> <i>LV<\/i> <b><br \/> \u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] <b><br \/> \u2212\u2212poolmetadataspare y<\/b>|<b>n <br \/> \u2212\u2212profile<\/b> <i>String<\/i> <b><br \/> \u2212q<\/b>|<b>\u2212\u2212quiet <br \/> \u2212\u2212raidintegrity y<\/b>|<b>n <br \/> \u2212\u2212raidintegrityblocksize<\/b> <i>Number<\/i> <b><br \/> \u2212\u2212raidintegritymode<\/b> <i>String<\/i> <b><br \/> \u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> <b><br \/> \u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] <b><br \/> \u2212\u2212repair <br \/> \u2212\u2212replace<\/b> <i>PV<\/i> <b><br \/> \u2212s<\/b>|<b>\u2212\u2212snapshot <br \/> \u2212\u2212splitcache <br \/> \u2212\u2212splitmirrors<\/b> <i>Number<\/i> <b><br \/> \u2212\u2212splitsnapshot <br \/> \u2212\u2212startpoll <br \/> \u2212\u2212stripes<\/b> <i>Number<\/i> <b><br \/> \u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] <b><br \/> \u2212\u2212swapmetadata <br \/> \u2212t<\/b>|<b>\u2212\u2212test <br \/> \u2212T<\/b>|<b>\u2212\u2212thin <br \/> \u2212\u2212thinpool<\/b> <i>LV<\/i> <b><br \/> \u2212\u2212trackchanges <br \/> \u2212\u2212type linear<\/b>|<b>striped<\/b>|<b>snapshot<\/b>|<b>mirror<\/b>|<b>raid<\/b>|<b>thin<\/b>|<b>cache<\/b>|<b>vdo<\/b>|<b>thin\u2212pool<\/b>|<b>cache\u2212pool<\/b>|<b>vdo\u2212pool <br \/> \u2212\u2212uncache <br \/> \u2212\u2212usepolicies <br \/> \u2212\u2212vdopool<\/b> <i>LV<\/i> <b><br \/> \u2212v<\/b>|<b>\u2212\u2212verbose <br \/> \u2212\u2212version <br \/> \u2212V<\/b>|<b>\u2212\u2212virtualsize<\/b> <i>Size<\/i>[m|UNIT] <b><br \/> \u2212y<\/b>|<b>\u2212\u2212yes <br \/> \u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">lvconvert changes the LV type and includes utilities for LV data maintenance. The LV type controls data layout and redundancy. The LV type is also called the segment type or segtype.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">To display the current LV type, run the command:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvs \u2212o name,segtype<\/b> <i>LV<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In some cases, an LV is a single device mapper (dm) layer above physical devices. In other cases, hidden LVs (dm devices) are layered between the visible LV and physical devices. LVs in the middle layers are called sub LVs. A command run on a visible LV sometimes operates on a sub LV rather than the specified LV. In other cases, a sub LV must be specified directly on the command line.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Sub LVs can be displayed with the command:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvs \u2212a<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>linear<\/b> type is equivalent to the <b>striped<\/b> type when one stripe exists. In that case, the types can sometimes be used interchangably.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In most cases, the <b>mirror<\/b> type is deprecated and the <b>raid1<\/b> type should be used. They are both implementations of mirroring.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Striped raid types are <b>raid0\/raid0_meta<\/b>, <b>raid5<\/b> (an alias for raid5_ls), <b>raid6<\/b> (an alias for raid6_zr) and <b>raid10<\/b> (an alias for raid10_near).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">As opposed to mirroring, raid5 and raid6 stripe data and calculate parity blocks. The parity blocks can be used for data block recovery in case devices fail. A maximum number of one device in a raid5 LV may fail, and two in case of raid6. Striped raid types typically rotate the parity and data blocks for performance reasons, thus avoiding contention on a single device. Specific arrangements of parity and data blocks (layouts) can be used to optimize I\/O performance, or to convert between raid levels. See <b>lvmraid<\/b>(7) for more information.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Layouts of raid5 rotating parity blocks can be: left-asymmetric (raid5_la), left-symmetric (raid5_ls with alias raid5), right-asymmetric (raid5_ra), right-symmetric (raid5_rs) and raid5_n, which doesn\u2019t rotate parity blocks. Layouts of raid6 are: zero-restart (raid6_zr with alias raid6), next-restart (raid6_nr), and next-continue (raid6_nc).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Layouts including _n allow for conversion between raid levels (raid5_n to raid6 or raid5_n to striped\/raid0\/raid0_meta). Additionally, special raid6 layouts for raid level conversions between raid5 and raid6 are: raid6_ls_6, raid6_rs_6, raid6_la_6 and raid6_ra_6. Those correspond to their raid5 counterparts (e.g. raid5_rs can be directly converted to raid6_rs_6 and vice-versa).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">raid10 (an alias for raid10_near) is currently limited to one data copy and even number of sub LVs. This is a mirror group layout, thus a single sub LV may fail per mirror group without data loss.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Striped raid types support converting the layout, their stripesize and their number of stripes.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The striped raid types combined with raid1 allow for conversion from linear\u2212> striped\/raid0\/raid0_meta and vice-versa by e.g. linear <\u2212> raid1 <\u2212> raid5_n (then adding stripes) <\u2212> striped\/raid0\/raid0_meta.<\/p>\n<h2>USAGE <a name=\"USAGE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to linear.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type linear<\/b> <i>LV<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to striped.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type striped<\/b> <i>LV<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212stripes<\/b> <i>Number<\/i> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to type mirror (also see type raid1),<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type mirror<\/b> <i>LV<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212m<\/b>|<b>\u2212\u2212mirrors<\/b> [<b>+<\/b>|<b>\u2212<\/b>]<i>Number<\/i> ] <br \/> [ <b>\u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212stripes<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212mirrorlog core<\/b>|<b>disk<\/b> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to raid or change raid layout <br \/> (a specific raid level must be used, e.g. raid1).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type raid<\/b> <i>LV<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212m<\/b>|<b>\u2212\u2212mirrors<\/b> [<b>+<\/b>|<b>\u2212<\/b>]<i>Number<\/i> ] <br \/> [ <b>\u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212stripes<\/b> <i>Number<\/i> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to raid1 or mirror, or change number of mirror images.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212m<\/b>|<b>\u2212\u2212mirrors<\/b> [<b>+<\/b>|<b>\u2212<\/b>]<i>Number LV<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212mirrorlog core<\/b>|<b>disk<\/b> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert raid LV to change number of stripe images.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212stripes<\/b> <i>Number LV_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert raid LV to change the stripe size.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] <i>LV_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Split images from a raid1 or mirror LV and use them to create a new LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212splitmirrors<\/b> <i>Number<\/i> <b>\u2212n<\/b>|<b>\u2212\u2212name<\/b> <i>LV_new LV_cache_mirror_raid1<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Split images from a raid1 LV and track changes to origin for later merge.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212splitmirrors<\/b> <i>Number<\/i> <b>\u2212\u2212trackchanges<\/b> <i>LV_cache_raid1<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Merge LV images that were split from a raid1 LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212mergemirrors<\/b> <i>VG<\/i>|<i>LV_linear_raid<\/i>|<i>Tag<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to a thin LV, using the original LV as an external origin.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type thin \u2212\u2212thinpool<\/b> <i>LV LV_linear_striped_thin_cache_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212T<\/b>|<b>\u2212\u2212thin<\/b> ] <br \/> [ <b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212originname<\/b> <i>LV_new<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212metadataprofile<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Attach a cache pool to an LV, converts the LV to type cache.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type cache \u2212\u2212cachepool<\/b> <i>LV LV_linear_striped_thinpool_vdo_vdopool_vdopooldata_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212H<\/b>|<b>\u2212\u2212cache<\/b> ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2<\/b> ] <br \/> [ <b>\u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b> ] <br \/> [ <b>\u2212\u2212cachepolicy<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212metadataprofile<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Attach a writecache to an LV, converts the LV to type writecache.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type writecache \u2212\u2212cachevol<\/b> <i>LV LV_linear_striped_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Attach a cache to an LV, converts the LV to type cache.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type cache \u2212\u2212cachevol<\/b> <i>LV LV_linear_striped_thinpool_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212H<\/b>|<b>\u2212\u2212cache<\/b> ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2<\/b> ] <br \/> [ <b>\u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b> ] <br \/> [ <b>\u2212\u2212cachepolicy<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Add a writecache to an LV, using a specified cache device.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type writecache \u2212\u2212cachedevice<\/b> <i>PV LV_linear_striped_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212\u2212cachesize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Add a cache to an LV, using a specified cache device.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type cache \u2212\u2212cachedevice<\/b> <i>PV LV_linear_striped_thinpool_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212\u2212cachesize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to type thin\u2212pool.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type thin\u2212pool<\/b> <i>LV_linear_striped_cache_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212stripes<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212discards passdown<\/b>|<b>nopassdown<\/b>|<b>ignore<\/b> ] <br \/> [ <b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212metadataprofile<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to type cache\u2212pool.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type cache\u2212pool<\/b> <i>LV_linear_striped_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2<\/b> ] <br \/> [ <b>\u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b> ] <br \/> [ <b>\u2212\u2212cachepolicy<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212metadataprofile<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to type vdopool.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type vdo\u2212pool<\/b> <i>LV_linear_striped_cache_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212n<\/b>|<b>\u2212\u2212name<\/b> <i>LV_new<\/i> ] <br \/> [ <b>\u2212V<\/b>|<b>\u2212\u2212virtualsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212compression y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212deduplication y<\/b>|<b>n<\/b> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Detach a cache from an LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212splitcache<\/b> <i>LV_thinpool_cache_cachepool_vdopool_writecache<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Merge thin LV into its origin LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212mergethin<\/b> <i>LV_thin<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Merge COW snapshot LV into its origin.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212mergesnapshot<\/b> <i>LV_snapshot<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Combine a former COW snapshot (second arg) with a former <br \/> origin LV (first arg) to reverse a splitsnapshot command.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212type snapshot<\/b> <i>LV LV_linear_striped<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212s<\/b>|<b>\u2212\u2212snapshot<\/b> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Replace failed PVs in a raid or mirror LV. <br \/> Repair a thin pool. <br \/> Repair a cache pool.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212repair<\/b> <i>LV_thinpool_cache_cachepool_mirror_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212\u2212usepolicies<\/b> ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Replace specific PV(s) in a raid LV with another PV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212replace<\/b> <i>PV LV_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Poll LV to continue conversion.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212startpoll<\/b> <i>LV_mirror_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Add or remove data integrity checksums to raid images.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212raidintegrity y<\/b>|<b>n<\/b> <i>LV_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212\u2212raidintegritymode<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212raidintegrityblocksize<\/b> <i>Number<\/i> ] <br \/> [ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Common options for command:<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212b<\/b>|<b>\u2212\u2212background<\/b> ] <br \/> [ <b>\u2212f<\/b>|<b>\u2212\u2212force<\/b> ] <br \/> [ <b>\u2212\u2212alloc contiguous<\/b>|<b>cling<\/b>|<b>cling_by_tags<\/b>|<b>normal<\/b>|<b>anywhere<\/b>|<b>inherit<\/b> ] <br \/> [ <b>\u2212\u2212noudevsync<\/b> ]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Common options for lvm:<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212d<\/b>|<b>\u2212\u2212debug<\/b> ] <br \/> [ <b>\u2212h<\/b>|<b>\u2212\u2212help<\/b> ] <br \/> [ <b>\u2212q<\/b>|<b>\u2212\u2212quiet<\/b> ] <br \/> [ <b>\u2212t<\/b>|<b>\u2212\u2212test<\/b> ] <br \/> [ <b>\u2212v<\/b>|<b>\u2212\u2212verbose<\/b> ] <br \/> [ <b>\u2212y<\/b>|<b>\u2212\u2212yes<\/b> ] <br \/> [ <b>\u2212\u2212commandprofile<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212config<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212driverloaded y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212lockopt<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212longhelp<\/b> ] <br \/> [ <b>\u2212\u2212nolocking<\/b> ] <br \/> [ <b>\u2212\u2212profile<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212version<\/b> ]<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212alloc contiguous<\/b>|<b>cling<\/b>|<b>cling_by_tags<\/b>|<b>normal<\/b>|<b>anywhere<\/b>|<b>inherit<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Determines the allocation policy when a command needs to allocate Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy which can be changed with vgchange\/lvchange, or overriden on the command line. <b>normal<\/b> applies common sense rules such as not placing parallel stripes on the same PV. <b>inherit<\/b> applies the VG policy to an LV. <b>contiguous<\/b> requires new PEs be placed adjacent to existing PEs. <b>cling<\/b> places new PEs on the same PV as existing PEs in the same stripe of the LV. If there are sufficient PEs for an allocation, but normal does not use them, <b>anywhere<\/b> will use them even if it reduces performance, e.g. by placing two stripes on the same PV. Optional positional PV args on the command line can also be used to limit which PVs the command will use for allocation. See <b>lvm<\/b>(8) for more information about allocation.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><b>\u2212b<\/b>|<b>\u2212\u2212background<\/b><\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">If the operation requires polling, this option causes the command to return before the operation is complete, and polling is done in the background.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"15%\">\n<p style=\"margin-top: 1em\"><b>\u2212H<\/b>|<b>\u2212\u2212cache<\/b><\/p>\n<\/td>\n<td width=\"74%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the command is handling a cache LV or cache pool. See \u2212\u2212type cache and \u2212\u2212type cache\u2212pool. See <b>lvmcache<\/b>(7) for more information about LVM caching.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"24%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachedevice<\/b> <i>PV<\/i><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The name of a device to use for a cache.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"46%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2<\/b><\/p>\n<\/td>\n<td width=\"43%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the cache metadata format used by cache target.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"71%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b><\/p>\n<\/td>\n<td width=\"18%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies when writes to a cache LV should be considered complete. <b>writeback<\/b> considers a write complete as soon as it is stored in the cache pool. <b>writethough<\/b> considers a write complete only when it has been stored in both the cache pool and on the origin LV. While writethrough may be slower for writes, it is more resilient if something should happen to a device associated with the cache pool LV. With <b>passthrough<\/b>, all reads are served from the origin LV (all reads miss the cache) and all writes are forwarded to the origin LV; additionally, write hits cause cache block invalidates. See <b>lvmcache<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachepolicy<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"58%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the cache policy for a cache LV. See <b>lvmcache<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachepool<\/b> <i>LV<\/i><\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The name of a cache pool.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"34%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachesettings<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"55%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies tunable values for a cache LV in &#8220;Key = Value&#8221; form. Repeat this option to specify multiple values. (The default values should usually be adequate.) The special string value <b>default<\/b> switches settings back to their default kernel values and removes them from the list of settings stored in LVM metadata. See <b>lvmcache<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachesize<\/b> <i>Size<\/i>[m|UNIT]<\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The size of cache to use.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212cachevol<\/b> <i>LV<\/i><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The name of a cache volume.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"41%\">\n<p style=\"margin-top: 1em\"><b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT]<\/p>\n<\/td>\n<td width=\"48%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The size of chunks in a snapshot, cache pool or thin pool. For snapshots, the value must be a power of 2 between 4KiB and 512KiB and the default value is 4. For a cache pool the value must be between 32KiB and 1GiB and the default value is 64. For a thin pool the value must be between 64KiB and 1GiB and the default value starts with 64 and scales up to fit the pool metadata size within 128MiB, if the pool metadata size is not specified. The value must be a multiple of 64KiB. See <b>lvmthin<\/b>(7) and <b>lvmcache<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"35%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212commandprofile<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"54%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The command profile to use for command configuration. See <b>lvm.conf<\/b>(5) for more information about profiles.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212compression y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Controls whether compression is enabled or disable for VDO volume. See <b>lvmvdo<\/b>(7) for more information about VDO usage.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212config<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Config settings for the command. These override lvm.conf settings. The String arg uses the same format as lvm.conf, or may use section\/field syntax. See <b>lvm.conf<\/b>(5) for more information about config.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212d<\/b>|<b>\u2212\u2212debug<\/b> &#8230;<\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Set debug level. Repeat from 1 to 6 times to increase the detail of messages sent to the log file and\/or syslog (if configured).<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212deduplication y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Controls whether deduplication is enabled or disable for VDO volume. See <b>lvmvdo<\/b>(7) for more information about VDO usage.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"57%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212discards passdown<\/b>|<b>nopassdown<\/b>|<b>ignore<\/b><\/p>\n<\/td>\n<td width=\"32%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies how the device-mapper thin pool layer in the kernel should handle discards. <b>ignore<\/b> causes the thin pool to ignore discards. <b>nopassdown<\/b> causes the thin pool to process discards itself to allow reuse of unneeded extents in the thin pool. <b>passdown<\/b> causes the thin pool to process discards itself (like nopassdown) and pass the discards to the underlying device. See <b>lvmthin<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"27%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212driverloaded y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">If set to no, the command will not attempt to use device-mapper. For testing and debugging.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212f<\/b>|<b>\u2212\u2212force<\/b> &#8230;<\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Override various checks, confirmations and protections. Use with extreme caution.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p style=\"margin-top: 1em\"><b>\u2212h<\/b>|<b>\u2212\u2212help<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Display help text.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"31%\">\n<p style=\"margin-top: 1em\"><b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"58%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Report progress at regular intervals.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"24%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212lockopt<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Used to pass options for special cases to lvmlockd. See <b>lvmlockd<\/b>(8) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"15%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212longhelp<\/b><\/p>\n<\/td>\n<td width=\"74%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Display long help text.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"11%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212merge<\/b><\/p>\n<\/td>\n<td width=\"78%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">An alias for \u2212\u2212mergethin, \u2212\u2212mergemirrors, or \u2212\u2212mergesnapshot, depending on the type of LV.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212mergemirrors<\/b><\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Merge LV images that were split from a raid1 LV. See \u2212\u2212splitmirrors with \u2212\u2212trackchanges.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212mergesnapshot<\/b><\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Merge COW snapshot LV into its origin. When merging a snapshot, if both the origin and snapshot LVs are not open, the merge will start immediately. Otherwise, the merge will start the first time either the origin or snapshot LV are activated and both are closed. Merging a snapshot into an origin that cannot be closed, for example a root filesystem, is deferred until the next time the origin volume is activated. When merging starts, the resulting LV will have the origin\u2019s name, minor number and UUID. While the merge is in progress, reads or writes to the origin appear as being directed to the snapshot being merged. When the merge finishes, the merged snapshot is removed. Multiple snapshots may be specified on the command line or a @tag may be used to specify multiple snapshots be merged to their respective origin.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"17%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212mergethin<\/b><\/p>\n<\/td>\n<td width=\"72%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Merge thin LV into its origin LV. The origin thin LV takes the content of the thin snapshot, and the thin snapshot LV is removed. See <b>lvmthin<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212metadataprofile<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The metadata profile to use for command configuration. See <b>lvm.conf<\/b>(5) for more information about profiles.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"32%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212mirrorlog core<\/b>|<b>disk<\/b><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the type of mirror log for LVs with the &#8220;mirror&#8221; type (does not apply to the &#8220;raid1&#8221; type.) <b>disk<\/b> is a persistent log and requires a small amount of storage space, usually on a separate device from the data being mirrored. <b>core<\/b> is not persistent; the log is kept only in memory. In this case, the mirror must be synchronized (by copying LV data from the first device to others) each time the LV is activated, e.g. after reboot. <b>mirrored<\/b> is a persistent log that is itself mirrored, but should be avoided. Instead, use the raid1 type for log redundancy.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"37%\">\n<p style=\"margin-top: 1em\"><b>\u2212m<\/b>|<b>\u2212\u2212mirrors<\/b> [<b>+<\/b>|<b>\u2212<\/b>]<i>Number<\/i><\/p>\n<\/td>\n<td width=\"52%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the number of mirror images in addition to the original LV image, e.g. \u2212\u2212mirrors 1 means there are two images of the data, the original and one mirror image. Optional positional PV args on the command line can specify the devices the images should be placed on. There are two mirroring implementations: &#8220;raid1&#8221; and &#8220;mirror&#8221;. These are the names of the corresponding LV types, or &#8220;segment types&#8221;. Use the \u2212\u2212type option to specify which to use (raid1 is default, and mirror is legacy) Use lvm.conf global\/mirror_segtype_default and global\/raid10_segtype_default to configure the default types. The plus prefix <b>+<\/b> can be used, in which case the number is added to the current number of images, or the minus prefix <b>\u2212<\/b> can be used, in which case the number is subtracted from the current number of images. See <b>lvmraid<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"24%\">\n<p style=\"margin-top: 1em\"><b>\u2212n<\/b>|<b>\u2212\u2212name<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the name of a new LV. When unspecified, a default name of &#8220;lvol#&#8221; is generated, where # is a number generated by LVM.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"17%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212nolocking<\/b><\/p>\n<\/td>\n<td width=\"72%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Disable locking.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212noudevsync<\/b><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Disables udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. Only use this if udev is not running or has rules that ignore the devices LVM creates.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212originname<\/b> <i>LV<\/i><\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the name to use for the external origin LV when converting an LV to a thin LV. The LV being converted becomes a read-only external origin with this name.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"26%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i><\/p>\n<\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The name of a an LV to use for storing pool metadata.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"47%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT]<\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the size of the new pool metadata LV.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"35%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"54%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Enable or disable the automatic creation and management of a spare pool metadata LV in the VG. A spare metadata LV is reserved space that can be used when repairing a pool.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"24%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212profile<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">An alias for \u2212\u2212commandprofile or \u2212\u2212metadataprofile, depending on the command.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212q<\/b>|<b>\u2212\u2212quiet<\/b> &#8230;<\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Suppress output and log messages. Overrides \u2212\u2212debug and \u2212\u2212verbose. Repeat once to also suppress any prompts with answer \u2019no\u2019.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"29%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212raidintegrity y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Enable or disable data integrity checksums for raid images.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"47%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212raidintegrityblocksize<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The block size to use for dm-integrity on raid images. The integrity block size should usually match the device logical block size, or the file system block size. It may be less than the file system block size, but not less than the device logical block size. Possible values: 512, 1024, 2048, 4096.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"40%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212raidintegritymode<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Use a journal (default) or bitmap for keeping integrity checksums consistent in case of a crash. The bitmap areas are recalculated after a crash, so corruption in those areas would not be detected. A journal does not have this problem. The journal mode doubles writes to storage, but can improve performance for scattered writes packed into a single journal write. bitmap mode can in theory achieve full write throughput of the device, but would not benefit from the potential scattered write optimization.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"47%\">\n<p style=\"margin-top: 1em\"><b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i><\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Sets read ahead sector count of an LV. <b>auto<\/b> is the default which allows the kernel to choose a suitable value automatically. <b>none<\/b> is equivalent to zero.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"43%\">\n<p style=\"margin-top: 1em\"><b>\u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT]<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Size of each raid or mirror synchronization region. lvm.conf activation\/raid_region_size can be used to configure a default.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"12%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212repair<\/b><\/p>\n<\/td>\n<td width=\"77%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Replace failed PVs in a raid or mirror LV, or run a repair utility on a thin pool. See <b>lvmraid<\/b>(7) and <b>lvmthin<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212replace<\/b> <i>PV<\/i><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Replace a specific PV in a raid LV with another PV. The new PV to use can be optionally specified after the LV. Multiple PVs can be replaced by repeating this option. See <b>lvmraid<\/b>(7) for more information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><b>\u2212s<\/b>|<b>\u2212\u2212snapshot<\/b><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Combine a former COW snapshot LV with a former origin LV to reverse a previous \u2212\u2212splitsnapshot command.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212splitcache<\/b><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Separates a cache pool from a cache LV, and keeps the unused cache pool LV. Before the separation, the cache is flushed. Also see \u2212\u2212uncache.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"32%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212splitmirrors<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"57%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Splits the specified number of images from a raid1 or mirror LV and uses them to create a new LV. If \u2212\u2212trackchanges is also specified, changes to the raid1 LV are tracked while the split LV remains detached. If \u2212\u2212name is specified, then the images are permanently split from the original LV and changes are not tracked.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"23%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212splitsnapshot<\/b><\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Separates a COW snapshot from its origin LV. The LV that is split off contains the chunks that differ from the origin LV along with metadata describing them. This LV can be wiped and then destroyed with lvremove.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"17%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212startpoll<\/b><\/p>\n<\/td>\n<td width=\"72%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Start polling an LV to continue processing a conversion.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"24%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212stripes<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the number of stripes in a striped LV. This is the number of PVs (devices) that a striped LV is spread across. Data that appears sequential in the LV is spread across multiple devices in units of the stripe size (see \u2212\u2212stripesize). This does not apply to existing allocated space, only newly allocated space can be striped.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"43%\">\n<p style=\"margin-top: 1em\"><b>\u2212I<\/b>|<b>\u2212\u2212stripesize<\/b> <i>Size<\/i>[k|UNIT]<\/p>\n<\/td>\n<td width=\"46%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The amount of data that is written to one device before moving to the next in a striped LV.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212swapmetadata<\/b><\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Extracts the metadata LV from a pool and replaces it with another specified LV. The extracted LV is preserved and given the name of the LV that replaced it. Use for repair only. When the metadata LV is swapped out of the pool, it can be activated directly and used with thin provisioning tools: <b>cache_dump<\/b>(8), <b>cache_repair<\/b>(8), <b>cache_restore<\/b>(8), <b>thin_dump<\/b>(8), <b>thin_repair<\/b>(8), <b>thin_restore<\/b>(8).<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p style=\"margin-top: 1em\"><b>\u2212t<\/b>|<b>\u2212\u2212test<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Run in test mode. Commands will not update metadata. This is implemented by disabling all metadata writing but nevertheless returning success to the calling function. This may lead to unusual error messages in multi-stage operations if a tool relies on reading back metadata it believes has changed but hasn\u2019t.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p style=\"margin-top: 1em\"><b>\u2212T<\/b>|<b>\u2212\u2212thin<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies the command is handling a thin LV or thin pool. See \u2212\u2212type thin, \u2212\u2212type thin\u2212pool, and \u2212\u2212virtualsize. See <b>lvmthin<\/b>(7) for more information about LVM thin provisioning.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212thinpool<\/b> <i>LV<\/i><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The name of a thin pool LV.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212trackchanges<\/b><\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Can be used with \u2212\u2212splitmirrors on a raid1 LV. This causes changes to the original raid1 LV to be tracked while the split images remain detached. This is a temporary state that allows the read-only detached image to be merged efficiently back into the raid1 LV later. Only the regions with changed data are resynchronized during merge. While a raid1 LV is tracking changes, operations on it are limited to merging the split image (see \u2212\u2212mergemirrors) or permanently splitting the image (see \u2212\u2212splitmirrors with \u2212\u2212name.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212type linear<\/b>|<b>striped<\/b>|<b>snapshot<\/b>|<b>mirror<\/b>|<b>raid<\/b>|<b>thin<\/b>|<b>cache<\/b>|<b>vdo<\/b>|<b>thin\u2212pool<\/b>|<b>cache\u2212pool<\/b>|<b>vdo\u2212pool<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The LV type, also known as &#8220;segment type&#8221; or &#8220;segtype&#8221;. See usage descriptions for the specific ways to use these types. For more information about redundancy and performance (<b>raid<\/b><N>, <b>mirror<\/b>, <b>striped<\/b>, <b>linear<\/b>) see <b>lvmraid<\/b>(7). For thin provisioning (<b>thin<\/b>, <b>thin\u2212pool<\/b>) see <b>lvmthin<\/b>(7). For performance caching (<b>cache<\/b>, <b>cache\u2212pool<\/b>) see <b>lvmcache<\/b>(7). For copy-on\u2212write snapshots (<b>snapshot<\/b>) see usage definitions. For VDO (<b>vdo<\/b>) see <b>lvmvdo<\/b>(7). Several commands omit an explicit type option because the type is inferred from other options or shortcuts (e.g. \u2212\u2212stripes, \u2212\u2212mirrors, \u2212\u2212snapshot, \u2212\u2212virtualsize, \u2212\u2212thin, \u2212\u2212cache, \u2212\u2212vdo). Use inferred types with care because it can lead to unexpected results.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212uncache<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Separates a cache pool from a cache LV, and deletes the unused cache pool LV. Before the separation, the cache is flushed. Also see \u2212\u2212splitcache.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212usepolicies<\/b><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Perform an operation according to the policy configured in lvm.conf or a profile.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212vdopool<\/b> <i>LV<\/i><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The name of a VDO pool LV. See <b>lvmvdo<\/b>(7) for more information about VDO usage.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"24%\">\n<p style=\"margin-top: 1em\"><b>\u2212v<\/b>|<b>\u2212\u2212verbose<\/b> &#8230;<\/p>\n<\/td>\n<td width=\"65%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Set verbose level. Repeat from 1 to 4 times to increase the detail of messages sent to stdout and stderr.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"14%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212version<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Display version information.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"44%\">\n<p style=\"margin-top: 1em\"><b>\u2212V<\/b>|<b>\u2212\u2212virtualsize<\/b> <i>Size<\/i>[m|UNIT]<\/p>\n<\/td>\n<td width=\"45%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The virtual size of a new thin LV. See <b>lvmthin<\/b>(7) for more information about LVM thin provisioning. Using virtual size (\u2212V) and actual size (\u2212L) together creates a sparse LV. lvm.conf global\/sparse_segtype_default determines the default segment type used to create a sparse LV. Anything written to a sparse LV will be returned when reading from it. Reading from other areas of the LV will return blocks of zeros. When using a snapshot to create a sparse LV, a hidden virtual device is created using the zero target, and the LV has the suffix _vorigin. Snapshots are less efficient than thin provisioning when creating large sparse LVs (GiB).<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"12%\">\n<p style=\"margin-top: 1em\"><b>\u2212y<\/b>|<b>\u2212\u2212yes<\/b><\/p>\n<\/td>\n<td width=\"77%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Do not prompt for confirmation interactively but always assume the answer yes. Use with extreme caution. (For automatic no, see \u2212qq.)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"20%\">\n<p style=\"margin-top: 1em\"><b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">For snapshots, this controls zeroing of the first 4KiB of data in the snapshot. If the LV is read-only, the snapshot will not be zeroed. For thin pools, this controls zeroing of provisioned blocks. Provisioning of large zeroed chunks negatively impacts performance.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<h2>VARIABLES <a name=\"VARIABLES\"><\/a> <\/h2>\n<td width=\"11%\"><\/td>\n<td width=\"3%\"><\/td>\n<td width=\"86%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><i>VG<\/i><\/p>\n<\/td>\n<td width=\"86%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Volume Group name. See <b>lvm<\/b>(8) for valid names.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><i>LV<\/i><\/p>\n<\/td>\n<td width=\"86%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Logical Volume name. See <b>lvm<\/b>(8) for valid names. An LV positional arg generally includes the VG name and LV name, e.g. VG\/LV. LV followed by _<type> indicates that an LV of the given type is required. (raid represents raid<N> type)<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><i>PV<\/i><\/p>\n<\/td>\n<td width=\"86%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Physical Volume name, a device path under \/dev. For commands managing physical extents, a PV positional arg generally accepts a suffix indicating a range (or multiple ranges) of physical extents (PEs). When the first PE is omitted, it defaults to the start of the device, and when the last PE is omitted it defaults to end. Start and end range (inclusive): <i>PV<\/i>[<b>:<\/b><i>PE<\/i><b>\u2212<\/b><i>PE<\/i>]&#8230; Start and length range (counting from 0): <i>PV<\/i>[<b>:<\/b><i>PE<\/i><b>+<\/b><i>PE<\/i>]&#8230;<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"4%\">\n<p style=\"margin-top: 1em\"><i>Tag<\/i><\/p>\n<\/td>\n<td width=\"85%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Tag name. See <b>lvm<\/b>(8) for information about tag names and using tags in place of a VG, LV or PV.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p style=\"margin-top: 1em\"><i>String<\/i><\/p>\n<\/td>\n<td width=\"80%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">See the option description for information about the string content.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"15%\">\n<p style=\"margin-top: 1em\"><i>Size<\/i>[UNIT]<\/p>\n<\/td>\n<td width=\"74%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Size is an input number that accepts an optional unit. Input units are always treated as base two values, regardless of capitalization, e.g. \u2019k\u2019 and \u2019K\u2019 both refer to 1024. The default input unit is specified by letter, followed by |UNIT. UNIT represents other possible input units: <b>bBsSkKmMgGtTpPeE<\/b>. b|B is bytes, s|S is sectors of 512 bytes, k|K is kilobytes, m|M is megabytes, g|G is gigabytes, t|T is terabytes, p|P is petabytes, e|E is exabytes. (This should not be confused with the output control \u2212\u2212units, where capital letters mean multiple of 1000.)<\/p>\n<h2>ENVIRONMENT VARIABLES <a name=\"ENVIRONMENT VARIABLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">See <b>lvm<\/b>(8) for information about environment variables used by lvm. For example, LVM_VG_NAME can generally be substituted for a required VG parameter.<\/p>\n<h2>ADVANCED USAGE <a name=\"ADVANCED USAGE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Alternate command forms, advanced command usage, and listing of all valid syntax for completeness.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Change the region size of an LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212R<\/b>|<b>\u2212\u2212regionsize<\/b> <i>Size<\/i>[m|UNIT] <i>LV_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Change the type of mirror log used by a mirror LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212mirrorlog core<\/b>|<b>disk<\/b> <i>LV_mirror<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ] <br \/> [ <i>PV<\/i> &#8230; ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to a thin LV, using the original LV as an external origin <br \/> (infers \u2212\u2212type thin).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212T<\/b>|<b>\u2212\u2212thin \u2212\u2212thinpool<\/b> <i>LV LV_linear_striped_thin_cache_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212type thin<\/b> ] <br \/> [ <b>\u2212\u2212originname<\/b> <i>LV_new<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212metadataprofile<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Attach a cache pool to an LV (infers \u2212\u2212type cache).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212H<\/b>|<b>\u2212\u2212cache \u2212\u2212cachepool<\/b> <i>LV LV_linear_striped_thinpool_vdo_vdopool_vdopooldata_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212\u2212type cache<\/b> ] <br \/> [ <b>\u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2<\/b> ] <br \/> [ <b>\u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b> ] <br \/> [ <b>\u2212\u2212cachepolicy<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadata<\/b> <i>LV<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212poolmetadataspare y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212metadataprofile<\/b> <i>String<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Attach a cache to an LV, converts the LV to type cache.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212H<\/b>|<b>\u2212\u2212cache \u2212\u2212cachevol<\/b> <i>LV LV_linear_striped_thinpool_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212\u2212cachemetadataformat auto<\/b>|<b>1<\/b>|<b>2<\/b> ] <br \/> [ <b>\u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b> ] <br \/> [ <b>\u2212\u2212cachepolicy<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212cachesettings<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212poolmetadatasize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert LV to type vdopool.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212vdopool<\/b> <i>LV_linear_striped_cache_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212n<\/b>|<b>\u2212\u2212name<\/b> <i>LV_new<\/i> ] <br \/> [ <b>\u2212V<\/b>|<b>\u2212\u2212virtualsize<\/b> <i>Size<\/i>[m|UNIT] ] <br \/> [ <b>\u2212\u2212type vdo\u2212pool<\/b> ] <br \/> [ <b>\u2212\u2212compression y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212deduplication y<\/b>|<b>n<\/b> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Detach and delete a cache from an LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212uncache<\/b> <i>LV_thinpool_cache_vdopool_writecache<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Swap metadata LV in a thin pool or cache pool (for repair only).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212swapmetadata \u2212\u2212poolmetadata<\/b> <i>LV LV_thinpool_cachepool<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Merge LV that was split from a mirror (variant, use \u2212\u2212mergemirrors). <br \/> Merge thin LV into its origin LV (variant, use \u2212\u2212mergethin). <br \/> Merge COW snapshot LV into its origin (variant, use \u2212\u2212mergesnapshot).<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212merge<\/b> <i>VG<\/i>|<i>LV_linear_striped_snapshot_thin_raid<\/i>|<i>Tag<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212i<\/b>|<b>\u2212\u2212interval<\/b> <i>Number<\/i> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Separate a COW snapshot from its origin LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212\u2212splitsnapshot<\/b> <i>LV_snapshot<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Combine a former COW snapshot (second arg) with a former <br \/> origin LV (first arg) to reverse a splitsnapshot command.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert \u2212s<\/b>|<b>\u2212\u2212snapshot<\/b> <i>LV LV_linear_striped<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212c<\/b>|<b>\u2212\u2212chunksize<\/b> <i>Size<\/i>[k|UNIT] ] <br \/> [ <b>\u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212type snapshot<\/b> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Poll LV to continue conversion (also see \u2212\u2212startpoll) <br \/> or waits till conversion\/mirror syncing is finished<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvconvert<\/b> <i>LV_mirror_raid<\/i><\/p>\n<p style=\"margin-left:17%;\">[ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This previous command syntax would perform two different operations: <b><br \/> lvconvert \u2212\u2212thinpool<\/b> <i>LV1<\/i> <b>\u2212\u2212poolmetadata<\/b> <i>LV2<\/i> <br \/> If LV1 was not a thin pool, the command would convert LV1 to a thin pool, optionally using a specified LV for metadata. But, if LV1 was already a thin pool, the command would swap the current metadata LV with LV2 (for repair purposes.)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In the same way, this previous command syntax would perform two different operations: <b><br \/> lvconvert \u2212\u2212cachepool<\/b> <i>LV1<\/i> <b>\u2212\u2212poolmetadata<\/b> <i>LV2<\/i> <br \/> If LV1 was not a cache pool, the command would convert LV1 to a cache pool, optionally using a specified LV for metadata. But, if LV1 was already a cache pool, the command would swap the current metadata LV with LV2 (for repair purposes.)<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a linear LV to a two-way mirror LV. <b><br \/> lvconvert \u2212\u2212type mirror \u2212\u2212mirrors 1 vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a linear LV to a two-way RAID1 LV. <b><br \/> lvconvert \u2212\u2212type raid1 \u2212\u2212mirrors 1 vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a mirror LV to use an in-memory log. <b><br \/> lvconvert \u2212\u2212mirrorlog core vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a mirror LV to use a disk log. <b><br \/> lvconvert \u2212\u2212mirrorlog disk vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a mirror or raid1 LV to a linear LV. <b><br \/> lvconvert \u2212\u2212type linear vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a mirror LV to a raid1 LV with the same number of images. <b><br \/> lvconvert \u2212\u2212type raid1 vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a linear LV to a two-way mirror LV, allocating new extents from specific PV ranges. <b><br \/> lvconvert \u2212\u2212mirrors 1 vg\/lvol1 \/dev\/sda:0\u221215 \/dev\/sdb:0\u221215<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert a mirror LV to a linear LV, freeing physical extents from a specific PV. <b><br \/> lvconvert \u2212\u2212type linear vg\/lvol1 \/dev\/sda<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Split one image from a mirror or raid1 LV, making it a new LV. <b><br \/> lvconvert \u2212\u2212splitmirrors 1 \u2212\u2212name lv_split vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Split one image from a raid1 LV, and track changes made to the raid1 LV while the split image remains detached. <b><br \/> lvconvert \u2212\u2212splitmirrors 1 \u2212\u2212trackchanges vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Merge an image (that was previously created with \u2212\u2212splitmirrors and -\u2212trackchanges) back into the original raid1 LV. <b><br \/> lvconvert \u2212\u2212mergemirrors vg\/lvol1_rimage_1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Replace PV \/dev\/sdb1 with PV \/dev\/sdf1 in a raid1\/4\/5\/6\/10 LV. <b><br \/> lvconvert \u2212\u2212replace \/dev\/sdb1 vg\/lvol1 \/dev\/sdf1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Replace 3 PVs \/dev\/sd[b\u2212d]1 with PVs \/dev\/sd[f\u2212h]1 in a raid1 LV. <b><br \/> lvconvert \u2212\u2212replace \/dev\/sdb1 \u2212\u2212replace \/dev\/sdc1 \u2212\u2212replace \/dev\/sdd1<\/b><\/p>\n<p style=\"margin-left:22%;\"><b>vg\/lvol1 \/dev\/sd[fgh]1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Replace the maximum of 2 PVs \/dev\/sd[bc]1 with PVs \/dev\/sd[gh]1 in a raid6 LV. <b><br \/> lvconvert \u2212\u2212replace \/dev\/sdb1 \u2212\u2212replace \/dev\/sdc1 vg\/lvol1 \/dev\/sd[gh]1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert an LV into a thin LV in the specified thin pool. The existing LV is used as an external read-only origin for the new thin LV. <b><br \/> lvconvert \u2212\u2212type thin \u2212\u2212thinpool vg\/tpool1 vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert an LV into a thin LV in the specified thin pool. The existing LV is used as an external read-only origin for the new thin LV, and is renamed &#8220;external&#8221;. <b><br \/> lvconvert \u2212\u2212type thin \u2212\u2212thinpool vg\/tpool1<\/b><\/p>\n<p style=\"margin-left:22%;\"><b>\u2212\u2212originname external vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert an LV to a cache pool LV using another specified LV for cache pool metadata. <b><br \/> lvconvert \u2212\u2212type cache\u2212pool \u2212\u2212poolmetadata vg\/poolmeta1 vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Convert an LV to a cache LV using the specified cache pool and chunk size. <b><br \/> lvconvert \u2212\u2212type cache \u2212\u2212cachepool vg\/cpool1 \u2212c 128 vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Detach and keep the cache pool from a cache LV. <b><br \/> lvconvert \u2212\u2212splitcache vg\/lvol1<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Detach and remove the cache pool from a cache LV. <b><br \/> lvconvert \u2212\u2212uncache vg\/lvol1<\/b><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvm<\/b>(8) <b>lvm.conf<\/b>(5) <b>lvmconfig<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>pvchange<\/b>(8) <b>pvck<\/b>(8) <b>pvcreate<\/b>(8) <b>pvdisplay<\/b>(8) <b>pvmove<\/b>(8) <b>pvremove<\/b>(8) <b>pvresize<\/b>(8) <b>pvs<\/b>(8) <b>pvscan<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>vgcfgbackup<\/b>(8) <b>vgcfgrestore<\/b>(8) <b>vgchange<\/b>(8) <b>vgck<\/b>(8) <b>vgcreate<\/b>(8) <b>vgconvert<\/b>(8) <b>vgdisplay<\/b>(8) <b>vgexport<\/b>(8) <b>vgextend<\/b>(8) <b>vgimport<\/b>(8) <b>vgimportclone<\/b>(8) <b>vgmerge<\/b>(8) <b>vgmknodes<\/b>(8) <b>vgreduce<\/b>(8) <b>vgremove<\/b>(8) <b>vgrename<\/b>(8) <b>vgs<\/b>(8) <b>vgscan<\/b>(8) <b>vgsplit<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvcreate<\/b>(8) <b>lvchange<\/b>(8) <b>lvconvert<\/b>(8) <b>lvdisplay<\/b>(8) <b>lvextend<\/b>(8) <b>lvreduce<\/b>(8) <b>lvremove<\/b>(8) <b>lvrename<\/b>(8) <b>lvresize<\/b>(8) <b>lvs<\/b>(8) <b>lvscan<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvm-fullreport<\/b>(8) <b>lvm-lvpoll<\/b>(8) <b>lvm2\u2212activation\u2212generator<\/b>(8) <b>blkdeactivate<\/b>(8) <b>lvmdump<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>dmeventd<\/b>(8) <b>lvmpolld<\/b>(8) <b>lvmlockd<\/b>(8) <b>lvmlockctl<\/b>(8) <b>cmirrord<\/b>(8) <b>lvmdbusd<\/b>(8)<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvmsystemid<\/b>(7) <b>lvmreport<\/b>(7) <b>lvmraid<\/b>(7) <b>lvmthin<\/b>(7) <b>lvmcache<\/b>(7)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  lvconvert \u2212 Change logical volume layout <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,656,4],"class_list":["post-3536","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-lvconvert","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3536"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3536\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}