1. 首页
  2. IT资讯

【AIX 命令学习】lsfs 查看显示文件系统信息

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[/]#

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/223653/viewspace-1766057/,如需转载,请注明出处,否则将追究法律责任。

主题测试文章,只做测试使用。发布者:℅傍ㄖ免沦陷dε鬼,转转请注明出处:http://www.cxybcw.com/192667.html

联系我们

13687733322

在线咨询:点击这里给我发消息

邮件:1877088071@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息

QR code