VERITAS Volume Manager 3.1 Administrator's Guide
Volume Tasks
Creating Subdisks
Chapter 6 275
Creating Subdisks
You can use the vxmake command to create Volume Manager objects,
such as subdisks. To create a subdisk, specify the following criteria:
name of the subdisk
• length of the subdisk
• starting point (offset) of the subdisk within the disk
• disk media name
To create a subdisk, use the following command:
# vxmake sd
subdisk_name disk
,
offset
,
len
For example, to create a subdisk named disk02-01 that starts at the
beginning of disk disk02 and has a length of 8000 sectors, use the
following command:
# vxmake sd disk02-01 disk02,0,8000
By default, Volume Manager commands take sizes in sectors. Adding a
suffix (such as k, m, or g) changes the unit of size.
If you intend to use the new subdisk to build a volume, you must
associate the subdisk with a plex (see “Associating Subdisks”). Subdisks
for all plex layouts (concatenated, striped, RAID-5) are created the same
way.