{"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":"
\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 |