{"id":4279,"date":"2025-06-01T11:58:27","date_gmt":"2025-06-01T02:58:27","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=4279"},"modified":"2025-06-05T10:27:22","modified_gmt":"2025-06-05T01:27:22","slug":"%e6%80%aa%e7%8f%be%e8%b1%a1ssd%e3%81%8c%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=4279","title":{"rendered":"\u602a\u73fe\u8c61(SSD\u304c\u554f\u984c)"},"content":{"rendered":"\r\n<p>KVM\u306e\u30db\u30b9\u30c8\u3067\u602a\u73fe\u8c61\u304c\u8d77\u3053\u3063\u3066\u308b\uff01<br \/>\uff11\uff1alvscan \u3084 pvscan \u306e\u8868\u793a\u304c\u51fa\u305a\u3001\u30d5\u30ea\u30fc\u30ba(\u554f\u984c\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u7acb\u3061\u4e0a\u3052\u3066\u3044\u308b\u3068\uff09<br \/>\uff12\uff1a\u4eee\u60f3\u30de\u30b7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u8868\u793a\u304c\u51fa\u308b\u307e\u3067\u3082\u306e\u3059\u3054\u304f\u9045\u3044\u304c(\u591a\u520630\u79d2\u304b\u30891\u5206\u4f4d\u304b\u304b\u308b\uff09\u8868\u793a\u306f\u51fa\u3066\u304f\u308b\u3002\u3042\u308b\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u6b62\u3081\u3066\u304b\u3089\u4eee\u60f3\u30de\u30b7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3068\u3059\u3050\u306b\u8868\u793a\u304c\u3067\u308b\u3002<br \/>\uff13\uff1a\u3042\u308b\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u7acb\u3061\u4e0a\u3052\u308b\u306e\u306b\u975e\u5e38\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u305f\u308a\u3001\u8868\u793a\u304c\u771f\u3063\u9ed2\u306e\u3060\u3063\u305f\u308a\u3059\u308b\u304c\u3001\u4ed6\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u3067\u306f\u554f\u984c\u306a\u3044\u3002<br \/>\uff14\uff1admesg\u306bI\/O error, dev sdb, sector 676830506 op 0x1:(WRITE) flags 0xc800 phys_seg 77 prio class 0\u201d\u304c\u3042\u3063\u305f\u3002<\/p>\r\n\r\n\r\n\r\n<p>\u306a\u306e\u3067\u3001\/dev\/sdb\u306b\u554f\u984c\u304c\u3042\u308b\u306e\u3067\u554f\u984c\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u843d\u3068\u3057\u3066\u304a\u3044\u3066\u30d5\u30a1\u30a4\u30eb\u306e\u4fee\u5fa9\u3092\u8a66\u307f\u308b<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">xfs_repair \/dev\/Backup\/Backup<\/span><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code has-text-color has-link-color wp-elements-8705eaa80eb98c1c47653b38ee470fef\" style=\"color: #ffa500;\"><code>Phase 1 - find and verify superblock...\r\nPhase 2 - using internal log\r\n        - zero log...\r\nERROR: The filesystem has valuable metadata changes in a log which needs to\r\nbe replayed.  Mount the filesystem to replay the log, and unmount it before\r\nre-running xfs_repair.  If you are unable to mount the filesystem, then use\r\nthe -L option to destroy the log and attempt a repair.\r\nNote that destroying the log may cause corruption -- please attempt a mount\r\nof the filesystem before doing this.<\/code><\/pre>\r\n\r\n\r\n\r\n<p class=\"has-medium-gray-color has-text-color has-link-color wp-elements-e4fcae01558572ca15979691785e5690\">\u306a\u306e\u3067\u3001-L\u3092\u4ed8\u3051\u3066<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">xfs_repair -L \/dev\/Backup\/Backup<\/span><\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code has-text-color has-link-color wp-elements-dafe17bbb9708bfb15b45cfa6dcffc45\" style=\"color: #ffa500;\"><code>Phase 1 - find and verify superblock...\r\nPhase 2 - using internal log\r\n        - zero log...\r\nALERT: The filesystem has valuable metadata changes in a log which is being\r\ndestroyed because the -L option was used.<\/code><\/pre>\r\n\r\n\r\n\r\n<p>\u00a0\u3067\u3082\u3044\u3064\u307e\u3067\u7d4c\u3063\u3066\u3082\u3053\u308c\u4ee5\u4e0a\u9032\u307e\u306a\u3044\u306e\u3067\u3001ctrl+c\u3067\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u305f\u304c\u3001\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3054\u3068\u30af\u30ed\u30fc\u30ba\u3057\u305f\u3002<br \/>\u305d\u306e\u5f8c\u3001\u3053\u306e\u9818\u57df\u306f\u30b5\u30d6\u30db\u30b9\u30c8\u306e\u30c7\u30fc\u30bf\u30fc\u3092bacula\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u3044\u308b\u304c\u5e78\u3044\u4ed6\u306e\u5168\u30b5\u30d6\u30db\u30b9\u30c8\u306e\u30c7\u30fc\u30bf\u30fc\u306b\u554f\u984c\u306f\u7121\u3044\u306e\u3067\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b\u4e8b\u306b\u3057\u305f<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">mkfs.xfs \/dev\/Backup\/Backup<\/span><br \/><span style=\"color: #ff6600;\">mkfs.xfs: cannot open \/dev\/Backup\/Backup: \u30c7\u30d0\u30a4\u30b9\u3082\u3057\u304f\u306f\u30ea\u30bd\u30fc\u30b9\u304c\u30d3\u30b8\u30fc\u72b6\u614b\u3067\u3059<br \/><span style=\"color: #333333;\">\u3082\u3061\u308d\u3093\u3053\u3053\u306f\u4f55\u51e6\u306b\u3082\u4f7f\u3063\u3066\u306a\u3044\u3057mount\u3082\u3057\u3066\u3044\u306a\u3044\uff01\uff01<\/span><br \/><span style=\"color: #333333;\">\u4eca\u306f\u5bb6\u304b\u3089\u30ea\u30e2\u30fc\u30c8\u3067\u3084\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u660e\u65e5\u4f1a\u793e\u306b\u884c\u3063\u3066\u3053\u306e\u30c7\u30d0\u30a4\u30b9\u3092\u5916\u3057\u3066\u3001\u65b0\u3057\u3044SSD\u3068\u53d6\u308a\u66ff\u3048\u3066\u898b\u308b<\/span><\/span><\/p>\r\n<p>\u4f1a\u793e\u3067\u554f\u984c\u306eSSD\u3092\u5916\u3057\u3001\u518d\u8d77\u52d5\u3059\u308b\u3068\u554f\u984c\u7121\u304f\u306a\u3063\u305f\u3002<br \/>\u305d\u308c\u3067\u306f\u3068\u3001USB\u306e\u5916\u4ed8\u3051\u306e\u30a2\u30c0\u30d7\u30bf\u30fc\u306eSSD\u3092\u5165\u308c\u3001\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3002\u3053\u306eSSD\u306f\u5168\u3066\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u306a\u3069\u306e\u30c7\u30fc\u30bf\u30fc\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306b\u4f7f\u7528\u3057\u3066\u3044\u305f\uff12TB\u3067\u3001\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306f1\u3064\u306e\u307f\u306a\u306e\u3067<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">xfs_repair \/dev\/sdd<\/span><\/p>\r\n<p>\r\n\r\n<\/p>\r\n<pre class=\"wp-block-code has-text-color has-link-color wp-elements-7ea64c327481cb738ec7d69e8f11c454\" style=\"color: #ffa500;\"><code>Phase 1 - find and verify superblock...\r\nbad primary superblock - bad magic number !!!\r\n\r\nattempting to find secondary superblock...\r\n.found candidate secondary superblock...\r\nunable to verify superblock, continuing...\r\n...............^C<\/code><\/pre>\r\n<p>\r\n\r\n<\/p>\r\n<p>\u9014\u4e2d\u3067Ctrl+c \u3067\u6b62\u3081\u305f\u304c\u3001continuing\u304c\u7e26\u3057\u306a\u304f\u7d9a\u304d\u7d42\u308f\u3089\u306a\u3044\u3002<br \/>\u3053\u308c\u306fSSD\u3092RAW\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3059\u308b\u3057\u304b\u7121\u3044\u3068\u601d\u3046\u306e\u3067\u3001gparted\u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u524a\u9664\u3057\u3001\u9069\u7528\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u51fa\u6765\u306a\u304b\u3063\u305f\u3002<br \/>\u4eca\u5ea6\u306f\u99c4\u76ee\u3068\u306f\u601d\u3044\u3064\u3064\u3001Windows11\u3067\u30c7\u30a3\u30b9\u30af\u306e\u7ba1\u7406\u3092\u3084\u3063\u305f\u3089<br \/><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2025\/06\/6f95cc51dd9b31270a89500da2cf8b68.png\" alt=\"\" width=\"983\" height=\"757\" class=\"alignnone size-full wp-image-4335\" srcset=\"https:\/\/www.kinryo.net\/wp-content\/uploads\/2025\/06\/6f95cc51dd9b31270a89500da2cf8b68.png 983w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2025\/06\/6f95cc51dd9b31270a89500da2cf8b68-300x231.png 300w, https:\/\/www.kinryo.net\/wp-content\/uploads\/2025\/06\/6f95cc51dd9b31270a89500da2cf8b68-150x116.png 150w\" sizes=\"auto, (max-width: 983px) 100vw, 983px\" \/><br \/>\u306a\u3093\u3068\u51fa\u6765\u305f\u3002\u65e9\u901f\uff2c\uff29\uff2e\uff35\uff38\u306b\u3064\u306a\u304e\u306a\u304a\u3057\u3066\u3001<br \/><span style=\"color: #ff6600;\">#<\/span> <span style=\"color: #008000;\">mkfs.xfs \/dev\/sdd1<\/span><br \/>\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u76f4\u3057\u3066\u3001\u30e1\u30a4\u30f3\u306e\u30db\u30b9\u30c8\u306b\u30a2\u30bf\u30c3\u30c1\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u305f\u5168\u3066\u306e\u30c7\u30fc\u30bf\u30fc\u306f\u6d88\u5931\u3057\u305f\u304c\u3001\u524d\u306b\u8ff0\u3079\u305f\u3088\u3046\u306b\u3001\u3053\u306e\u30e1\u30a4\u30f3\u3084\u30b5\u30d6\u30db\u30b9\u30c8\u306e\u9806\u8abf\u306a\u306e\u3067\u3001\u30d5\u30eb\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3084\u308c\u3070\u3088\u3044\u3002\u7121\u4e8b\u30b5\u30d6\u30db\u30b9\u30c8\u306e backup\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u9818\u57df\u306b\u51fa\u6765\u305f\u3002<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>KVM\u306e\u30db\u30b9\u30c8\u3067\u602a\u73fe\u8c61\u304c\u8d77\u3053\u3063\u3066\u308b\uff01\uff11\uff1alvscan \u3084 pvscan \u306e\u8868\u793a\u304c\u51fa\u305a\u3001\u30d5\u30ea\u30fc\u30ba(\u554f\u984c\u306e\u30b5\u30d6\u30db\u30b9\u30c8\u3092\u7acb\u3061\u4e0a\u3052\u3066\u3044\u308b\u3068\uff09\uff12\uff1a\u4eee\u60f3\u30de\u30b7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u8868\u793a\u304c\u51fa\u308b\u307e\u3067\u3082\u306e\u3059\u3054\u304f\u9045\u3044\u304c(\u591a\u520630\u79d2\u304b\u30891\u5206\u4f4d\u304b\u304b\u308b\uff09 &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=4279\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"vkexunit_cta_each_option":"","footnotes":""},"categories":[10],"tags":[],"class_list":["post-4279","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4279"}],"version-history":[{"count":21,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4279\/revisions"}],"predecessor-version":[{"id":4338,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4279\/revisions\/4338"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}