HP-UX Reference (11i v1 00/12) - 1M System Administration Commands A-M (vol 3)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/!!!intro.1m
________________________________________________________________
___ ___
l
lvsplit(1M) lvsplit(1M)
(Requires Optional HP MirrorDisk/UX Software)
EXTERNAL INFLUENCES
Environment Variables
LANG determines the language in which messages are displayed.
If LANG is not specified or is null, it defaults to "C" (see lang(5)).
If any internationalization variable contains an invalid setting, all internationalization variables default to
"C" (see environ(5)).
EXAMPLES
Split the mirrored logical volume /dev/vg00/lvol1 into two copies. Call the new logical volume
/dev/vg00/lvol1backup:
lvsplit -s backup /dev/vg00/lvol1
Split the mirrored logical volume /dev/vg00/lvol1 into two copies. The offline logical volume will be
created using the mirror copy on the physical volumes contain in the physical volume group pvg1.
lvsplit -g pvg1 /dev/vg00/lvol1
Split an online logical volume which is currently mounted on
/usr so that a backup can take place:
lvsplit /dev/vg00/lvol1
fsck /dev/vg00/lvol1b
mount /dev/vg00/lvol1b /usr.backup
Perform a backup operation, then:
umount /usr.backup
lvmerge /dev/vg00/lvol1b /dev/vg00/lvol1
Split two logical volumes at the same time:
lvsplit /dev/vg01/database1 /dev/vg01/database2
Perform operation on split logical volumes, then rejoin them:
lvmerge /dev/vg01/database1b /dev/vg01/database1
lvmerge /dev/vg01/database2b /dev/vg01/database1
WARNINGS
After a two-way mirrored logical volume has been split once, it cannot be split again without merging the
logical volumes using the lvmerge command (see lvmerge(1M)).
SEE ALSO
lvcreate(1M), lvextend(1M), lvmerge(1M).
Section 1M−−452 − 2 − HP-UX Release 11i: December 2000
___
___