{"id":3380,"date":"2022-06-24T22:09:56","date_gmt":"2022-06-24T13:09:56","guid":{"rendered":"https:\/\/www.ish.org\/blog\/?p=3380"},"modified":"2022-07-24T12:31:53","modified_gmt":"2022-07-24T03:31:53","slug":"%ef%bc%92%e5%8f%b0%e7%9b%ae%e3%81%aenas%ef%bc%88%e3%81%9d%e3%81%ae4zil-l2arc%e3%81%8cremoved%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.ish.org\/blog\/?p=3380","title":{"rendered":"\uff12\u53f0\u76ee\u306eNAS\uff08\u305d\u306e4:ZIL\/L2ARC\u304cremoved\uff09"},"content":{"rendered":"<p>zpool\u304cDEGRADED\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<!--more--><\/p>\n<pre># zpool status -v\r\n  pool: hoge\r\n state: DEGRADED\r\nstatus: One or more devices has experienced an error resulting in data\r\n        corruption.  Applications may be affected.\r\naction: Restore the file in question if possible.  Otherwise restore the\r\n        entire pool from backup.\r\n   see: https:\/\/openzfs.github.io\/openzfs-docs\/msg\/ZFS-8000-8A\r\n  scan: scrub repaired 0B in 09:48:45 with 0 errors on Wed Jun  8 12:50:31 2022\r\nconfig:\r\n\r\n        NAME        STATE     READ WRITE CKSUM\r\n        hoge        DEGRADED     0     0     0\r\n          raidz1-0  ONLINE       0     0     0\r\n            ada0p2  ONLINE       0     0     0\r\n            ada1p2  ONLINE       0     0     0\r\n            ada2p2  ONLINE       0     0     0\r\n            ada3p2  ONLINE       0     0     0\r\n            ada4p2  ONLINE       0     0     0\r\n        logs\r\n          nvd0p1    REMOVED      0     0     0\r\n        cache\r\n          nvd0p2    REMOVED      0     0     0\r\n\r\nerrors: Permanent errors have been detected in the following files:\r\n\r\n        hoge\/media\/tmp:<0x0>\r\n        hoge\/var\/mail:<0x0>\r\n        hoge\/var:<0x0>\r\n        hoge\/var\/log:<0x0>\r\n        hoge\/var\/db:<0x0>\r\n        hoge\/var\/db\/pkg:<0x0><\/pre>\n<p>\/var\/log\/messages\u3092\u898b\u308b\u3068\u3001<\/p>\n<pre>Jun 22 15:19:29 potato kernel: nvme0: RECOVERY_START TTTTTTTTTTTTTTTTT vs UUUUUUUUUUUUUUUUU\r\nJun 22 15:19:29 potato kernel: nvme0: Controller in fatal status, resetting\r\nJun 22 15:19:29 potato kernel: nvme0: Resetting controller due to a timeout and possible hot unplug.\r\nJun 22 15:19:29 potato kernel: nvme0: RECOVERY_WAITING\r\nJun 22 15:19:29 potato kernel: nvme0: resetting controller\r\nJun 22 15:19:29 potato kernel: nvme0: waiting\r\nJun 22 15:19:29 potato kernel: nvme0: failing outstanding i\/o\r\nJun 22 15:19:29 potato kernel: nvme0: READ sqid:1 cid:121 nsid:1 lba:VVVVVVV len:4\r\nJun 22 15:19:29 potato kernel: nvme0: ABORTED - BY REQUEST (00\/07) sqid:1 cid:121 cdw0:0\r\nJun 22 15:19:29 potato kernel: nvme0: failing outstanding i\/o\r\nJun 22 15:19:29 potato kernel: nvme0: WRITE sqid:2 cid:117 nsid:1 lba:WWWWWWW len:1\r\nJun 22 15:19:29 potato kernel: nvme0: ABORTED - BY REQUEST (00\/07) sqid:2 cid:117 cdw0:0\r\nJun 22 15:19:29 potato kernel: nvd0: detached\r\nJun 22 15:19:29 potato kernel: nvme0: READ sqid:2 cid:0 nsid:1 lba:8389176 len:16\r\nJun 22 15:19:29 potato kernel: nvme0: ABORTED - BY REQUEST (00\/07) sqid:2 cid:0 cdw0:0\r\nJun 22 15:19:30 potato kernel: nvme0: waiting\r\nJun 22 15:19:30 potato syslogd: last message repeated 1 times\r\nJun 22 15:19:30 potato ZFS[37628]: pool I\/O failure, zpool=potato error=6\r\nJun 22 15:19:30 potato ZFS[37632]: vdev state changed, pool_guid=XXXXXXXXXXXXXXXXXXX vdev_guid=YYYYYYYYYYYYYYYYYYY\r\nJun 22 15:19:30 potato ZFS[37636]: vdev is removed, pool_guid=XXXXXXXXXXXXXXXXXXX vdev_guid=YYYYYYYYYYYYYYYYYYY\r\nJun 22 15:19:30 potato ZFS[37640]: vdev state changed, pool_guid=XXXXXXXXXXXXXXXXXXX vdev_guid=ZZZZZZZZZZZZZZZZZZZ\r\nJun 22 15:19:30 potato ZFS[37644]: vdev is removed, pool_guid=XXXXXXXXXXXXXXXXXXX vdev_guid=ZZZZZZZZZZZZZZZZZZZ\r\nJun 22 15:19:30 potato ZFS[37648]: pool I\/O failure, zpool=hoge error=6\r\nJun 22 15:22:00 potato ZFS[37661]: pool I\/O failure, zpool=hoge error=6\r\nJun 22 16:02:44 potato ZFS[37724]: pool I\/O failure, zpool=hoge error=6\r\nJun 22 16:04:34 potato ZFS[37785]: pool I\/O failure, zpool=hoge error=6\r\nJun 22 16:04:36 potato ZFS[37792]: pool I\/O failure, zpool=hoge error=6<\/pre>\n<p>\u3068\u3044\u3046\u72b6\u614b\u3002\u4f55\u3089\u304b\u306e\u8981\u56e0\u3067MVNE SSD\u304cOS\u304b\u3089\u898b\u3048\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3067\u3059\u3002reboot\u3059\u308b\u3068\u3001<\/p>\n<pre># zpool status -v\r\n  pool: hoge\r\n state: ONLINE\r\nstatus: One or more devices has experienced an error resulting in data\r\n        corruption.  Applications may be affected.\r\naction: Restore the file in question if possible.  Otherwise restore the\r\n        entire pool from backup.\r\n   see: https:\/\/openzfs.github.io\/openzfs-docs\/msg\/ZFS-8000-8A\r\n  scan: scrub repaired 0B in 09:48:45 with 0 errors on Wed Jun  8 12:50:31 2022\r\nconfig:\r\n\r\n        NAME        STATE     READ WRITE CKSUM\r\n        hoge        ONLINE       0     0     0\r\n          raidz1-0  ONLINE       0     0     0\r\n            ada0p2  ONLINE       0     0     0\r\n            ada1p2  ONLINE       0     0     0\r\n            ada2p2  ONLINE       0     0     0\r\n            ada3p2  ONLINE       0     0     0\r\n            ada4p2  ONLINE       0     0     0\r\n        logs\r\n          nvd0p1    ONLINE       0     0     0\r\n        cache\r\n          nvd0p2    ONLINE       0     0     0\r\n\r\nerrors: Permanent errors have been detected in the following files:\r\n\r\n        hoge\/media\/tmp:<0x0>\r\n        hoge\/var\/mail:<0x0>\r\n        hoge\/var:<0x0>\r\n        hoge\/var\/log:<0x0>\r\n        hoge\/var\/db:<0x0>\r\n        hoge\/var\/db\/pkg:<0x0>\r\n        hoge\/home\/potato:<0x0><\/pre>\n<p>\u3068\u306a\u308aONLINE\u306b\u306f\u5fa9\u5e30\u3057\u305f\u3082\u306e\u306eerrors\u304c\u3046\u3056\u3044\u3002\u5ff5\u306e\u70ba\u306bzpool scrub\u3092\u5b9f\u884c\u3002<\/p>\n<pre># zpool scrub hoge<\/pre>\n<p>errors\u3092\u6d88\u3059\u305f\u3081\u306b\u3001zpool clear hoge\u3092\u5b9f\u884c\u3002<\/p>\n<pre># zpool clear hoge<\/pre>\n<p>\u3053\u308c\u3067\u3001\u3084\u3063\u3068errors\u304c\u6d88\u3048\u307e\u3057\u305f\u3002<\/p>\n<pre># zpool status -v\r\n  pool: hoge\r\n state: ONLINE\r\n  scan: scrub repaired 0B in 09:43:39 with 0 errors on Fri Jun 24 19:27:30 2022\r\nconfig:\r\n\r\n        NAME        STATE     READ WRITE CKSUM\r\n        hoge        ONLINE       0     0     0\r\n          raidz1-0  ONLINE       0     0     0\r\n            ada0p2  ONLINE       0     0     0\r\n            ada1p2  ONLINE       0     0     0\r\n            ada2p2  ONLINE       0     0     0\r\n            ada3p2  ONLINE       0     0     0\r\n            ada4p2  ONLINE       0     0     0\r\n        logs\r\n          nvd0p1    ONLINE       0     0     0\r\n        cache\r\n          nvd0p2    ONLINE       0     0     0\r\n\r\nerrors: No known data errors<\/pre>\n<p><a href=\/blog\/?p=2403>\u305d\u306e3<\/a>\u3078\u623b\u308b\u3000<a href=\/blog\/?p=3419>\u305d\u306e5<\/a>\u3078\u7d9a\u304f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>zpool\u304cDEGRADED\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-3380","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-zfs"],"_links":{"self":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3380"}],"version-history":[{"count":8,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3380\/revisions"}],"predecessor-version":[{"id":3423,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3380\/revisions\/3423"}],"wp:attachment":[{"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ish.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}