{"id":19657,"date":"2017-03-15T23:57:44","date_gmt":"2017-03-15T14:57:44","guid":{"rendered":"http:\/\/oichinote.com\/plus\/?p=19657"},"modified":"2017-03-15T23:57:56","modified_gmt":"2017-03-15T14:57:56","slug":"degraded-zfs-pool-then-temporaly-repare","status":"publish","type":"post","link":"https:\/\/oichinote.com\/plus\/2017\/03\/degraded-zfs-pool-then-temporaly-repare.html","title":{"rendered":"ZFS pool\u306b\u969c\u5bb3\u767a\u751f\u3001\u66ab\u5b9a\u5bfe\u5fdc"},"content":{"rendered":"<p>\u4e45\u3005\u306b\u3001zpool status\u3092\u307f\u305f\u3089\u3001\u5927\u5909\u306a\u4e8b\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002tank\u306e\u3072\u3068\u3064\u306eypool\u306f\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u904b\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4e00\u53f0\u3060\u3051\u306e\u904b\u7528\u3057\u3066\u306b\u306a\u3063\u3066\u3057\u3063\u3066\u304a\u308a\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<pre># zpool status\r\n  pool: rpool\r\n state: ONLINE\r\nstatus: The pool is formatted using a legacy on-disk format.  The pool can\r\n\tstill be used, but some features are unavailable.\r\naction: Upgrade the pool using 'zpool upgrade'.  Once this is done, the\r\n\tpool will no longer be accessible on software that does not support feature\r\n\tflags.\r\n  scan: scrub repaired 0 in 0h0m with 0 errors on Sat Feb 22 08:51:43 2014\r\nconfig:\r\n\r\n\tNAME         STATE     READ WRITE CKSUM\r\n\trpool        ONLINE       0     0     0\r\n\t  gpt\/zroot  ONLINE       0     0     0\r\n\r\nerrors: No known data errors\r\n\r\n  pool: upool\r\n state: DEGRADED\r\nstatus: One or more devices are faulted in response to persistent errors.\r\n\tSufficient replicas exist for the pool to continue functioning in a\r\n\tdegraded state.\r\naction: Replace the faulted device, or use 'zpool clear' to mark the device\r\n\trepaired.\r\n  scan: resilvered 293M in 0h1m with 0 errors on Sat Dec  3 18:48:39 2016\r\nconfig:\r\n\r\n\tNAME           STATE     READ WRITE CKSUM\r\n\tupool          DEGRADED     0     0     0\r\n\t  mirror-0     DEGRADED     0     0     0\r\n\t    gpt\/disk4  ONLINE       0     0     0  block size: 512B configured, 4096B native\r\n\t    gpt\/disk2  FAULTED      5   156     0  too many errors\r\n\t  mirror-1     ONLINE       0     0     0\r\n\t    gpt\/disk3  ONLINE       0     0     0\r\n\t    gpt\/disk5  ONLINE       0     0     0  block size: 512B configured, 4096B native\r\n\tlogs\r\n\t  gpt\/zil      ONLINE       0     0     0\r\n\tcache\r\n\t  gpt\/l2arc    ONLINE       0     0     0\r\n\r\nerrors: No known data errors\r\n\r\n  pool: ypool\r\n state: DEGRADED\r\nstatus: One or more devices has been removed by the administrator.\r\n\tSufficient replicas exist for the pool to continue functioning in a\r\n\tdegraded state.\r\naction: Online the device using 'zpool online' or replace the device with\r\n\t'zpool replace'.\r\n  scan: resilvered 47.0M in 0h0m with 0 errors on Sat Dec  3 18:46:51 2016\r\nconfig:\r\n\r\n\tNAME                      STATE     READ WRITE CKSUM\r\n\typool                     DEGRADED     0     0     0\r\n\t  mirror-0                DEGRADED     0     0     0\r\n\t    gpt\/disk0             ONLINE       0     0     0\r\n\t    15691383435259036286  REMOVED      0     0     0  was \/dev\/gpt\/disk1\r\n\r\nerrors: No known data errors\r\n<\/pre>\n<p>\u3052\u3052\u3063! \u30c7\u30a3\u30b9\u30af\u3092\u4ea4\u63db\u3059\u308b\u306e\u304c\u6b63\u3057\u3044\u5bfe\u51e6\u3067\u3059\u304c\u3001\u53d6\u308a\u6562\u3048\u305a\u3001online\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<pre># zpool online ypool gpt\/disk1<\/pre>\n<p>\u305d\u3046\u3057\u305f\u3089\u3001\u7121\u4e8b\u306b\u30c7\u30a3\u30b9\u30af\u3092\u8a8d\u8b58\u3057\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3092\u59cb\u3081\u307e\u3057\u305f\u3002<\/p>\n<pre># zpool status -v ypool\r\n  pool: ypool\r\n state: ONLINE\r\nstatus: One or more devices is currently being resilvered.  The pool will\r\n\tcontinue to function, possibly in a degraded state.\r\naction: Wait for the resilver to complete.\r\n  scan: resilver in progress since Sun Mar 12 21:59:41 2017\r\n        8.05G scanned out of 1.32T at 30.1M\/s, 12h42m to go\r\n        8.04G resilvered, 0.60% done\r\nconfig:\r\n\r\n\tNAME           STATE     READ WRITE CKSUM\r\n\typool          ONLINE       0     0     0\r\n\t  mirror-0     ONLINE       0     0     0\r\n\t    gpt\/disk0  ONLINE       0     0     0\r\n\t    gpt\/disk1  ONLINE       0     0     0  (resilvering)\r\n\r\nerrors: No known data errors\r\n<\/pre>\n<p>\u30c7\u30fc\u30bf\u30b3\u30d4\u30fc\u304c\u7d42\u4e86\u3057\u3001\u7121\u4e8b\u306b\u5e73\u5e38\u904b\u8ee2\u306b\u623b\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre># zpool status -v ypool\r\n  pool: ypool\r\n state: ONLINE\r\n  scan: resilvered 14.3G in 0h8m with 0 errors on Sun Mar 12 22:07:58 2017\r\nconfig:\r\n\r\n\tNAME           STATE     READ WRITE CKSUM\r\n\typool          ONLINE       0     0     0\r\n\t  mirror-0     ONLINE       0     0     0\r\n\t    gpt\/disk0  ONLINE       0     0     0\r\n\t    gpt\/disk1  ONLINE       0     0     0\r\n\r\nerrors: No known data errors\r\n<\/pre>\n<p>\u3067\u3082\u3001\u30e1\u30a4\u30f3\u3067\u4f7f\u3063\u3066\u3044\u308bupool\u306edisk2\u306b\u30a8\u30e9\u30fc\u304c\u6b8b\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u4f55\u3068\u304b\u3057\u306a\u3044\u3068\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-19684\" src=\"https:\/\/oichinote.com\/plus\/files\/2017\/03\/gatag-00003557-480x480-480x364.jpg\" alt=\" [\u30d5\u30ea\u30fc\u30a4\u30e9\u30b9\u30c8] \u30cf\u30fc\u30c9\u30c7\u30a3\u30b9\u30af\" width=\"480\" height=\"364\" srcset=\"https:\/\/oichinote.com\/plus\/files\/2017\/03\/gatag-00003557-480x480.jpg 480w, https:\/\/oichinote.com\/plus\/files\/2017\/03\/gatag-00003557-480x480-150x114.jpg 150w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>\u3053\u306eFreeBSD\u30b5\u30fc\u30d0\u3082\u305d\u3046\u3067\u3059\u304c\u3001MacBook Pro\u3082\u53e4\u3044OS\u306a\u306e\u3067\u3001\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3044\u3063\u305f\u3093\u3001\u30c7\u30fc\u30bf\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3057\u3066\u304b\u3089\u3068\u601d\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u306a\u304b\u306a\u304b\u6642\u9593\u3068\u6c17\u529b\u3092\u53d6\u308c\u307e\u305b\u3093\u3002\u3067\u3082\u3001\u60a0\u9577\u306a\u4e8b\u3092\u8a00\u3063\u3066\u3044\u3089\u308c\u306a\u3044\u72b6\u6cc1\u3067\u3059\u3002<\/p>\n[amazonjs asin=\"B01E40YIRM\" locale=\"JP\"]\n","protected":false},"excerpt":{"rendered":"<p>\u4e45\u3005\u306b\u3001zpool status\u3092\u307f\u305f\u3089\u3001\u5927\u5909\u306a\u4e8b\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002tank\u306e\u3072\u3068\u3064\u306eypool\u306f\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u904b\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4e00\u53f0\u3060\u3051\u306e\u904b\u7528\u3057\u3066\u306b\u306a\u3063\u3066\u3057\u3063\u3066\u304a\u308a\u3001\u30df\u30e9\u30fc\u30ea\u30f3\u30b0\u3067\u304d\u3066\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002 # zpool [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":19684,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"\u65b0\u3057\u3044\u8a18\u4e8b\u300eZFS pool\u306b\u969c\u5bb3\u767a\u751f\u3001\u66ab\u5b9a\u5bfe\u5fdc\u300f\u3092\u6295\u7a3f\u3057\u307e\u3057\u305f\u3002\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[60,34],"tags":[],"class_list":["post-19657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-freebsd","category-mac"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/oichinote.com\/plus\/files\/2017\/03\/gatag-00003557-480x480.jpg","jetpack-related-posts":[{"id":20013,"url":"https:\/\/oichinote.com\/plus\/2017\/04\/replace-a-mirror-disk-of-zfs.html","url_meta":{"origin":19657,"position":0},"title":"ZFS\u306e\u30df\u30e9\u30fc\u30c7\u30a3\u30b9\u30af\u4ea4\u63db","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e744\u670829\u65e5","format":false,"excerpt":"FreeBSD\u306e\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306bZFS\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002Mirror\u3057\u305fHDD\u30922\u30bb\u30c3\u30c8\u9023\u7d50\u3057\u3066\u3001\u5927\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"ZFS\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/09\/20130926freebsd-zfs.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":9613,"url":"https:\/\/oichinote.com\/plus\/2013\/09\/attach-disk-for-mirroring-on-zfs.html","url_meta":{"origin":19657,"position":1},"title":"ZFS\u3067\u65e2\u5b58\u30c7\u30a3\u30b9\u30af\u3092\u30df\u30e9\u30fc\u5316\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e749\u670826\u65e5","format":false,"excerpt":"FreeBSD 9.1\u642d\u8f09\u306ePC\u3092\u3001\u30b5\u30fc\u30d0\u6a5f\u3068\u3057\u3066\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 FreeBSD\u306b\u30b5\u30fc\u30d0\u7528\u30bd\u30d5\u30c8\u3092\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"ZFS\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/09\/20130926freebsd-zfs.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":24575,"url":"https:\/\/oichinote.com\/plus\/2022\/01\/error-occurred-at-zpool-status.html","url_meta":{"origin":19657,"position":2},"title":"zpool status\u306e\u30a8\u30e9\u30fc","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2022\u5e741\u670822\u65e5","format":false,"excerpt":"FreeBSD\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u969b\u306e\u518d\u8d77\u52d5\u3067\u3001\u30c9\u30e9\u30a4\u30d6\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u3066\u3044\u307e\u3057\u305f\u3002 # zp\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"ZFS\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/09\/20130926freebsd-zfs-480x150.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":20201,"url":"https:\/\/oichinote.com\/plus\/2017\/06\/moving-zpool-data-to-another-drive.html","url_meta":{"origin":19657,"position":3},"title":"\ufeffZFS\u306e\u30c7\u30fc\u30bf\u30d7\u30fc\u30eb\u306e\u5f15\u8d8a\u3057","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2017\u5e746\u670821\u65e5","format":false,"excerpt":"\u30b7\u30b9\u30c6\u30e0\u30d7\u30fc\u30eb\u306e\u79fb\u884c\u306f\u7d50\u69cb\u9762\u5012\u3067\u3057\u305f\u3002 AFT\u306a\u306e\u306b\u30d6\u30ed\u30c3\u30af\u30b5\u30a4\u30ba\u304c512B \u30c7\u30fc\u30bf\u30d7\u30fc\u30eb\u3082\u79fb\u884c\u3057\u307e\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"GW3.5AA-SUP3","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2017\/06\/20170621gw3.5aa-sup3.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":11360,"url":"https:\/\/oichinote.com\/plus\/2014\/03\/last-stage-of-recovering-zfs.html","url_meta":{"origin":19657,"position":4},"title":"ZFS\u5fa9\u65e7\u306f\u5927\u8a70\u3081\u306b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2014\u5e743\u670830\u65e5","format":false,"excerpt":"\u30d0\u30ec\u30f3\u30bf\u30a4\u30f3\u30c7\u30fc\u9803\u306b\u3001FreeBSD 9.1\u309210.0\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3088\u3046\u3068\u3057\u305f\u6642\u3001\u4e0a\u624b\u304f\u884c\u304d\u307e\u305b\u2026","rel":"","context":"FreeBSD","block_context":{"text":"FreeBSD","link":"https:\/\/oichinote.com\/plus\/category\/freebsd"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10146,"url":"https:\/\/oichinote.com\/plus\/2013\/11\/add-mirroring-disks-to-existed-zfs-pool.html","url_meta":{"origin":19657,"position":5},"title":"ZFS\u3067\u65e2\u5b58\u30d7\u30fc\u30eb\u306b\u30df\u30e9\u30fc\u30c7\u30a3\u30b9\u30af\u3092\u8ffd\u52a0\u3059\u308b","author":"\u304a\u5e02\u306e\u304b\u305f","date":"2013\u5e7411\u670821\u65e5","format":false,"excerpt":"FreeBSD 9.1\u3092\u30b5\u30fc\u30d0\u306b\u3057\u3066\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002 FreeBSD\u306b\u30b5\u30fc\u30d0\u7528\u30bd\u30d5\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u2026","rel":"","context":"NAS","block_context":{"text":"NAS","link":"https:\/\/oichinote.com\/plus\/category\/nas"},"img":{"alt_text":"ZFS\u69cb\u6210","src":"https:\/\/i0.wp.com\/oichinote.com\/plus\/files\/2013\/11\/20131121freebsd-zfs.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/19657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/comments?post=19657"}],"version-history":[{"count":7,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/19657\/revisions"}],"predecessor-version":[{"id":19686,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/posts\/19657\/revisions\/19686"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media\/19684"}],"wp:attachment":[{"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/media?parent=19657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/categories?post=19657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oichinote.com\/plus\/wp-json\/wp\/v2\/tags?post=19657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}