Filesystem layout

From Stuff!
Jump to: navigation, search

Filesystems

hd1 /home
hd2 /usr
hd3 /tmp
hd4 / root
hd5 BLV (Boot Logical Volume)
hd6 Paging space
hd8 JFS2 log
hd9var /var
hd10opt /opt
hd11admin /admin New in 6.1
livedump /var/adm/ras/livedump New in 6.1 TL3
/proc procfs pseudo filesystem


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

Grow the /var filesystem to 1 Gig

chfs -a size=1G /var

Find the file usage on a filesystem

du -smx /

List filesystems in a grep-able format

lsfs

Get extended information about the /home filesystem

lsfs -q /home

Create a log device on datavg VG

mklv -t jfs2log -y datalog1 datavg 1

Format the log device just created

logform /dev/datalog1