{"id":80101,"date":"2023-10-05T05:51:05","date_gmt":"2023-10-04T21:51:05","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=80101"},"modified":"2023-10-05T05:51:05","modified_gmt":"2023-10-04T21:51:05","slug":"how-used-xfs","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/how-used-xfs.html","title":{"rendered":"\u7ecf\u9a8c\u5206\u4eab\uff0c\u5982\u4f55\u6269\u5c55XFS\u6587\u4ef6\u7cfb\u7edf !"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u6211\u7684\u78c1\u76d8\u4e0a\u6709\u989d\u5916\u7684\u7a7a\u95f4\uff0c\u6240\u4ee5\u6211\u60f3\u8981\u6269\u5c55\u5176\u4e0a\u521b\u5efa\u7684\u73b0\u5b58\u7684XFS\u6587\u4ef6\u7cfb\u7edf\uff0c\u4ee5\u5b8c\u5168\u4f7f\u7528\u989d\u5916\u7a7a\u95f4\u3002\u600e\u6837\u624d\u662f\u6269\u5c55XFS\u6587\u4ef6\u7cfb\u7edf\u7684\u6b63\u786e\u9014\u5f84\uff1f<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
\u4ec0\u4e48\u662fXFS<\/strong><\/div>\n

XFS\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\uff08GPL\uff09\u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf\uff0c\u6700\u521d\u7531\u7845\u8c37\u56fe\u5f62\uff08SGI\uff09\u5f00\u53d1\uff0c\u73b0\u5728\u5927\u591a\u6570\u7684Linux\u53d1\u884c\u7248\u90fd\u652f\u6301\u3002\u4e8b\u5b9e\u4e0a\uff0cXFS\u5df2\u88ab\u6700\u65b0\u7684CentOS\/RHEL 7\u91c7\u7528\uff0c\u6210\u4e3a\u5176\u9ed8\u8ba4\u7684\u6587\u4ef6\u7cfb\u7edf\u3002\u5728\u5176\u4f17\u591a\u7684\u7279\u6027\u4e2d\uff0c\u5305\u542b\u4e86\u201c\u5728\u7ebf\u8c03\u6574\u5927\u5c0f\u201d\u8fd9\u4e00\u7279\u6027\uff0c\u4f7f\u5f97\u73b0\u5b58\u7684XFS\u6587\u4ef6\u7cfb\u7edf\u5728\u5df2\u7ecf\u6302\u8f7d\u7684\u60c5\u51b5\u4e0b\u53ef\u4ee5\u8fdb\u884c\u6269\u5c55\u3002\u7136\u800c\uff0c\u5bf9\u4e8eXFS\u6587\u4ef6\u7cfb\u7edf\u7684\u7f29\u51cf\u5374\u8fd8\u6ca1\u6709\u652f\u6301\u3002<\/p>\n

\"\"<\/p>\n

\u6269\u5c55XFS<\/strong><\/div>\n

\u8981\u6269\u5c55\u4e00\u4e2a\u73b0\u5b58\u7684XFS\u6587\u4ef6\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177xfs_growfs\uff0c\u8fd9\u5728\u5927\u591a\u6570Linux\u53d1\u884c\u7248\u4e0a\u90fd\u9ed8\u8ba4\u53ef\u7528\u3002\u7531\u4e8eXFS\u652f\u6301\u5728\u7ebf\u8c03\u6574\u5927\u5c0f\uff0c\u76ee\u6807\u6587\u4ef6\u7cfb\u7edf\u53ef\u4ee5\u6302\u5728\uff0c\u4e5f\u53ef\u4ee5\u4e0d\u6302\u8f7d\u3002<\/p>\n

\u4e0b\u9762\u5c55\u793a\u4e86xfs_growfs\u7684\u57fa\u672c\u7528\u6cd5\uff1a<\/p>\n

\"\"<\/p>\n

\u4f5c\u4e3a\u76ee\u6807XFS\u6587\u4ef6\u7cfb\u7edf\u6765\u6269\u5c55\uff0c\u4f60\u53ef\u4ee5\u6307\u5b9a\u6302\u8f7d\u70b9\u3001\u78c1\u76d8\u5206\u533a\u6216\u8005\u903b\u8f91\u5377\uff08\u5728\u4f7f\u7528LVM\u65f6\uff09\uff0c\u4f7f\u7528\u6570\u636e\u5757\u6570\u91cf\u6765\u6307\u5b9a\u65b0\u7684XFS\u6587\u4ef6\u7cfb\u7edf\u7684\u5927\u5c0f\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528xfs_info\u547d\u4ee4\u884c\u5de5\u5177\u6765\u68c0\u67e5\u6570\u636e\u5757\u5927\u5c0f\u548c\u6570\u91cf\uff1a<\/p>\n

\"\"<\/p>\n

\u8981\u5c06XFS\u6587\u4ef6\u6269\u5c55\u52301986208\uff1a<\/p>\n

$ sudo xfs_growfs \/dev\/centos\/root -D 1986208<\/pre>\n

\u5982\u679c\u4f60\u4e0d\u4f7f\u7528\u201c-D\u201d\u9009\u9879\u6765\u6307\u5b9a\u5927\u5c0f\uff0cxfs_growfs\u5c06\u4f1a\u81ea\u52a8\u6269\u5c55XFS\u6587\u4ef6\u7cfb\u7edf\u5230\u6700\u5927\u7684\u53ef\u7528\u5927\u5c0f\u3002<\/p>\n

$ sudo xfs_growfs \/dev\/centos\/root<\/pre>\n

\"\"<\/p>\n

\u6ce8\u610f\uff0c\u5f53\u4f60\u6269\u5c55\u4e00\u4e2a\u73b0\u5b58\u7684XFS\u6587\u4ef6\u7cfb\u7edf\u65f6\uff0c\u5fc5\u987b\u51c6\u5907\u597d\u4e8b\u5148\u6dfb\u52a0\u7528\u4e8eXFS\u6587\u4ef6\u7cfb\u7edf\u6269\u5c55\u7684\u7a7a\u95f4\u3002\u8fd9\u867d\u7136\u662f\u5f88\u663e\u7136\u7684\u4e8b\uff0c\u4f46\u662f\u5982\u679c\u5728\u6240\u5728\u7684\u5206\u533a\u6216\u78c1\u76d8\u5377\u4e0a\u6ca1\u6709\u7a7a\u95f2\u7a7a\u95f4\u53ef\u7528\u7684\u8bdd\uff0cxfsgrowfs\u5c31\u6ca1\u6709\u529e\u6cd5\u4e86\u3002\u540c\u65f6\uff0c\u5982\u679c\u4f60\u5c1d\u8bd5\u6269\u5c55XFS\u6587\u4ef6\u7cfb\u7edf\u5927\u5c0f\u5230\u8d85\u8fc7\u78c1\u76d8\u5206\u533a\u6216\u5377\u7684\u5927\u5c0f\uff0cxfsgrowfs\u5c06\u4f1a\u5931\u8d25\u3002<\/p>\n

\"\"<\/p>\n


\n

via: http:\/\/ask.xmodulo.com\/expand-xfs-file-system.html<\/a><\/p>\n

\u8bd1\u8005\uff1aGOLinux<\/a> \u6821\u5bf9\uff1awxy<\/a><\/p>\n

\u672c\u6587\u7531 LCTT<\/a> \u539f\u521b\u7ffb\u8bd1\uff0cLinux\u4e2d\u56fd<\/a> \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-3997-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttp:\/\/lrxjmw.cn\/how-used-xfs.html<\/a>\u7f16\u8f91\uff1a\u5f20@\u5b87\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u6211\u7684\u78c1\u76d8\u4e0a\u6709\u989d\u5916\u7684\u7a7a\u95f4\uff0c\u6240\u4ee5\u6211\u60f3\u8981\u6269\u5c55\u5176\u4e0a\u521b\u5efa\u7684\u73b0\u5b58\u7684XFS\u6587\u4ef6\u7cfb\u7edf\uff0c\u4ee5\u5b8c\u5168\u4f7f\u7528\u989d\u5916\u7a7a\u95f4\u3002\u600e\u6837\u624d\u662f\u6269\u5c55X […]<\/p>\n","protected":false},"author":310,"featured_media":80125,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-80101","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/80101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/310"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=80101"}],"version-history":[{"count":10,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/80101\/revisions"}],"predecessor-version":[{"id":80505,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/80101\/revisions\/80505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/80125"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=80101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=80101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=80101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}