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

HP-UX Handbook Rev 13.00 Page 13 (of 47)
Chapter 14 Journaled File System (JFS)
October 29, 2013
# touch /<moutpoint>/quotas (must be owned by root)
setting quotalimits for a via edquota (can be used like vi)user:
#edquota <username>
e.g.
fs /home blocks (soft = 10, hard = 20) inodes (soft = 10, hard = 20)
fs / blocks (soft = 10, hard = 20) inodes (soft = 10, hard = 20)
edit the limits
#quotaon
#quotacheck <mountpoint>
#quota v <username> to display the quotas
Example:
# quota -v darrit
Disk quotas for darrit (uid 103):
File system usage quota limit timeleft files quota limit timeleft
/home 7 10 20 7 10 20
The quotas can also be turned on by the mount options
#mount F vxfs o quota /dev/vgXX/lvolY/ /mountpoint
To turn off quota use
# quotaoff
Online backup
VxFS provides online data backup using the snapshot feature. An image of a mounted file
system instantly becomes an exact read-only copy of the file system at a specific point in time.
The original file system is called the snapped file system, the copy is called the snapshot.
When changes are made to the snapped file system, the old data is copied to the snapshot. When
the snapshot is read, data that has not changed is read from the snapped file system, changed data
is read from the snapshot.
Backups require one of the following methods:
Copying selected files from the snapshot file system (using find and cpio)
Backing up the entire file system (using fscat)
Initiating a full or incremental backup (using vxdump)