2004-12-09 19:58:31 +03:00
.TH VGSPLIT 8 "LVM TOOLS" "Sistina Software UK" \" -*- nroff -*-
2003-11-14 19:17:55 +03:00
.SH NAME
vgsplit \- split a volume group into two
.SH SYNOPSIS
.B vgsplit
2008-01-15 00:07:58 +03:00
.RB [ \- \- alloc
.IR AllocationPolicy ]
.RB [ \- A | \- \- autobackup " {" y | n }]
.RB [ \- c | \- \- clustered " {" y | n }]
.RB [ \- d | \- \- debug ]
.RB [ \- h | \- \- help ]
2008-01-16 20:14:56 +03:00
.RB [ \- l | \- \- maxlogicalvolumes
2008-01-15 00:07:58 +03:00
.IR MaxLogicalVolumes ]
.RB [ -M | \- \- metadatatype
.IR type ]
.RB [ -p | \- \- maxphysicalvolumes
.IR MaxPhysicalVolumes ]
.RB [ \- t | \- \- test ]
.RB [ \- v | \- \- verbose ]
2008-01-12 00:43:16 +03:00
SourceVolumeGroupName DestinationVolumeGroupName
2003-11-14 19:17:55 +03:00
PhysicalVolumePath [PhysicalVolumePath...]
.SH DESCRIPTION
.B vgsplit
2008-01-12 00:43:16 +03:00
moves
2003-11-14 19:17:55 +03:00
.IR PhysicalVolumePath (s)
from
2008-01-12 00:43:16 +03:00
.I SourceVolumeGroupName
into
.I DestinationVolumeGroupName\fP.
2008-01-17 06:18:18 +03:00
2008-01-12 00:43:16 +03:00
If
.I DestinationVolumeGroupName
2008-01-17 06:18:18 +03:00
does not exist, a new volume group will be created. The default attributes
for the new volume group can be specified with \fB \- \- alloc\fR ,
\fB \- \- clustered\fR , \fB \- \- maxlogicalvolumes\fR , \fB \- \- metadatatype\fR ,
2008-01-22 05:48:53 +03:00
and \fB \- \- maxphysicalvolumes\fR (see \fB vgcreate(8)\fR for a description
of these options). If any of these options are not given, default
attribute(s) are taken from
2008-01-17 06:18:18 +03:00
.I SourceVolumeGroupName\fP.
If
.I DestinationVolumeGroupName
does exist, it will be checked for compatibility with
.I SourceVolumeGroupName
2008-01-22 05:48:53 +03:00
before the physical volumes are moved. Specifying any of the above default
volume group attributes with an existing destination volume group is an error,
and no split will occur.
2008-01-17 06:18:18 +03:00
2003-11-14 19:17:55 +03:00
Logical Volumes cannot be split between Volume Groups.
2008-01-12 00:43:16 +03:00
Each existing Logical Volume must be entirely on the Physical Volumes forming
either the source or the destination Volume Group.
2003-11-14 19:17:55 +03:00
.SH OPTIONS
See \fB lvm\fP for common options.
.SH SEE ALSO
.BR lvm (8),
.BR vgcreate (8),
.BR vgextend (8),
.BR vgreduce (8),
.BR vgmerge (8)