{"id":3425,"date":"2022-12-20T17:02:39","date_gmt":"2022-12-20T20:02:39","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/lvchange-man8\/"},"modified":"2022-12-20T17:02:39","modified_gmt":"2022-12-20T20:02:39","slug":"lvchange-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/lvchange-man8\/","title":{"rendered":"LVCHANGE (man8)"},"content":{"rendered":"<h1 align=\"center\">LVCHANGE<\/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=\"#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\">lvchange \u2212 Change the attributes of logical volume(s)<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange<\/b> <i>option_args position_args<\/i> <br \/> [ <i>option_args<\/i> ]<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212a<\/b>|<b>\u2212\u2212activate y<\/b>|<b>n<\/b>|<b>ay <br \/> \u2212\u2212activationmode partial<\/b>|<b>degraded<\/b>|<b>complete <br \/> \u2212\u2212addtag<\/b> <i>Tag<\/i> <b><br \/> \u2212\u2212alloc contiguous<\/b>|<b>cling<\/b>|<b>cling_by_tags<\/b>|<b>normal<\/b>|<b>anywhere<\/b>|<b>inherit <br \/> \u2212A<\/b>|<b>\u2212\u2212autobackup y<\/b>|<b>n <br \/> \u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough <br \/> \u2212\u2212cachepolicy<\/b> <i>String<\/i> <b><br \/> \u2212\u2212cachesettings<\/b> <i>String<\/i> <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 \/> \u2212C<\/b>|<b>\u2212\u2212contiguous y<\/b>|<b>n <br \/> \u2212d<\/b>|<b>\u2212\u2212debug <br \/> \u2212\u2212deduplication y<\/b>|<b>n <br \/> \u2212\u2212deltag<\/b> <i>Tag<\/i> <b><br \/> \u2212\u2212detachprofile <br \/> \u2212\u2212discards passdown<\/b>|<b>nopassdown<\/b>|<b>ignore <br \/> \u2212\u2212driverloaded y<\/b>|<b>n <br \/> \u2212\u2212errorwhenfull y<\/b>|<b>n <br \/> \u2212f<\/b>|<b>\u2212\u2212force <br \/> \u2212h<\/b>|<b>\u2212\u2212help <br \/> \u2212K<\/b>|<b>\u2212\u2212ignoreactivationskip <br \/> \u2212\u2212ignorelockingfailure <br \/> \u2212\u2212ignoremonitoring <br \/> \u2212\u2212lockopt<\/b> <i>String<\/i> <b><br \/> \u2212\u2212longhelp <br \/> \u2212j<\/b>|<b>\u2212\u2212major<\/b> <i>Number<\/i> <b><br \/> \u2212\u2212[raid]maxrecoveryrate<\/b> <i>Size<\/i>[k|UNIT] <b><br \/> \u2212\u2212metadataprofile<\/b> <i>String<\/i> <b><br \/> \u2212\u2212minor<\/b> <i>Number<\/i> <b><br \/> \u2212\u2212[raid]minrecoveryrate<\/b> <i>Size<\/i>[k|UNIT] <b><br \/> \u2212\u2212monitor y<\/b>|<b>n <br \/> \u2212\u2212nolocking <br \/> \u2212\u2212noudevsync <br \/> \u2212P<\/b>|<b>\u2212\u2212partial <br \/> \u2212p<\/b>|<b>\u2212\u2212permission rw<\/b>|<b>r <br \/> \u2212M<\/b>|<b>\u2212\u2212persistent y<\/b>|<b>n <br \/> \u2212\u2212poll y<\/b>|<b>n <br \/> \u2212\u2212profile<\/b> <i>String<\/i> <b><br \/> \u2212q<\/b>|<b>\u2212\u2212quiet <br \/> \u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i> <b><br \/> \u2212\u2212readonly <br \/> \u2212\u2212rebuild<\/b> <i>PV<\/i> <b><br \/> \u2212\u2212refresh <br \/> \u2212\u2212reportformat basic<\/b>|<b>json <br \/> \u2212\u2212resync <br \/> \u2212S<\/b>|<b>\u2212\u2212select<\/b> <i>String<\/i> <b><br \/> \u2212k<\/b>|<b>\u2212\u2212setactivationskip y<\/b>|<b>n <br \/> \u2212\u2212[raid]syncaction check<\/b>|<b>repair <br \/> \u2212\u2212sysinit <br \/> \u2212t<\/b>|<b>\u2212\u2212test <br \/> \u2212v<\/b>|<b>\u2212\u2212verbose <br \/> \u2212\u2212version <br \/> \u2212\u2212[raid]writebehind<\/b> <i>Number<\/i> <b><br \/> \u2212\u2212[raid]writemostly<\/b> <i>PV<\/i>[<b>:t<\/b>|<b>n<\/b>|<b>y<\/b>] <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\">lvchange changes LV attributes in the VG, changes LV activation in the kernel, and includes other utilities for LV maintenance.<\/p>\n<h2>USAGE <a name=\"USAGE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Change a general LV attribute. <br \/> For options listed in parentheses, any one is <br \/> required, after which the others are optional.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange<\/b><\/p>\n<p style=\"margin-left:17%;\">( <b>\u2212C<\/b>|<b>\u2212\u2212contiguous y<\/b>|<b>n<\/b>, <b><br \/> \u2212p<\/b>|<b>\u2212\u2212permission rw<\/b>|<b>r<\/b>, <b><br \/> \u2212r<\/b>|<b>\u2212\u2212readahead auto<\/b>|<b>none<\/b>|<i>Number<\/i>, <b><br \/> \u2212k<\/b>|<b>\u2212\u2212setactivationskip y<\/b>|<b>n<\/b>, <b><br \/> \u2212Z<\/b>|<b>\u2212\u2212zero y<\/b>|<b>n<\/b>, <b><br \/> \u2212M<\/b>|<b>\u2212\u2212persistent n<\/b>, <b><br \/> \u2212\u2212addtag<\/b> <i>Tag<\/i>, <b><br \/> \u2212\u2212deltag<\/b> <i>Tag<\/i>, <b><br \/> \u2212\u2212alloc contiguous<\/b>|<b>cling<\/b>|<b>cling_by_tags<\/b>|<b>normal<\/b>|<b>anywhere<\/b>|<b>inherit<\/b>, <b><br \/> \u2212\u2212compression y<\/b>|<b>n<\/b>, <b><br \/> \u2212\u2212deduplication y<\/b>|<b>n<\/b>, <b><br \/> \u2212\u2212detachprofile<\/b>, <b><br \/> \u2212\u2212metadataprofile<\/b> <i>String<\/i>, <b><br \/> \u2212\u2212profile<\/b> <i>String<\/i>, <b><br \/> \u2212\u2212errorwhenfull y<\/b>|<b>n<\/b>, <b><br \/> \u2212\u2212discards passdown<\/b>|<b>nopassdown<\/b>|<b>ignore<\/b>, <b><br \/> \u2212\u2212cachemode writethrough<\/b>|<b>writeback<\/b>|<b>passthrough<\/b>, <b><br \/> \u2212\u2212cachepolicy<\/b> <i>String<\/i>, <b><br \/> \u2212\u2212cachesettings<\/b> <i>String<\/i>, <b><br \/> \u2212\u2212[raid]minrecoveryrate<\/b> <i>Size<\/i>[k|UNIT], <b><br \/> \u2212\u2212[raid]maxrecoveryrate<\/b> <i>Size<\/i>[k|UNIT], <b><br \/> \u2212\u2212[raid]writebehind<\/b> <i>Number<\/i>, <b><br \/> \u2212\u2212[raid]writemostly<\/b> <i>PV<\/i>[<b>:t<\/b>|<b>n<\/b>|<b>y<\/b>] ) <i><br \/> VG<\/i>|<i>LV<\/i>|<i>Tag<\/i>|<i>Select<\/i> &#8230; <br \/> [ <b>\u2212a<\/b>|<b>\u2212\u2212activate y<\/b>|<b>n<\/b>|<b>ay<\/b> ] <br \/> [ <b>\u2212\u2212poll y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212monitor 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\">Resyncronize a mirror or raid LV. <br \/> Use to reset \u2019R\u2019 attribute on a not initially synchronized LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212\u2212resync<\/b> <i>VG<\/i>|<i>LV_mirror_raid<\/i>|<i>Tag<\/i>|<i>Select<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212a<\/b>|<b>\u2212\u2212activate y<\/b>|<b>n<\/b>|<b>ay<\/b> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Resynchronize or check a raid LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212\u2212syncaction check<\/b>|<b>repair<\/b> <i>VG<\/i>|<i>LV_raid<\/i>|<i>Tag<\/i>|<i>Select<\/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\">Reconstruct data on specific PVs of a raid LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212\u2212rebuild<\/b> <i>PV VG<\/i>|<i>LV_raid<\/i>|<i>Tag<\/i>|<i>Select<\/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\">Activate or deactivate an LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212a<\/b>|<b>\u2212\u2212activate y<\/b>|<b>n<\/b>|<b>ay<\/b> <i>VG<\/i>|<i>LV<\/i>|<i>Tag<\/i>|<i>Select<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212P<\/b>|<b>\u2212\u2212partial<\/b> ] <br \/> [ <b>\u2212K<\/b>|<b>\u2212\u2212ignoreactivationskip<\/b> ] <br \/> [ <b>\u2212\u2212activationmode partial<\/b>|<b>degraded<\/b>|<b>complete<\/b> ] <br \/> [ <b>\u2212\u2212poll y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212monitor y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212ignorelockingfailure<\/b> ] <br \/> [ <b>\u2212\u2212sysinit<\/b> ] <br \/> [ <b>\u2212\u2212readonly<\/b> ] <br \/> [ COMMON_OPTIONS ]<\/p>\n<p style=\"margin-left:11%;\">&#8211;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Reactivate an LV using the latest metadata.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212\u2212refresh<\/b> <i>VG<\/i>|<i>LV<\/i>|<i>Tag<\/i>|<i>Select<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212P<\/b>|<b>\u2212\u2212partial<\/b> ] <br \/> [ <b>\u2212\u2212activationmode partial<\/b>|<b>degraded<\/b>|<b>complete<\/b> ] <br \/> [ <b>\u2212\u2212poll y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212monitor 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\">Start or stop monitoring an LV from dmeventd.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212\u2212monitor y<\/b>|<b>n<\/b> <i>VG<\/i>|<i>LV<\/i>|<i>Tag<\/i>|<i>Select<\/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\">Start or stop processing an LV conversion.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212\u2212poll y<\/b>|<b>n<\/b> <i>VG<\/i>|<i>LV<\/i>|<i>Tag<\/i>|<i>Select<\/i> &#8230;<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212\u2212monitor 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\">Make the minor device number persistent for an LV.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212M<\/b>|<b>\u2212\u2212persistent y \u2212\u2212minor<\/b> <i>Number LV<\/i><\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212j<\/b>|<b>\u2212\u2212major<\/b> <i>Number<\/i> ] <br \/> [ <b>\u2212a<\/b>|<b>\u2212\u2212activate y<\/b>|<b>n<\/b>|<b>ay<\/b> ] <br \/> [ <b>\u2212\u2212poll y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212\u2212monitor 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\">Common options for command:<\/p>\n<p style=\"margin-left:17%;\">[ <b>\u2212A<\/b>|<b>\u2212\u2212autobackup y<\/b>|<b>n<\/b> ] <br \/> [ <b>\u2212f<\/b>|<b>\u2212\u2212force<\/b> ] <br \/> [ <b>\u2212S<\/b>|<b>\u2212\u2212select<\/b> <i>String<\/i> ] <br \/> [ <b>\u2212\u2212ignoremonitoring<\/b> ] <br \/> [ <b>\u2212\u2212noudevsync<\/b> ] <br \/> [ <b>\u2212\u2212reportformat basic<\/b>|<b>json<\/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=\"31%\">\n<p style=\"margin-top: 1em\"><b>\u2212a<\/b>|<b>\u2212\u2212activate y<\/b>|<b>n<\/b>|<b>ay<\/b><\/p>\n<\/td>\n<td width=\"58%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Change the active state of LVs. An active LV can be used through a block device, allowing data on the LV to be accessed. <b>y<\/b> makes LVs active, or available. <b>n<\/b> makes LVs inactive, or unavailable. The block device for the LV is added or removed from the system using device-mapper in the kernel. A symbolic link \/dev\/VGName\/LVName pointing to the device node is also added\/removed. All software and scripts should access the device through the symbolic link and present this as the name of the device. The location and name of the underlying device node may depend on the distribution, configuration (e.g. udev), or release version. <b>ay<\/b> specifies autoactivation, in which case an LV is activated only if it matches an item in lvm.conf activation\/auto_activation_volume_list. If the list is not set, all LVs are considered to match, and if if the list is set but empty, no LVs match. Autoactivation should be used during system boot to make it possible to select which LVs should be automatically activated by the system. See <b>lvmlockd<\/b>(8) for more information about activation options <b>ey<\/b> and <b>sy<\/b> for shared VGs.<\/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=\"64%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212activationmode partial<\/b>|<b>degraded<\/b>|<b>complete<\/b><\/p>\n<\/td>\n<td width=\"25%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Determines if LV activation is allowed when PVs are missing, e.g. because of a device failure. <b>complete<\/b> only allows LVs with no missing PVs to be activated, and is the most restrictive mode. <b>degraded<\/b> allows RAID LVs with missing PVs to be activated. (This does not include the &#8220;mirror&#8221; type, see &#8220;raid1&#8221; instead.) <b>partial<\/b> allows any LV with missing PVs to be activated, and should only be used for recovery or repair. For default, see lvm.conf\/activation_mode. 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=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212addtag<\/b> <i>Tag<\/i><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Adds a tag to a PV, VG or LV. This option can be repeated to add multiple tags at once. See <b>lvm<\/b>(8) for information about tags.<\/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\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=\"29%\">\n<p style=\"margin-top: 1em\"><b>\u2212A<\/b>|<b>\u2212\u2212autobackup y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies if metadata should be backed up automatically after a change. Enabling this is strongly advised! See <b>vgcfgbackup<\/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=\"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=\"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=\"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=\"29%\">\n<p style=\"margin-top: 1em\"><b>\u2212C<\/b>|<b>\u2212\u2212contiguous y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Sets or resets the contiguous allocation policy for LVs. Default is no contiguous allocation based on a next free principle. It is only possible to change a non-contiguous allocation policy to contiguous if all of the allocated physical extents in the LV are already contiguous.<\/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=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212deltag<\/b> <i>Tag<\/i><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Deletes a tag from a PV, VG or LV. This option can be repeated to delete multiple tags at once. See <b>lvm<\/b>(8) for information about tags.<\/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\u2212detachprofile<\/b><\/p>\n<\/td>\n<td width=\"66%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Detaches a metadata profile from a VG or LV. 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=\"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=\"29%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212errorwhenfull y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Specifies thin pool behavior when data space is exhausted. When yes, device-mapper will immediately return an error when a thin pool is full and an I\/O request requires space. When no, device-mapper will queue these I\/O requests for a period of time to allow the thin pool to be extended. Errors are returned if no space is available after the timeout. (Also see dm-thin\u2212pool kernel module option no_space_timeout.) 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=\"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=\"38%\">\n<p style=\"margin-top: 1em\"><b>\u2212K<\/b>|<b>\u2212\u2212ignoreactivationskip<\/b><\/p>\n<\/td>\n<td width=\"51%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Ignore the &#8220;activation skip&#8221; LV flag during activation to allow LVs with the flag set to be activated.<\/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\u2212ignorelockingfailure<\/b><\/p>\n<\/td>\n<td width=\"55%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Allows a command to continue with read-only metadata operations after locking failures.<\/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\u2212ignoremonitoring<\/b><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Do not interact with dmeventd unless \u2212\u2212monitor is specified. Do not use this if dmeventd is already monitoring a device.<\/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=\"26%\">\n<p style=\"margin-top: 1em\"><b>\u2212j<\/b>|<b>\u2212\u2212major<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"63%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Sets the major number of an LV block device.<\/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=\"55%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212[raid]maxrecoveryrate<\/b> <i>Size<\/i>[k|UNIT]<\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Sets the maximum recovery rate for a RAID LV. The rate value is an amount of data per second for each device in the array. Setting the rate to 0 means it will be unbounded. 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=\"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=\"21%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212minor<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"68%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Sets the minor number of an LV block device.<\/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=\"55%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212[raid]minrecoveryrate<\/b> <i>Size<\/i>[k|UNIT]<\/p>\n<\/td>\n<td width=\"34%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Sets the minimum recovery rate for a RAID LV. The rate value is an amount of data per second for each device in the array. Setting the rate to 0 means it will be unbounded. 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>\u2212\u2212monitor y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Start (yes) or stop (no) monitoring an LV with dmeventd. dmeventd monitors kernel events for an LV, and performs automated maintenance for the LV in reponse to specific events. See <b>dmeventd<\/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=\"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=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212P<\/b>|<b>\u2212\u2212partial<\/b><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Commands will do their best to activate LVs with missing PV extents. Missing extents may be replaced with error or zero segments according to the lvm.conf missing_stripe_filler setting. Metadata may not be changed with this option.<\/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>\u2212p<\/b>|<b>\u2212\u2212permission rw<\/b>|<b>r<\/b><\/p>\n<\/td>\n<td width=\"58%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Set access permission to read only <b>r<\/b> or read and write <b>rw<\/b>.<\/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>\u2212M<\/b>|<b>\u2212\u2212persistent y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"60%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">When yes, makes the specified minor number persistent.<\/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\u2212poll y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"74%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">When yes, start the background transformation of an LV. An incomplete transformation, e.g. pvmove or lvconvert interrupted by reboot or crash, can be restarted from the last checkpoint with \u2212\u2212poll y. When no, background transformation of an LV will not occur, and the transformation will not complete. It may not be appropriate to immediately poll an LV after activation, in which case \u2212\u2212poll n can be used to defer polling until a later \u2212\u2212poll y 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=\"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=\"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=\"15%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212readonly<\/b><\/p>\n<\/td>\n<td width=\"74%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Run the command in a special read-only mode which will read on-disk metadata without needing to take any locks. This can be used to peek inside metadata used by a virtual machine image while the virtual machine is running. No attempt will be made to communicate with the device-mapper kernel driver, so this option is unable to report whether or not LVs are actually in 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=\"18%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212rebuild<\/b> <i>PV<\/i><\/p>\n<\/td>\n<td width=\"71%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Selects a PV to rebuild in a raid LV. Multiple PVs can be rebuilt by repeating this option. Use this option in place of \u2212\u2212resync or \u2212\u2212syncaction repair when the PVs with corrupted data are known, and their data should be reconstructed rather than reconstructing default (rotating) data. 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=\"14%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212refresh<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">If the LV is active, reload its metadata. This is not necessary in normal operation, but may be useful if something has gone wrong, or if some form of manual LV sharing is being used.<\/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=\"38%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212reportformat basic<\/b>|<b>json<\/b><\/p>\n<\/td>\n<td width=\"51%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Overrides current output format for reports which is defined globally by the report\/output_format setting in lvm.conf. <b>basic<\/b> is the original format with columns and rows. If there is more than one report per command, each report is prefixed with the report name for identification. <b>json<\/b> produces report output in JSON format. See <b>lvmreport<\/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=\"12%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212resync<\/b><\/p>\n<\/td>\n<td width=\"77%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Initiates mirror synchronization. Synchronization generally happens automatically, but this option forces it to run. Also see \u2212\u2212rebuild to synchronize a specific PV. During synchronization, data is read from the primary mirror device and copied to the others. This can take considerable time, during which the LV is without a complete redundant copy of the data. 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=\"27%\">\n<p style=\"margin-top: 1em\"><b>\u2212S<\/b>|<b>\u2212\u2212select<\/b> <i>String<\/i><\/p>\n<\/td>\n<td width=\"62%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Select objects for processing and reporting based on specified criteria. The criteria syntax is described by <b>\u2212\u2212select help<\/b> and <b>lvmreport<\/b>(7). For reporting commands, one row is displayed for each object matching the criteria. See <b>\u2212\u2212options help<\/b> for selectable object fields. Rows can be displayed with an additional &#8220;selected&#8221; field (\u2212o selected) showing 1 if the row matches the selection and 0 otherwise. For non-reporting commands which process LVM entities, the selection is used to choose items to process.<\/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>\u2212k<\/b>|<b>\u2212\u2212setactivationskip y<\/b>|<b>n<\/b><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Persistently sets (yes) or clears (no) the &#8220;activation skip&#8221; flag on an LV. An LV with this flag set is not activated unless the -\u2212ignoreactivationskip option is used by the activation command. This flag is set by default on new thin snapshot LVs. The flag is not applied to deactivation. The current value of the flag is indicated in the lvs lv_attr bits.<\/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\u2212[raid]syncaction check<\/b>|<b>repair<\/b><\/p>\n<\/td>\n<td width=\"42%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Initiate different types of RAID synchronization. This causes the RAID LV to read all data and parity blocks in the array and check for discrepancies (mismatches between mirrors or incorrect parity values). <b>check<\/b> will count but not correct discrepancies. <b>repair<\/b> will correct discrepancies. See lvs for reporting discrepancies found or repaired.<\/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\u2212sysinit<\/b><\/p>\n<\/td>\n<td width=\"75%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Indicates that vgchange\/lvchange is being invoked from early system initialisation scripts (e.g. rc.sysinit or an initrd), before writable filesystems are available. As such, some functionality needs to be disabled and this option acts as a shortcut which selects an appropriate set of options. Currently, this is equivalent to using \u2212\u2212ignorelockingfailure, \u2212\u2212ignoremonitoring, -\u2212poll n, and setting env var LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES. vgchange\/lvchange skip autoactivation, and defer to pvscan autoactivation.<\/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=\"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=\"40%\">\n<p style=\"margin-top: 1em\"><b>\u2212\u2212[raid]writebehind<\/b> <i>Number<\/i><\/p>\n<\/td>\n<td width=\"49%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">The maximum number of outstanding writes that are allowed to devices in a RAID1 LV that is marked write-mostly. Once this value is exceeded, writes become synchronous (i.e. all writes to the constituent devices must complete before the array signals the write has completed). Setting the value to zero clears the preference and allows the system to choose the value arbitrarily.<\/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\u2212[raid]writemostly<\/b> <i>PV<\/i>[<b>:t<\/b>|<b>n<\/b>|<b>y<\/b>]<\/p>\n<\/td>\n<td width=\"43%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Mark a device in a RAID1 LV as write-mostly. All reads to these drives will be avoided unless absolutely necessary. This keeps the number of I\/Os to the drive to a minimum. The default behavior is to set the write-mostly attribute for the specified PV. It is also possible to remove the write-mostly flag by adding the suffix <b>:n<\/b> at the end of the PV name, or to toggle the value with the suffix <b>:t<\/b>. Repeat this option to change the attribute on multiple PVs.<\/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%;\">Set zeroing mode for thin pool. Note: already provisioned blocks from pool in non-zero mode are not cleared in unwritten parts when setting \u2212\u2212zero y.<\/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=\"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>Select<\/i><\/p>\n<\/td>\n<td width=\"80%\"> <\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:22%;\">Select indicates that a required positional parameter can be omitted if the <b>\u2212\u2212select<\/b> option is used. No arg appears in this position.<\/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>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Change LV permission to read-only:<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>lvchange \u2212pr vg00\/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>  lvchange \u2212 Change the attributes of logical volume(s) <\/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,551,4],"class_list":["post-3425","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-lvchange","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3425","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=3425"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3425\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}