- A subdisk is a subsection of a disk's
public region and is the smallest unit of storage in Volume
Manager.
- A subdisk is defined by an offset and a
length in sectors on a volume manager disk.
- A volume manager disk can contain
multiple subdisks, but subdisks cannot overlap or share the same portions
of a volume manager disk.
- Volume manager disk space that is not
reserved or that is not part of a subdisk is free space. You can use free
space to create new subdisks.
Creating a Subdisk
# vxmake –g
<diskgroup> sd disk1-01 disk1,0,100m
This would
create a sub-disk called disk1-01 at the start of disk disk01 and would be 100m
long.
If you want
to create another sub-disk on the same disk (disk01) the offset would be 100m
as this is where the next freespace would be on the disk. So
# vxmake –g
<diskgroup> sd disk01-02 disk1,100m,100m
This would create another 100m subdisk.
# vxedit rm <sub-disk>
# vxsd mv <old
sub-disk> <new sub-disk>
# vxmake plex <plex>
sd=<sub-disk>
# vxmake plex home-1
sd=disk02-01, disk02-00, disk02-02
# vxsd dis <sub-disk>
# vxsd –s<size> split
sd<new sub><newsub2>
# vxsd join
<subdisk1><subdisk2><newsubdisk>
No comments:
Post a Comment