{"id":95,"date":"2023-02-15T13:11:21","date_gmt":"2023-02-15T04:11:21","guid":{"rendered":"https:\/\/hmhr.ath.cx\/?p=95"},"modified":"2023-04-23T00:58:38","modified_gmt":"2023-04-22T15:58:38","slug":"xfs%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"post","link":"https:\/\/hmhr.ath.cx\/?p=95","title":{"rendered":"xfs\u3092\u4f7f\u3063\u3066\u307f\u308b"},"content":{"rendered":"\n<p>\u3082\u3068\u3082\u3068xfs\u3092\u4f7f\u3044\u59cb\u3081\u305f\u306e\u306f\u3001\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u6271\u3044\u306b\u9577\u3051\u3066\u3044\u308b\u3068\u4f55\u51e6\u304b\u3067\u307f\u3066\u4f7f\u7528\u76ee\u7684\u3068\u3042\u3063\u3066\u3044\u305f\u306e\u3067\u4f7f\u3044\u59cb\u3081\u305f\u3002<br>\u3082\u3057\u3001\u4ed6\u306b\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u306b\u9069\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u308c\u3070\u30b3\u30e1\u30f3\u30c8\u304f\u3060\u3055\u3044\u3002<br>\u6700\u8fd1\u3067\u306fRedHat\u7cfb\u306fxfs\u3092\u4f7f\u3063\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/h2>\n\n\n\n<p>xfs\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b\u306b\u306fxfsprogs\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u5fc5\u8981\u3068\u306a\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo apt install xfsprogs\n<\/pre><\/div>\n\n\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo mkfs -t xfs -s size=4096 -i size=512 \/dev\/sdc1\nmeta-data=\/dev\/sdc1              isize=512    agcount=32, agsize=22892696 blks\n         =                       sectsz=4096  attr=2, projid32bit=0\ndata     =                       bsize=4096   blocks=732566272, imaxpct=5\n         =                       sunit=0      swidth=0 blks\nnaming   =version 2              bsize=4096   ascii-ci=0\nlog      =internal log           bsize=4096   blocks=357698, version=2\n         =                       sectsz=4096  sunit=1 blks, lazy-count=1\nrealtime =none                   extsz=4096   blocks=0, rtextents=0\n<\/pre><\/div>\n\n\n<p>\u4eca\u56de\u8ffd\u52a0\u3057\u305fHDD\u306f\/dev\/sdc\u3060\u3063\u305f\u306e\u3067\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3068\u306a\u308b\u3002<br>-s size=4096\u306f\u30bb\u30af\u30bf\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u3066\u3044\u308b\u3002\u3053\u306e\u30bb\u30af\u30bf\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067AFT\u306b\u5bfe\u5fdc\u3067\u304d\u308b\u3002<br>-i size=512\u3067i node\u306e\u30b5\u30a4\u30ba\u3092\u5c11\u3057\u5927\u304d\u304f\u3057\u305f\u304c\u3001\u7d30\u304b\u3044\u30d5\u30a1\u30a4\u30eb\u304c\u6ca2\u5c71\u4fdd\u5b58\u3055\u308c\u308bHDD\u3067\u306f\u306a\u304f\u3001\u5927\u304d\u306a\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u76ee\u7684\u3060\u3063\u305f\u306e\u3067\u4e0d\u8981\u3060\u3063\u305f\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30dc\u30ea\u30e5\u30fc\u30e0\u30e9\u30d9\u30eb<\/h3>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6642\u306b<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n-L &quot;volname&quot;\n<\/pre><\/div>\n\n\n<p>\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3068\u30dc\u30ea\u30e5\u30fc\u30e0\u30e9\u30d9\u30eb\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo xfs_admin -l \/dev\/sdc1\n<\/pre><\/div>\n\n\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u6307\u5b9a\u3057\u305f\u30c7\u30d0\u30a4\u30b9\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u30e9\u30d9\u30eb\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30de\u30a6\u30f3\u30c8\u3059\u308b<\/h2>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo mount -t xfs \/dev\/sdc1 \/mnt\/sdc1\n<\/pre><\/div>\n\n\n<p>\u307e\u305f\u3001fstab\u306b\u66f8\u3044\u3066\u304a\u3051\u3070\/dev\/sdc1\u3060\u3051\u5f15\u6570\u306b\u3059\u308c\u3070\u30de\u30a6\u30f3\u30c8\u3067\u304d\u308b\u3002<br>UUID\u3092\u8abf\u3079\u3066fstab\u306b\u8ffd\u8a18\u3059\u308b\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#UUID\u3092\u8abf\u3079\u308b\nls -l \/dev\/disk\/by-uuid\/\n\n#\/etc\/fstab\u306b\u4e0b\u8a18\u8ffd\u52a0\nUUID=&lt;\u8abf\u3079\u305fUUID&gt; \/mnt\/sdb1       xfs    defaults         0       0\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u3082\u3068\u3082\u3068xfs\u3092\u4f7f\u3044\u59cb\u3081\u305f\u306e\u306f\u3001\u5927\u304d\u3044\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306e\u6271\u3044\u306b\u9577\u3051\u3066\u3044\u308b\u3068\u4f55\u51e6\u304b\u3067\u307f\u3066\u4f7f\u7528\u76ee\u7684\u3068\u3042\u3063\u3066\u3044\u305f\u306e\u3067\u4f7f\u3044\u59cb\u3081\u305f\u3002\u3082\u3057\u3001\u4ed6\u306b\u5927\u5bb9\u91cf\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u306b\u9069\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u308c\u3070\u30b3\u30e1\u30f3\u30c8\u304f\u3060\u3055\u3044\u3002\u6700\u8fd1\u3067\u306fRedHat &hellip; <a href=\"https:\/\/hmhr.ath.cx\/?p=95\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">xfs\u3092\u4f7f\u3063\u3066\u307f\u308b<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":4,"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/128"}],"wp:attachment":[{"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hmhr.ath.cx\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}