VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Chapter 5, Creating and Administering Subdisks
Splitting Subdisks
141
For the subdisk move to work correctly, the following conditions must be met:
◆ The subdisks involved must be the same size.
◆ The subdisk being moved must be part of an active plex on an active (ENABLED)
volume.
◆ The new subdisk must not be associated with any other plex.
See “Configuring Hot-Relocation to Use Only Spare Disks” on page 238 for information
about manually relocating subdisks after hot-relocation.
Splitting Subdisks
Splitting a subdisk divides an existing subdisk into two separate subdisks. To split a
subdisk, use the following command:
# vxsd –s size split subdisk newsd1 newsd2
where subdisk is the name of the original subdisk, newsd1 is the name of the first of the
two subdisks to be created and newsd2 is the name of the second subdisk to be created.
The –s option is required to specify the size of the first of the two subdisks to be created.
The second subdisk occupies the remaining space used by the original subdisk.
If the original subdisk is associated with a plex before the task, upon completion of the
split, both of the resulting subdisks are associated with the same plex.
To split the original subdisk into more than two subdisks, repeat the previous command
as many times as necessary on the resulting subdisks.
For example, to split subdisk disk03-02, with size 2000 megabytes into subdisks
disk03-02, disk03-03, disk03-04 and disk03-05, each with size 500 megabytes,
use the following commands:
# vxsd -s 1000m split disk03-02 disk03-02 disk03-04
# vxsd -s 500m split disk03-02 disk03-02 disk03-03
# vxsd -s 500m split disk03-04 disk03-04 disk03-05
Joining Subdisks
Joining subdisks combines two or more existing subdisks into one subdisk. To join
subdisks, the subdisks must be contiguous on the same disk. If the selected subdisks are
associated, they must be associated withthe same plex, and be contiguous inthat plex. To
join several subdisks, use the following command:
# vxsd join subdisk1 subdisk2 ... new_subdisk