Encrypted Volume and File System v2.2 Administrator Guide (777846-001, April 2014)

:
# bdf /test5
Filesystem kbytes used avail %used Mounted on
/dev/evfs/vg01/lvol5
65016 1125 59905 2% /test5
# umount /test5
# lvextend -L 112 /dev/vg01/lvol5
Logical volume "/dev/vg01/lvol5" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in
/etc/lvmconf/vg01.conf
# lvdisplay /dev/vg01/lvol5
--- Logical volumes ---
LV Name /dev/vg01/lvol5
VG Name /dev/vg01
:
:
LV Size (Mbytes) 112
:
:
# extendfs -F vxfs -s 48648 /dev/evfs/vg01/rlvol5
# mount -F vxfs /dev/evfs/vg01/lvol5 /test5
# bdf /test5
Filesystem kbytes used avail %used Mounted on
/dev/evfs/vg01/lvol5
113664 1141 105498 1% /test5
Incorrect
When calculating the number of Kbytes available for the file system, the user does not reserve
space for the EVFS EMD. The LVM is 112 Mbytes = 114688 Kbytes. The user attempts to increase
the current file system size, 65016 Kbytes, by 49672 Kbytes to use all available space on the
LVM for the file system (114688 – 65016 = 49672).
# extendfs -F vxfs -s 49672 /dev/evfs/vg01/rlvol5
# vxfs extendfs: New size (114688 blocks) beyond device capacity (114168 blocks).
Resizing EVS volumes and file systems 77