2008-10-08 16:50:13 +04:00
.TH PVCHANGE 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
2002-01-04 23:35:19 +03:00
.SH NAME
pvchange \- change attributes of a physical volume
.SH SYNOPSIS
.B pvchange
2012-04-11 16:42:10 +04:00
.RB [ \- \- addtag
.IR Tag ]
.RB [ \- A | \- \- autobackup
.RI { y | n }]
2014-05-21 16:53:56 +04:00
.RB [ \- \- commandprofile
.IR ProfileName ]
2012-04-11 16:42:10 +04:00
.RB [ \- d | \- \- debug ]
.RB [ \- f | \- \- force ]
.RB [ \- \- deltag
.IR Tag ]
.RB [ \- \- metadataignore
.RI { y | n }]
.RB [ \- h | \- ? | \- \- help ]
.RB [ \- t | \- \- test ]
.RB [ \- v | \- \- verbose ]
.RB [ \- a | \- \- all ]
.RB [ \- x | \- \- allocatable
.RI { y | n }]
.RB [ \- u | \- \- uuid ]
.RI [ PhysicalVolumePath ...]
2002-01-04 23:35:19 +03:00
.SH DESCRIPTION
pvchange allows you to change the allocation permissions of one or
more physical volumes.
.SH OPTIONS
2012-04-11 16:42:10 +04:00
See \fB lvm\fP (8) for common options.
2002-01-04 23:35:19 +03:00
.TP
2012-04-11 16:42:10 +04:00
.BR \- a ", " \- \- all
2002-01-04 23:35:19 +03:00
If PhysicalVolumePath is not specified on the command line all
physical volumes are searched for and used.
.TP
2012-04-11 16:42:10 +04:00
.BR \- \- metadataignore " {" \fI y | \fI n }
2010-07-13 19:04:23 +04:00
Ignore or un-ignore metadata areas on this physical volume.
If metadata areas on a physical volume are ignored, LVM will
not not store metadata in the metadata areas present on this Physical
Volume.
.TP
2012-04-11 16:42:10 +04:00
.BR \- u ", " \- \- uuid
2008-01-04 14:48:40 +03:00
Generate new random UUID for specified physical volumes.
.TP
2012-04-11 16:42:10 +04:00
.BR \- x ", " \- \- allocatable " {" \fI y | \fI n }
2002-01-04 23:35:19 +03:00
Enable or disable allocation of physical extents on this physical volume.
.SH Example
2012-04-11 16:42:10 +04:00
Disallows the allocation of physical extents on this physical volume
(possibly because of disk errors, or because it will be removed after
freeing it:
.sp
.B pvchange -x n /dev/sdk1
2002-01-04 23:35:19 +03:00
.SH SEE ALSO
2010-06-29 00:34:12 +04:00
.BR lvm (8),
2002-01-04 23:35:19 +03:00
.BR pvcreate (8)