{"id":7773,"date":"2020-05-24T09:43:16","date_gmt":"2020-05-24T01:43:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7773"},"modified":"2023-05-01T09:06:54","modified_gmt":"2023-05-01T01:06:54","slug":"xfs-info","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/xfs-info","title":{"rendered":"xfs_info\u547d\u4ee4 &#8211; \u67e5\u770bXFS\u7c7b\u578b\u8bbe\u5907\u8be6\u60c5"},"content":{"rendered":"\n<p>xfs_info\u547d\u4ee4\u6765\u81ea\u82f1\u6587\u8bcd\u7ec4\u201cXFS information\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u770bXFS\u6587\u4ef6\u7cfb\u7edf\u8be6\u60c5\u3002\u8fd9\u662f\u4e00\u4e2a\u8d85\u7b80\u5355\u7684\u547d\u4ee4\uff0c\u5e38\u89c1\u7684\u7528\u6cd5\u662f\u76f4\u63a5\u8ffd\u52a0\u8bbe\u5907\u7684\u540d\u79f0\uff0c\u5373\u53ef\u770b\u5230\u6307\u5b9aXFS\u8bbe\u5907\u7684\u8be6\u60c5\u4e86\u3002<\/p>\n\n\n\n<p><strong>\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>xfs_info [\u53c2\u6570] \u8bbe\u5907\u540d<\/p>\n\n\n\n<p><strong>\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>-d<\/td><td>\u8bbe\u7f6e\u5e94\u589e\u957f\u6587\u4ef6\u7cfb\u7edf\u7684\u6570\u636e\u90e8\u5206<\/td><\/tr><tr><td>-e<\/td><td>\u8bbe\u7f6e\u5b9e\u65f6\u8303\u56f4\u5927\u5c0f<\/td><\/tr><tr><td>-L<\/td><td>\u8bbe\u7f6e\u5c3a\u5bf8<\/td><\/tr><tr><td>-n<\/td><td>\u8bbe\u7f6e\u4e0d\u66f4\u6539\u6587\u4ef6\u7cfb\u7edf<\/td><\/tr><tr><td>-r<\/td><td>\u8bbe\u7f6e\u5e94\u589e\u957f\u6587\u4ef6\u7cfb\u7edf\u7684\u5b9e\u65f6\u90e8\u5206<\/td><\/tr><tr><td>-t<\/td><td>\u8bbe\u7f6e\u5907\u7528\u88c5\u8f7d\u8868\u6587\u4ef6<\/td><\/tr><tr><td>-V<\/td><td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>\u53c2\u8003\u793a\u4f8b<\/strong><\/p>\n\n\n\n<p>\u67e5\u770b\u6307\u5b9aXFS\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]# <strong>xfs_info \/dev\/vda1<\/strong>\nmeta-data=\/dev\/vda1              isize=512    agcount=17, agsize=1310656 blks\n         =                       sectsz=512   attr=2, projid32bit=1\n         =                       crc=1        finobt=1, sparse=1, rmapbt=0\n         =                       reflink=1    bigtime=0 inobtcount=0\ndata     =                       bsize=4096   blocks=20971259, imaxpct=25\n         =                       sunit=0      swidth=0 blks\nnaming   =version 2              bsize=4096   ascii-ci=0, ftype=1\nlog      =internal log           bsize=4096   blocks=2560, version=2\n         =                       sectsz=512   sunit=0 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0<\/pre>\n\n\n\n<p>\u67e5\u770b\u547d\u4ee4\u5de5\u5177\u81ea\u8eab\u7684\u7248\u672c\u53f7\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@linuxcool ~]<strong># xfs_info -V<\/strong>\nxfs_info version 5.0.0<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>xfs_info\u547d\u4ee4\u6765\u81ea\u82f1\u6587\u8bcd\u7ec4\u201cXFS information\u201d\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u67e5\u770bXFS\u6587\u4ef6\u7cfb\u7edf\u8be6\u60c5\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7773","post","type-post","status-publish","format-standard","hentry","category-file"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7773"}],"version-history":[{"count":15,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7773\/revisions"}],"predecessor-version":[{"id":14535,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7773\/revisions\/14535"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}