{"id":14838,"date":"2023-09-03T10:09:09","date_gmt":"2023-09-03T01:09:09","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=14838"},"modified":"2023-09-03T15:23:29","modified_gmt":"2023-09-03T06:23:29","slug":"linux%e3%81%a7%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%82%92%e6%a4%9c%e8%a8%bc%e3%81%99%e3%82%8b%ef%bc%81%ef%bc%88xfs%ef%bc%8ffsck%ef%bc%89","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/14838","title":{"rendered":"Linux\u3067\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u691c\u8a3c\u3059\u308b\uff01\uff08XFS\uff0fxfs_repair\uff09"},"content":{"rendered":"<p>Linux\u3067\u3001XFS\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092xfs_repair\u30b3\u30de\u30f3\u30c9\u3067\u691c\u8a3c\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>XFS\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306ffsck\u3067\u691c\u8a3c\u3067\u304d\u306a\u3044\uff01<\/h2>\n<p>XFS\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306f\u3001\u4ee5\u4e0b\u306e\u901a\u308afsck\u3067\u691c\u8a3c\u3067\u304d\u307e\u305b\u3093\u3002xfs_repair\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# fsck \/dev\/sdd1\r\nfsck from util-linux 2.37.4\r\nIf you wish to check the consistency of an XFS filesystem or\r\nrepair a damaged filesystem, see xfs_repair(8).\r\n<\/pre>\n<h2>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u691c\u8a3c\u3057\u307e\u3059\uff01\uff08XFS\uff0fxfs_repair\uff09<\/h2>\n<p>xfs_repair\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u6307\u5b9a\u3057\u3066\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n# xfs_repair \/dev\/sdd1\r\nPhase 1 - find and verify superblock...\r\nPhase 2 - using internal log\r\n        - zero log...\r\n        - scan filesystem freespace and inode maps...\r\n        - found root inode chunk\r\nPhase 3 - for each AG...\r\n        - scan and clear agi unlinked lists...\r\n        - process known inodes and perform inode discovery...\r\n        - agno = 0\r\n        - agno = 1\r\n        - agno = 2\r\n        - agno = 3\r\n        - process newly discovered inodes...\r\nPhase 4 - check for duplicate blocks...\r\n        - setting up duplicate extent list...\r\n        - check for inodes claiming duplicate blocks...\r\n        - agno = 0\r\n        - agno = 1\r\n        - agno = 2\r\n        - agno = 3\r\nPhase 5 - rebuild AG headers and trees...\r\n        - reset superblock...\r\nPhase 6 - check inode connectivity...\r\n        - resetting contents of realtime bitmap and summary inodes\r\n        - traversing filesystem ...\r\n        - traversal finished ...\r\n        - moving disconnected inodes to lost+found ...\r\nPhase 7 - verify and correct link counts...\r\ndone\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>XFS\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u691c\u8a3c\u306f\u3001fsck\u3067\u306f\u306a\u304fxfs_repair\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u65bd\u3057\u307e\u3059\u3002xfs_repair\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u304d\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u304c\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14777\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2021\/02\/fi_linux_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011Linux\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">Linux\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u3067\u3001XFS\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092xfs_repair\u30b3\u30de\u30f3\u30c9\u3067\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":5527,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1017],"tags":[1030,282,1031,1034,25,1033,1018,805],"class_list":["post-14838","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-filesystem","tag-fsck","tag-linux","tag-xfs","tag-xfs_repair","tag-25","tag-1033","tag-1018","tag-805"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=14838"}],"version-history":[{"count":5,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14838\/revisions"}],"predecessor-version":[{"id":14850,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/14838\/revisions\/14850"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/5527"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=14838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=14838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=14838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}