*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: lvchange | Section: 8 | Source: Digital UNIX | File: lvchange.8.gz
lvchange(8) System Manager's Manual lvchange(8) NAME lvchange - Changes the characteristics of a logical volume. SYNOPSIS /usr/sbin/lvchange [-a Availability] [-d Schedule] [-p Permission] [-r Relocate] [-s Strict] [-v Verify] LogicalVolumePath Although the flags are shown as optional, you must specify at least one. DESCRIPTION This command is no longer supported on Digital UNIX systems. Features formerly provided by the Logical Volume Manager (LVM) are now provided by the Logical Storage Manager (LSM). Existing LVM volumes must be mi- grated to LSM, using an encapsulation process. For information about moving LVM volumes to LSM, see the vollvmencap(8) reference page and the manual Logical Storage Manager. The lvchange command changes the characteristics of a logical volume. You include the optional command flags and parameters on the command line to specify the type and extent of change. Each current characteristic for a logical volume remains in effect until you explicitly change it with the corresponding flag. All flags except the -s flag take effect immediately. The change you make with the -s flag takes effect only when new extents are allocated using the lvextend command. The LogicalVolumePath parameter must be a logical volume name. FLAGS You must specify at least one flag with the lvchange command. Sets the availability of the logical volume. The Availability parameter is rep- resented by one of the following: Makes a logical volume available; that is, an open of the logical volume will succeed. Makes a logical volume temporarily unavailable; that is, an open of the logical volume will fail. Sets the scheduling policy when a logical extent with more than one mirror is written. The Schedule parameter is represented by one of the following: Establishes a parallel scheduling policy. Estab- lishes a sequential scheduling policy. Use this value with care be- cause, in most cases, it leads to performance loss. Sets the access permission to read-write or read-only. The Permission parameter is represented by one of the following: Sets the access permission to read-write. Sets the access permission to read-only. Sets the bad block relocation policy. The Relocate parameter is represented by one of the following: Causes bad block relocation to occur. Prevents bad block relocation from occurring. Determines the strict allocation pol- icy. Mirrors of a logical extent can be allocated to share or not to share the same physical volume. This flag only make sense when the physical volumes (of the volume group that owns the logical volume to be changed) reside on different physical disks. The Strict parameter is represented by one of the following: Sets a strict allocation policy; mirrors of a logical extent can not share the same physical volume. Does not set a strict allocation policy; mirrors of a logical extent can share the same physical volume. Sets the write-verify state for the logical volume. The Verify parameter is represented by one of the following: Causes all writes to the logical volume to be verified with a follow up read. Prevents all writes to the logical volume from being verified with a follow up read. EXAMPLES To change the permission of logical volume lv03, enter: lvchange -p r /dev/vg01/lv03 Logical volume lv03 now has read-only permission. To change the allocation policy of logical volume lv07, enter: lvchange -s n /dev/vg01/lv07 FILES Specifies the command path. RELATED INFORMATION Commands: lvcreate(8), lvdisplay(8), lvextend(8) delim off lvchange(8)

Navigation Options