HP-UX HB v13.00 Ch-14 - JFS

HP-UX Handbook Rev 13.00 Page 44 (of 47)
Chapter 14 Journaled File System (JFS)
October 29, 2013
f_files: 3920
f_ffree: 4656
f_favail: 4656
f_fsid: 1073741829
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16 <= Largefiles
f_fsindex: 5
f_size: 20480
Features that are Treated Differently between
JFS and OnlineJFS
Extension of a file system
Base JFS
# umount <mountpoint>
# lvextend L <n> /dev/vgXX/lvolX -L <n> set new size of lvol to n MB
# extendfs F vxfs /dev/vgXX/rlvolX
# mount <mountpoint>
Online JFS
# lvextend L <n> /dev/vgXX/lvolX -L <n> set new size of lvol to n MB
# fsadm F vxfs b <n> <mountpoint> -b <n> set new file system size to n KB
Reduction of a file system
Base JFS
Before reduction a backup of the data must be done otherwise the data will be lost
# umount <mountpoint>
# lvreduce -L <n> /dev/vgXX/lvolX -L <n> set new size of lvol to n MB