File Systems

File Systems:

Default rootvg filesystems
hd1 - /home
hd2 - /usr
hd3 - /tmp
hd4 - /
hd5 - Boot logical volume
hd6 - paging space
hd8 - log device
hd9var - /var
hd10opt - /opt

Remove mount point entry and the LV for /mymount
rmfs /mymount (Add -r to remove mount point)

Grow the /var filesystem by 1 Gig
chfs -a size=+1G /var

Find the file usage on a filesystem
du -smx /

List filesystems in a grep-able format
lsfs

Create a log device on datavg VG
mklv -t jfs2log -y datalog1 datavg 1

Format the log device just created
logform /dev/datalog1

Format the log device associated with the fs on LV datalv1
logform /dev/datalv1

No comments:

Post a Comment