Lists all filesystems in the /etc/filesystems entry:
# lsfsList all filesystems with detailed info:
# lsfs -qTo list all filesystems (default):
# lsfs -aSpecify the output in list format:
# lsfs -lSpecify the output in column format:
# lsfs -cLists all jfs2 filesystems:
# lsfs -v jfs2Change size of FS /blah to 49152 x 512 bytes blocks (24 MB):
# chfs -a size=49152 /blahAdd 49152 x 512 byte blocks to FS /blah:
# chfs -a size=+49152 /blahChange the mount point from /blah to /blah-bkp:
# chfs -m /blah /blah-bkpTo auto mount the filesystem blah:
# chfs -A /blahRemove account attribute of /blah. ( from /etc/filesystems):
# chfs -d account /blahThis will mount the 2nd copy of mirrored filesystem /www to /backup in read-only mode:
# chfs -a splitcopy=/backup -a copy=2 /wwwCreates FS /blah of type jfs2 in VG testvg of blocksize 128930:
# crfs -v jfs2 -g leetvg -a size=128930 -m /blahCreate FS /blah of type jfs on device /dev/lv_blah:
# crfs -v jfs2 -d /dev/lv_blah -m /blahEnable Cio on a filesystem:
# chfs -a options=rw,cio /blahDeletes FS /blah and associated LV:
# rmfs /blahDeletes FS /blah its mount point and associated LV:
# rmfs -r /blahTo defragment the file system /blah:
# defragfs /blahDisplay the current defrag status of the file system:
# defragfs -q /blahTo fsck the filesystem associated to /dev/lv00 assuming response "yes":
# fsck -y n /dev/lv007To restore superblock from backup superblock:
# fsck -p /dev/lv007- Log in to post comments
- 19734 views