Dynamic Root Disk: Quick Start & Best Practices

21
Root: lvol3 on: /dev/disk/disk6_p2
Swap: lvol2 on: /dev/disk/disk6_p2
Dump: lvol2 on: /dev/disk/disk6_p2, 0
Boot Definitions for Volume Group /dev/drd00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk7_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk7_p2
Root: lvol3 on: /dev/disk/disk7_p2
Swap: lvol2 on: /dev/disk/disk7_p2
Dump: lvol2 on: /dev/disk/disk7_p2, 0
6.
Execute the following command and note the size of both lvol1 (/stand) and lvol2 (swap),
the physical extent (PE) size, and the number of free extents on the disk.
# /usr/sbin/vgdisplay -v | more
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4350
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 3452
Free PE 888
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 300
Current LE 75
Allocated PE 75
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 1024
Current LE 256
Allocated PE 256
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c1t15d0
PV Status available
Total PE 4340
Free PE 888
Autoswitch On
7. Based on the sizes above, decide how much space you want to allocate to the new swap logical
volume, and how much space currently in lvol2 you want to assign to /stand.
8. Create a new logical volume for swap. The extents for swap must be contiguous and non-
relocatable. For example, to assign 2 GB to a new logical volume to be used for swap, you
would use the following command: