[Bug 219972] Unable to zpool export following some zfs recv

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 14 09:06:49 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219972

--- Comment #15 from Matthias Pfaller <matthias.pfaller at familie-pfaller.de> ---
(In reply to Allan Jude from comment #14)
In my case its my backup disk. There is a zvol on the disk, but volmode is
already set to dev.
Import is done as follows:

  geli attach -p -k /tmp/backup.key /dev/gpt/backup
  zpool import -R /backup backup || exit 1

Then some "zfs send / zfs receive" stuff is done. 
Export is done as follows:

  zpool export backup
  geli detach /dev/gpt/backup.eli

When the machine is loaded, the export will fail.
There are two ways to get rid of the pool
- reboot (will hang most of the time and require a hard reset)
or
- geli detach -f /dev/gpt/backup.eli
After detaching I usually could export the pool :-/ (iirc)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list