{"id":797,"date":"2016-04-27T17:45:26","date_gmt":"2016-04-27T08:45:26","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=797"},"modified":"2017-02-13T14:23:00","modified_gmt":"2017-02-13T05:23:00","slug":"usb%e5%a4%96%e4%bb%98%e3%81%91hdd%e3%83%88%e3%83%a9%e3%83%96%e3%83%ab%e8%a8%98%e9%8c%b2","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/797","title":{"rendered":"USB\u5916\u4ed8\u3051HDD\u30c8\u30e9\u30d6\u30eb\u8a18\u9332"},"content":{"rendered":"<p>USB\u63a5\u7d9a\u306e\u5916\u4ed8\u3051HDD\u304c\u30de\u30a6\u30f3\u30c8\u30a8\u30e9\u30fc\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308b\u3002<\/p>\n<h3>\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u78ba\u8a8d<\/h3>\n<pre class=\"lang:sh decode:true \" >$ dmesg<\/pre>\n<pre class=\"lang:sh decode:true \" >=== \u524d\u7565 ===\r\n[  152.428588] sd 2:0:0:1: [sdc] Unhandled sense code\r\n[  152.428596] sd 2:0:0:1: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE\r\n[  152.428605] sd 2:0:0:1: [sdc] Sense Key : Medium Error [current] \r\n[  152.428615] sd 2:0:0:1: [sdc] Add. Sense: Unrecovered read error\r\n[  152.428627] sd 2:0:0:1: [sdc] CDB: Read(10): 28 20 3a 04 02 50 00 00 f0 00\r\n[  152.428647] end_request: I\/O error, dev sdc, sector 973341264\r\n[  152.428702] JBD: Failed to read block at offset 66\r\n[  152.428708] JBD: IO error -5 recovering block 66 in log\r\n[  152.428726] JBD: Failed to read block at offset 67\r\n[  152.428731] JBD: IO error -5 recovering block 67 in log\r\n[  152.428737] JBD: Failed to read block at offset 68\r\n[  152.428743] JBD: IO error -5 recovering block 68 in log\r\n[  152.428749] JBD: Failed to read block at offset 69\r\n[  152.428754] JBD: IO error -5 recovering block 69 in log\r\n[  152.428760] JBD: Failed to read block at offset 70\r\n[  152.428765] JBD: IO error -5 recovering block 70 in log\r\n=== \u4e2d\u7565 ===\r\n[  152.429046] JBD: Failed to read block at offset 95\r\n[  152.429051] JBD: IO error -5 recovering block 95 in log\r\n[  152.503882] nautilus: sending ioctl 2285 to a partition!\r\n[  152.503962] nautilus: sending ioctl 2285 to a partition!\r\n[  154.735999] JBD: recovery failed\r\n[  154.736036] EXT4-fs (sdc1): error loading journal<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u5fa9\u65e7\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c<\/h3>\n<pre class=\"lang:sh decode:true \" >$ sudo fsck \/dev\/sdc1<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u65e2\u5b58\u30d1\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u30a2\u30f3\u30de\u30a6\u30f3\u30c8<\/h3>\n<pre class=\"lang:sh decode:true \" >$ sudo umount \/dev\/sdb1<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u30d1\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u518d\u69cb\u7bc9<\/h3>\n<pre class=\"lang:sh decode:true \" >$ sudo fdisk \/dev\/sdb<\/pre>\n<p>&nbsp;<\/p>\n<h3>\u65b0\u898f\u5916\u4ed8\u3051HDD\u306e\u518d\u30d5\u30a9\u30fc\u30de\u30c3\u30c8(ext4)<\/h3>\n<pre class=\"lang:sh decode:true \" >$ sudo mkfs.ext4 \/dev\/sdb1<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>USB\u63a5\u7d9a\u306e\u5916\u4ed8\u3051HDD\u304c\u30de\u30a6\u30f3\u30c8\u30a8\u30e9\u30fc\u3067\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308b\u3002 \u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u78ba\u8a8d $ dmesg === \u524d\u7565 === [ 152.428588] sd 2:0:0:1: [sdc] Unhandled sense c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-797","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/797","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=797"}],"version-history":[{"count":8,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/797\/revisions"}],"predecessor-version":[{"id":805,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/797\/revisions\/805"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}