Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lvchange(8) — OSF/1 SILVER Baselevel 4 rev36

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lvcreate(8)

lvdisplay(8)

lvextend(8)

lvchange(8)  —  Maintenance

OSF

NAME

lvchange − Changes the characteristics of a logical volume

SYNOPSIS

lvchange [-a Availability] [-d Schedule] [-p Permission] [-r Relocate] [-s Strict] [-v Verify] LogicalVolumePath

FLAGS

-a Availability
Sets the availability of the logical volume. The Availability parameter is represented by one of the following:

yMakes a logical volume available; that is, an open of the logical volume will succeed. 

nMakes a logical volume temporarily unavailable; that is, an open of the logical volume will fail. 

-d ScheduleSets the scheduling policy when a logical extent with more than one mirror is written.  The Schedule parameter is represented by one of the following:

pEstablishes a parallel scheduling policy. 

sEstablishes a sequential scheduling policy.  Use this value with care because, in most cases, it leads to performance loss. 

-p Permission
Sets the access permission to read-write or read-only.  The Permission parameter is represented by one of the following:

wSets the access permission to read-write. 

rSets the access permission to read-only. 

-r RelocateSets the bad block relocation policy.  The Relocate parameter is represented by one of the following:

yCauses bad block relocation to occur. 

nPrevents bad block relocation from occurring. 

-s StrictDetermines the strict allocation policy. 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:

ySets a strict allocation policy; mirrors of a logical extent can not share the same physical volume. 

nDoes not set a strict allocation policy; mirrors of a logical extent can share the same physical volume. 

-v VerifySets the write-verify state for the logical volume.  The Verify parameter is represented by one of the following:

yCauses all writes to the logical volume to be verified with a follow up read. 

nPrevents all writes to the logical volume from being verified with a follow up read. 

DESCRIPTION

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. 

EXAMPLES

     1.To change the permission of logical volume lv03, enter:

lvchange -p r  /dev/vg01/lv03

Logical volume lv03 now has read-only permission. 

     2.To change the allocation policy of logical volume lv07, enter:

lvchange -s n  /dev/vg01/lv07

FILES

/usr/sbin/lvchange
Specifies the command path.

RELATED INFORMATION

Commands:  lvcreate(8), lvdisplay(8), lvextend(8)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026