{"id":931,"date":"2019-03-12T17:50:29","date_gmt":"2019-03-12T08:50:29","guid":{"rendered":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=931"},"modified":"2019-03-12T17:50:29","modified_gmt":"2019-03-12T08:50:29","slug":"%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%b7%e3%82%b9%e3%83%86%e3%83%a0%e3%81%ae%e6%a4%9c%e6%9f%bb%e3%83%bb%e4%bf%ae%e5%be%a9-fsck","status":"publish","type":"post","link":"http:\/\/sunao-mita.pgw.jp\/blog\/?p=931","title":{"rendered":"\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u691c\u67fb\u30fb\u4fee\u5fa9 fsck"},"content":{"rendered":"\n<p>\u4e00\u822c\u7684\u306a\u691c\u67fb\u3068\u4fee\u5fa9\u306b\u5229\u7528\u3059\u308b fsck \u30b3\u30de\u30f3\u30c9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5229\u7528\u3067 badblocks \u306e\u6a5f\u80fd\u3092\u4f34\u3063\u3066\u3001\u4e0d\u826f\u30bb\u30af\u30bf\u3092\u30ea\u30ab\u30d0\u30ea\u3059\u308b\u6a5f\u80fd\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n<p>\u305d\u306e\u6a5f\u80fd\u306e\u5b66\u7fd2\u3092\u517c\u306d\u3066\u3001\u4e0d\u826f\u30c7\u30a3\u30b9\u30af\u3068\u3057\u3066\u4fdd\u7559\u3057\u3066\u3044\u305f\u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\u3092\u4f7f\u3063\u3066\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n<pre class=\"pre-s2\">$ <strong>sudo fsck -vcck \/dev\/sdb2<\/strong>\nfsck from util-linux 2.31.1\ne2fsck 1.44.1 (24-Mar-2018)\nChecking for bad blocks (non-destructive read-write test)\nTesting with random pattern: done\nsystem: Updating bad block inode.\nPass 1: Checking i\u30ce\u30fc\u30c9s, blocks, and sizes\nPass 2: Checking \u30c7\u30a3\u30ec\u30af\u30c8\u30ea structure\nPass 3: Checking \u30c7\u30a3\u30ec\u30af\u30c8\u30ea connectivity\nPass 4: Checking reference counts\nPass 5: Checking \u30b0\u30eb\u30fc\u30d7 summary information\nsystem: ***** \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306f\u5909\u66f4\u3055\u308c\u307e\u3057\u305f *****\n          11 inodes used (0.00%, out of 2621440)\n           0 non-contiguous files (0.0%)\n           0 non-contiguous directories (0.0%)\n             # of inodes with ind\/dind\/tind blocks: 0\/0\/0\n             Extent depth histogram: 3\n      242382 blocks used (2.31%, out of 10485760)\n           0 bad blocks\n           1 large file\n           0 regular files\n           2 directories\n           0 character device files\n           0 block device files\n           0 fifos\n           0 links\n           0 symbolic links (0 fast symbolic links)\n           0 sockets\n------------\n           2 files\n<\/pre>\n\n<p>\u524d\u8ff0\u304c\u5b9f\u884c\u7d50\u679c\u3067\u3059\u3002<\/p>\n\n\n<p>\u6642\u9593\u306f\u9577\u304f\u639b\u304b\u308a\u307e\u3057\u305f\u304c\u3001\u4ee5\u524d\u983b\u7e41\u306b\u30a8\u30e9\u30fc\u3092\u5410\u304d\u51fa\u3057\u3066\u3044\u305f\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u4f4d\u7f6e\u306b\u5bfe\u3057\u3066\u975e\u7834\u58ca\u578b\u306e\u8aad\u307f\u66f8\u304d\u30c6\u30b9\u30c8\u3060\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n\n\n<p>\u3053\u306e\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306f\u3001mkfs.ext4 \u3067\uff11\u5ea6\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u6c17\u306b\u306a\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u6700\u7d42\u884c\u306b\u3042\u3063\u3066\u3001\u518d\u3073 mkfs.ext4 \u3067\u66f8\u304d\u76f4\u3057\u305f\u76f4\u5f8c\u306b\u3001\u524d\u8ff0\u306e fsck \u3092\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<p>\u9014\u4e2d\u306b\u300esystem: <em> \u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306f\u5909\u66f4\u3055\u308c\u307e\u3057\u305f <\/em>\u300f\u306e\u6587\u8108\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4e0d\u826f\u7b87\u6240\u304c\u3042\u3063\u3066\u4e00\u90e8\u304c\u5909\u66f4\u3055\u308c\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u304b\u3002\u521d\u3081\u3066\u306e\u5b9f\u884c\u306a\u306e\u3067\u8a73\u7d30\u304c\u5206\u304b\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n<p>\u6b21\u306b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u751f\u6210\u3057\u305f\u6642\u306e\uff11\u5ea6\u76ee\u3068\u3001\u6c17\u306b\u306a\u3063\u3066\u518d\u5b9f\u884c\u3057\u305f\uff12\u5ea6\u76ee\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066\u6b21\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n\n<pre class=\"pre-s2 fcb-og\">$ <strong>sudo mkfs.ext4 -L system \/dev\/sdb2<\/strong>\nmke2fs 1.44.1 (24-Mar-2018)\nCreating filesystem with 10485760 4k blocks and 2621440 inodes\nFilesystem UUID: 3cf7fb03-0d7d-491b-8d6b-8265e2798161\nSuperblock backups stored on blocks:\n        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,\n        4096000, 7962624\nAllocating group tables: done\nWriting inode tables: done\nCreating journal (65536 blocks): done\nWriting superblocks and filesystem accounting information:\n<strong>Warning, had trouble writing out superblocks.\n<\/strong><\/pre>\n<pre class=\"pre-s2\">$ <strong>sudo mkfs.ext4 -L system \/dev\/sdb2<\/strong>\nmke2fs 1.44.1 (24-Mar-2018)\nCreating filesystem with 10485760 4k blocks and 2621440 inodes\nFilesystem UUID: 789bf9e8-5e1d-4dbc-ae81-a8d25a02529b\nSuperblock backups stored on blocks:\n        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,\n        4096000, 7962624\nAllocating group tables: done\nWriting inode tables: done\nCreating journal (65536 blocks): done\nWriting superblocks and filesystem accounting information: done\n<\/pre>\n\n<p>\u5143\u3005\u4e0d\u826f\u30c7\u30a3\u30b9\u30af\u3068\u3057\u3066\u3001\u4f7f\u308f\u305a\u306b\u7f6e\u304b\u308c\u3066\u3044\u305f\u30c7\u30a3\u30b9\u30af\u306a\u306e\u3067\u3001\u591a\u5c11\u306a\u308a\u3068\u3082\u5229\u7528\u3067\u304d\u308c\u3070\u5b66\u7fd2\u3082\u517c\u306d\u3066\u5132\u3051\u3082\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u822c\u7684\u306a\u691c\u67fb\u3068\u4fee\u5fa9\u306b\u5229\u7528\u3059\u308b fsck \u30b3\u30de\u30f3\u30c9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u305d\u306e\u5229\u7528\u3067 badblocks \u306e\u6a5f\u80fd\u3092\u4f34\u3063\u3066\u3001\u4e0d\u826f\u30bb\u30af\u30bf\u3092\u30ea\u30ab\u30d0\u30ea\u3059\u308b\u6a5f\u80fd\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u308a\u307e\u3057\u305f\u3002 \u305d\u306e\u6a5f\u80fd\u306e\u5b66\u7fd2\u3092\u517c\u306d\u3066\u3001\u4e0d\u826f\u30c7\u30a3\u30b9\u30af\u3068\u3057\u3066\u4fdd\u7559\u3057\u3066\u3044\u305f\u30cf &hellip; <a href=\"http:\/\/sunao-mita.pgw.jp\/blog\/?p=931\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u691c\u67fb\u30fb\u4fee\u5fa9 fsck<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,17],"tags":[],"_links":{"self":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/931"}],"collection":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=931"}],"version-history":[{"count":0,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/931\/revisions"}],"wp:attachment":[{"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=931"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/sunao-mita.pgw.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}