{"id":814,"date":"2024-01-13T15:30:18","date_gmt":"2024-01-13T06:30:18","guid":{"rendered":"https:\/\/intinfinity.com\/?p=814"},"modified":"2024-01-13T15:30:18","modified_gmt":"2024-01-13T06:30:18","slug":"btrfs-%e3%82%b7%e3%83%b3%e3%82%b0%e3%83%ab-%e3%81%aahdd%e3%81%a7%e4%b8%8d%e8%89%af%e3%82%bb%e3%82%af%e3%82%bf4096%e3%83%90%e3%82%a4%e3%83%88%e3%81%8c%e7%99%ba%e7%94%9f%e3%81%97%e3%81%9f%e8%a9%b1","status":"publish","type":"post","link":"https:\/\/intinfinity.com\/index.php\/archives\/814","title":{"rendered":"btrfs (\u30b7\u30f3\u30b0\u30eb) \u306aHDD\u3067\u4e0d\u826f\u30bb\u30af\u30bf(4096\u30d0\u30a4\u30c8)\u304c\u767a\u751f\u3057\u305f\u8a71"},"content":{"rendered":"<h2>\u4f55\u304c\u8d77\u304d\u305f\u304b<\/h2>\n<p>\u7a3c\u50cd\u5e74\u6570\u304c7\u5e74\u3092\u8d85\u3048\u305fHDD\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b5\u30fc\u30d0\u30fc\u306e\u30b7\u30b9\u30c6\u30e0\u30c7\u30a3\u30b9\u30af(btrfs)\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u3042\u308b\u65e5\u56de\u5fa9\u4e0d\u53ef\u80fd\u30bb\u30af\u30bf\u304c\u767a\u751f\u3057\u305f\u3002<\/p>\n<p>\u5225\u306eHDD(\u5bb9\u91cf\u9055\u3044)\u306b\u30af\u30ed\u30fc\u30f3\u3057\u3066<a href=\"\/index.php\/archives\/709\" title=\"GPT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u4fee\u5fa9\">GPT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u4fee\u5fa9<\/a>\u3057\u305f\u304c\u30011\u7269\u7406\u30bb\u30af\u30bf(4096\u30d0\u30a4\u30c8)\u306f\u8aad\u3081\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u7834\u640d\u72b6\u6cc1\u306e\u78ba\u8a8d\u3068\u4fee\u5fa9\u3092\u8a66\u307f\u308b\u3002<\/p>\n<h2>\u7834\u640d\u72b6\u6cc1\u306e\u78ba\u8a8d<\/h2>\n<p>\u30af\u30ed\u30fc\u30f3\u3057\u305f\u3068\u304d\u306b\u3001\u8aad\u307f\u53d6\u308a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u305f\u3002\u305d\u306e\u5834\u6240\u306f\/(\u30eb\u30fc\u30c8)\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u308b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u9818\u57df<\/p>\n<p>\u307e\u305a\u306f\u3001btrfs\u306escrub\u3092\u5b9f\u65bd\u3057\u3066\u5f71\u97ff\u3092\u53d7\u3051\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<pre><code># btrfs scrub start \/<\/code><\/pre>\n<p>\u300cStatus\u300d\u304c\u300cfinished\u300d\u306b\u306a\u308b\u307e\u3067\u5f85\u3064\u300260GB\u304f\u3089\u3044\u306e\u9818\u57df\u30673GB\u3082\u4f7f\u3063\u3066\u304a\u3089\u305a\u3001\u4f53\u611f\u6570\u5206\u7a0b\u5ea6\u3067\u5b8c\u4e86\u3057\u305f\u3002<\/p>\n<pre><code># btrfs scrub status \/<\/code><\/pre>\n<p>\u300cError summary\u300d\u3092\u898b\u308b\u3002<\/p>\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u5f71\u97ff\u3092\u53d7\u3051\u3001\u56de\u5fa9\u4e0d\u80fd\u306b\u9665\u3063\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u691c\u51fa\u3055\u308c\u305f\u3002<\/p>\n<p>\u3082\u3057\u3001\u5197\u9577\u6027\u306e\u3042\u308b\u30b9\u30c8\u30ec\u30fc\u30b8\u69cb\u6210\u306a\u3089scrub\u3092\u3057\u305f\u6642\u70b9\u3067\u56de\u5fa9\u3092\u8a66\u307f\u3066\u304f\u308c\u308b\u3089\u3057\u3044\u3002<\/p>\n<p>\u30b7\u30f3\u30b0\u30eb\u3067\u3082\u3053\u308c\u3092\u691c\u51fa\u3067\u304d\u308b\u306e\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3068\u3057\u3066\u306f\u304b\u306a\u308a\u512a\u79c0\u3002\u52a9\u304b\u308b\u3002<\/p>\n<pre><code>Error summary:    csum=1\n  Corrected:      0\n  Uncorrectable:  1\n  Unverified:     0<\/code><\/pre>\n<p>scrub\u5f8c\u306bdmesg\u3092\u307f\u308b\u3068\u3001\u7834\u640d\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u5f97\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<pre><code># dmesg | tail -n 50\n[46440.889254] BTRFS info (device dm-0): scrub: started on devid 1\n[46446.670143] BTRFS warning (device dm-0): checksum error at logical 1275736064 on dev \/dev\/mapper\/sda4_crypt, physical 2357866496, root 256, inode 34533, offset 1302528, length 4096, links 1 (path: usr\/lib\/x86_64-linux-gnu\/libgnutls.so.30.29.1)\n[46463.324118] BTRFS info (device dm-0): scrub: finished on devid 1 with status: 0<\/code><\/pre>\n<p>(path: \uff5e\uff5e)\u306e\u3068\u3053\u308d\u304c\u7834\u640d\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3002\u3053\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u306f\/\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u7d76\u5bfe\u30d1\u30b9\u306b\u76f4\u3059\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<pre><code>\/usr\/lib\/x86_64-linux-gnu\/libgnutls.so.30.29.1<\/code><\/pre>\n<p>\u5e78\u3044\u306a\u3053\u3068\u306b\u3001\u7834\u640d\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u3082\u306e\u3067\u3001\u3053\u308c\u306f\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u3067\u304d\u308b\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u30cd\u30c3\u30c8\u3067\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u3001\u300clibgnutls30\u300d\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u3082\u306e\u3067\u3042\u308b\u3053\u3068\u304c\u5224\u660e\u3002\u3053\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre><code># apt --reinstall install libgnutls30<\/code><\/pre>\n<p>\u518d\u5ea6scrub\u3092\u884c\u3046\u3002<\/p>\n<p>\u300cError summary\u300d\u304c\u300cno errors found\u300d\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u3072\u3068\u307e\u305a\u30d5\u30a1\u30a4\u30eb\u306e\u7834\u640d\u304b\u3089\u306f\u56de\u5fa9\u3002<\/p>\n<pre><code># btrfs scrub status \/\nUUID:             ******\nScrub started:    *** *** ** **:**:** ****\nStatus:           finished\nDuration:         0:00:22\nTotal to scrub:   2.56GiB\nRate:             118.45MiB\/s\nError summary:    no errors found<\/code><\/pre>\n<p>\u305f\u3060\u3001dmesg\u3092\u773a\u3081\u3066\u3044\u308b\u3068\u3001corrupt\u306e\u30ab\u30a6\u30f3\u30c8\u304c4\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u306f\u3061\u3087\u3063\u3068\u6c17\u306b\u306a\u308b\u3002\u3082\u3057\u304b\u3057\u305f\u3089\u3001\u8a72\u5f53\u30bb\u30af\u30bf\u3092btrfs\u304c\u30de\u30fc\u30af\u3057\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u4eca\u56de\u306f\u30af\u30ed\u30fc\u30f3\u3067\u30c7\u30a3\u30b9\u30af\u3092\u79fb\u690d\u3057\u305f\u306e\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304b\u3089\u898b\u308c\u3070\u3053\u3053\u304c\u6b63\u5e38\u306b\u306a\u3063\u305f\u3053\u3068\u306f\u6c17\u3065\u3051\u306a\u3044\u3002<\/p>\n<p>\u5bb9\u91cf\u306b\u306f\u4f59\u88d5\u304c\u3042\u308b\u306e\u3067\u554f\u984c\u306a\u3044\u304c\u3001\u3042\u3093\u307e\u308a\u6c17\u6301\u3061\u306e\u3044\u3044\u3082\u306e\u3067\u306f\u306a\u3044\u304b\u3082\u3002<\/p>\n<p>\u305f\u3060\u3001\u3068\u308a\u3042\u3048\u305a\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u3068\u3057\u3066\u306f\u6b63\u5e38\u306b\u56de\u5fa9\u3057\u305f\u306e\u3067\u3001\u30e8\u30b7\uff01\uff01<\/p>\n<h2>\u53c2\u8003\u8cc7\u6599<\/h2>\n<ul>\n<li><a href=\"https:\/\/qiita.com\/nicklegr\/items\/70b86b93da930c2d7f50\" title=\"btrfs\u3092\u308f\u3056\u3068\u58ca\u3057\u3066\u307f\u305f #btrfs - Qiita\">btrfs\u3092\u308f\u3056\u3068\u58ca\u3057\u3066\u307f\u305f #btrfs - Qiita<\/a><\/li>\n<li><a href=\"https:\/\/loumo.jp\/archives\/20981\" title=\"Ubuntu \u306e apt \u3067\u5165\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b | Lonely Mobiler\">Ubuntu \u306e apt \u3067\u5165\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b | Lonely Mobiler<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4f55\u304c\u8d77\u304d\u305f\u304b \u7a3c\u50cd\u5e74\u6570\u304c7\u5e74\u3092\u8d85\u3048\u305fHDD\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b5\u30fc\u30d0\u30fc\u306e\u30b7\u30b9\u30c6\u30e0\u30c7\u30a3\u30b9\u30af(btrfs)\u3068\u3057\u3066\u4f7f\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u3042\u308b\u65e5\u56de\u5fa9\u4e0d\u53ef\u80fd\u30bb\u30af\u30bf\u304c\u767a\u751f\u3057\u305f\u3002 \u5225\u306eHDD(\u5bb9\u91cf\u9055\u3044)\u306b\u30af\u30ed\u30fc\u30f3\u3057\u3066GPT\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u4fee\u5fa9\u3057 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-814","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/comments?post=814"}],"version-history":[{"count":4,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/814\/revisions"}],"predecessor-version":[{"id":818,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/posts\/814\/revisions\/818"}],"wp:attachment":[{"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/media?parent=814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/categories?post=814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/intinfinity.com\/index.php\/wp-json\/wp\/v2\/tags?post=814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}