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

HP-UX Handbook Rev 13.00 Page 47 (of 47)
Chapter 14 Journaled File System (JFS)
October 29, 2013
is allocated until the final close of the file, when any space not used by the file is freed. The
temporary reservation is not visible to the user
trim: Specify that the reservation is reduced to the current file size after the last close by all
processes that have the file open
The extend Attributes can either be seen by the following commands
# getext <filename>
or
# ls -le
Creation of a snapshot
1) Creation of a snapshot LV and file systems (should be 10-20% of the snapped file system):
# lvcreate L 80 n lvsnap vgXX L size of lvol n name of lvol
# mount F vxfs o snapof=/org_vol /dev/lvsnap /aux_dir /org_vol = file system,
which has to backed up /aux_dir = auxiliary directory for mounting snapshot
2) Backup from snapshot file system
# cd /aux_dir
# tar cvf /dev/rmt/0m or
# find . | cpio ocvx >/dev/rmt/0m
3) Umount the snapshot
# umount /aux_dir