ZFS create crashes my system.

Pierre Ancelot pierreact at gmail.com
Sun Dec 7 14:04:54 UTC 2014


I have found the solution, I will post it here shortly (busy with
something else now).
Pointers,
http://lists.freebsd.org/pipermail/freebsd-stable/2014-November/081024.html
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195061


On Sun, Dec 7, 2014 at 11:36 AM, Pierre Ancelot <pierreact at gmail.com> wrote:
> Hello,
>
> I'm trying to figure out how to get out of this situation and most
> importantly, to learn from it:
>
> In order to use poudriere, I attempted to create a zpool on a file vdev.
> Here is what I did.
>
> mkdir /vdev
> mkfile 8g /vdev/disk1               # I was surprised that the space
> wasn't showing as used by df
> zpool create tank /vdev/disk1
>
> Then, my system crashed and every reboot kept on crashing.
> So I started it in single user mode and seen the "tank" pool was
> listed as "unavail".
>
> Single user mode won't crash until I mount -rw /
>
> Did I create a race condition having my vdev on / (which uses ZFS)?
>
> How can I recover from this? Cancel my create request (which is
> certainly trying to complete everytime it has a chance but never get
> there because of the crash)?
>
> Thank you.
> Pierre.



-- 
http://www.neko-consulting.com

“Live as if you were to die tomorrow. Learn as if you were to live forever.”
― Mahatma Gandhi


More information about the freebsd-questions mailing list