Dynamic Root Disk: Quick Start & Best Practices

22
# /usr/sbin/lvcreate -L 2048 -C y -r n -n swap drd00
9. Remove the old dump device from drd00:
# /usr/sbin/lvrmboot -v -d lvol2 /dev/drd00
10. Create the new dump device:
# /usr/sbin/lvlnboot -d /dev/drd00/swap
11. Remove the old swap device:
# /usr/sbin/lvrmboot -s /dev/drd00
12. Add the new swap device:
# /usr/sbin/lvlnboot -s /dev/drd00/swap
13. Verify the changes:
# /usr/sbin/lvlnboot -v
14. Remove /dev/drd00/lvol2:
# /usr/sbin/lvremove -f /dev/drd00/lvol2
15. Using the values you determined in Step 5 above, extend /dev/drd00/lvol1 the volume
where /stand is mounted. For example, the following command expands /dev/drd00/lvol1
to 150 extents:
# /usr/sbin/lvextend -l 150 /dev/drd00/lvol1
16. Unmount /dev/dr00/lvol1 so that the file system can be extended:
# /usr/sbin/umount /dev/drd00/lvol1
17. Use extendfs to extend the /stand file system on the inactive system image. Note that the
character device file must be specified, and that the argument of -F is the file system type.
# /usr/sbin/extendfs -F hfs /dev/drd00/rlvol1
18. Re-mount /drd00/lvol1:
# /usr/sbin/mount /dev/drd00/lvol1 /var/opt/drd/mnts/sysimage_001/stand
19. Make the newly expanded logical volume a boot volume:
# /usr/sbin/lvlnboot -b lvol1 /dev/drd00