Date: Fri, 07 Jun 2019 17:54:34 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 238398] [zfs] zpool remove <pool> <log device> returns 'pool already exists' Message-ID: <bug-238398-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238398 Bug ID: 238398 Summary: [zfs] zpool remove <pool> <log device> returns 'pool already exists' Product: Base System Version: 12.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: feld@FreeBSD.org I ran into this error when my NVMe SSD used for log & l2arc failed and could not boot. Mounting from zfs:zroot/ROOT/default failed with error 6. Trying to recover from a livecd was not helping. I could import the pool, b= ut not remove the device. Trying to offline the device would return a different error --=20 cannot offline 16642195929625272860: log device has unplayed intent logs I ended up building a custom zfs.ko with the attached patch which I derived from this ZoL Github issue: https://github.com/zfsonlinux/zfs/issues/4270 This allowed me to make the pool usable again. After a scrub things are mos= tly OK now, though I have one mysterious error left; the other errors it report= ed are now gone. root@colo:/usr/src # zpool status -v pool: zroot state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: scrub repaired 0 in 0 days 20:14:51 with 0 errors on Fri Jun 7 15:58:42 2019 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da4p3.eli ONLINE 0 0 0 da5p3.eli ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 da0p3.eli ONLINE 0 0 0 da2p3.eli ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 da1p3.eli ONLINE 0 0 0 da3p3.eli ONLINE 0 0 0 errors: Permanent errors have been detected in the following files: <0x31abf>:<0x0> --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238398-227>