HP StorageWorks HP-UX Kit V3.0B for Enterprise Virtual Array Installation and Configuration Guide (AA-RUHKB-TE, October 2003)

Additional Host Considerations
37HP-UX Kit V3.0B for Enterprise Virtual Array Installation and Configuration Guide
Note: As with any large-scale operation, it is always best to first create a backup of
your data.
Offline Volume Expansion Workaround
1. Stop all applications using the virtual disk.
2. Copy all existing data to a safe location.
3. Unmount the virtual disk:
# umount /data1
4. Disable the volume group:
# vgchange –a n /dev/vg01
5. Create a new virtual disk by using Command View EVA.
6. Verify the creation of the virtual disk and note the device number. In this
example, the device number displayed by the ioscan command is
/dev/dsk/c32t0d2.
# ioscan –fnC disk
7. Create the physical volume.
# pvcreate –f /dev/rdsk/c32t0d2
8. Extend the volume group.
# vgextend –f /dev/vg01 /dev/dsk/c32t0d2
9. Extend the logical volume:
# lvextend –L 2000 /dev/vg01/lvol1
This example extends the volume to 2000 megabytes
10. Extend the file system size to the logical volume size:
# extendfs /dev/vg01/rlvol1
11. Verify the file system. For example:
# fsck /dev/vg01/rlvol1
12. Mount the file system to complete the operation. For example:
# mount /dev/vg01/lvol1 /data1