Copyright (C) 2000-2012 |
Manpages VGSPLITSection: Maintenance Commands (8)Updated: LVM TOOLS Index Return to Main Contents NAMEvgsplit - split a volume groupsSYNOPSISvgsplit [-A|--autobackup {y|n}] [-d|-ebug] [-h|--help] [-l|--list] [-t|--test] [-v|--verbose] [--version] ExistingVolumeGroupName NewVolumeGroupName PhysicalVolumePath [PhysicalVolumePath...]DESCRIPTIONvgsplit moves one or more PhysicalVolumePath(s) from ExistingVolumeGroupName into NewVolumeGroupName. Physical volumes that are split off to the new volume group must not contain any partial logical volumes. Use pvmove(8) to move logical volumes to the desired physical volumes.OPTIONS
EXAMPLETo separate physical volumes /dev/sdk1 and /dev/sdn1 from the existing volume group databases and put them into new volume group my_vg.vgsplit -v databases my_vg /dev/sdk1 /dev/sdn1 DIAGNOSTICSvgsplit returns an exit code of 0 for success and > 0 for error:1 invalid volume group name 2 invalid physical volume name 3 malloc error 4 error reading VGDA of existing volume group 5 new volume group already exists 6 error setting up VGDA for split 7 logical volume to be split into new volume group must be inactive 8 logical volume doesn't exist 9 error removing logical volume from kernel 10 error reducing VGDA by physical volume in kernel 11 error writing changed existing VGDA to physical volume(s) 12 error writing new VGDA to physical volume(s) 13 error creating device special files for changed existing volume group 14 error creating device special files for new volume group 15 error creating new VGDA in kernel 16 error inserting new volume group name into lvmtab 95 driver/module not in kernel 96 invalid I/O protocol version 97 error locking logical volume manager 98 invalid lvmtab (run vgscan(8)) 99 invalid command line ENVIRONMENT VARIABLES
SEE ALSOlvm(8), vgcreate(8), vgextend(8), vgreduce(8), vgmerge(8), pvmove(8)AUTHORHeinz Mauelshagen <Linux-LVM@Sistina.com>
IndexThis document was created by man2html, using the manual pages. Time: 14:05:32 GMT, April 20, 2024 |