ufserver[/]#lsfs 查看系统中定义的各种文件想
ufserver[/]#lsfs
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd4 -- / jfs2 2097152 -- yes no
/dev/hd1 -- /home jfs2 16777216 -- yes no
/dev/hd2 -- /usr jfs2 10485760 -- yes no
/dev/hd9var -- /var jfs2 1048576 -- yes no
/dev/hd3 -- /tmp jfs2 2097152 -- yes no
/proc -- /proc procfs -- -- yes no
/dev/hd10opt -- /opt jfs2 9437184 -- yes no
/dev/fwdump -- /var/adm/ras/platform jfs2 262144 -- no no
/dev/db2_tag -- /db2_tag jfs2 81526784 rw yes no
/dev/db2_log -- /db2_log jfs2 4194304 rw yes no
/dev/db2_backup -- /db2_backup jfs2 10485760 rw yes no
/dev/ora10g -- /ora10g jfs2 39321600 rw yes no
/dev/db2data -- /db2data jfs2 92274688 rw yes no
ufserver[/]#lsfs -q查看文件系统的超级块中查询碎片大小,压缩规则和NBPI参数
显示特定于文件系统类型的附加的日志文件系统(JFS)或增强日志文件系统(JFS2)特征。
对于其他虚拟文件系统类型来说,不会报告这些信息。显示时还包括 lsfs 命令报告的其他文件系统特征。
ufserver[/]#lsfs -q
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd4 -- / jfs2 2097152 -- yes no
(lv size: 2097152, fs size: 2097152, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/hd1 -- /home jfs2 16777216 -- yes no
(lv size: 16777216, fs size: 16777216, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/hd2 -- /usr jfs2 10485760 -- yes no
(lv size: 10485760, fs size: 10485760, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/hd9var -- /var jfs2 1048576 -- yes no
(lv size: 1048576, fs size: 1048576, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/hd3 -- /tmp jfs2 2097152 -- yes no
(lv size: 2097152, fs size: 2097152, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/hd10opt -- /opt jfs2 9437184 -- yes no
(lv size: 14680064, fs size: 9437184, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/ora10g -- /ora10g jfs2 39321600 rw yes no
(lv size: 39321600, fs size: 39321600, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
/dev/db2data -- /db2data jfs2 92274688 rw yes no
(lv size: 92274688, fs size: 92274688, block size: 4096, sparse files: yes, inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, VIX: no)
ufserver[/]#lsfs -c 查看/etc/systemfiles 中的内容,只是以 ":" 作为分割符
ufserver[/]#lsfs -c
#MountPoint:Device:Vfs:Nodename:Type:Size:Options:AutoMount:Acct
/:/dev/hd4:jfs2::bootfs:2097152:rw:yes:no
/home:/dev/hd1:jfs2:::16777216:rw:yes:no
/usr:/dev/hd2:jfs2::bootfs:10485760:rw:yes:no
/var:/dev/hd9var:jfs2::bootfs:1048576:rw:yes:no
/tmp:/dev/hd3:jfs2:::2097152:rw:yes:no
/proc:/proc:procfs:::0:rw:yes:no
/opt:/dev/hd10opt:jfs2:::9437184:rw:yes:no
/var/adm/ras/platform.:/dev/fwdump:jfs2:::262144:rw:no:no
/db2_tag:/dev/db2_tag:jfs2:::81526784:rw:yes:no
/db2_log:/dev/db2_log:jfs2:::4194304:rw:yes:no
/db2_backup:/dev/db2_backup:jfs2:::10485760:rw:yes:no
/ora10g:/dev/ora10g:jfs2:::39321600:rw:yes:no
/db2data:/dev/db2data:jfs2:::92274688:rw:yes:no
ufserver[/]#