Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Dec 2014 14:04:53 +0000
From:      Pierre Ancelot <pierreact@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: ZFS create crashes my system.
Message-ID:  <CAGC2t-gMzgDcvqtk6u%2BZx0q0OBG-iGhhdnScefCubE1f2%2BiKfw@mail.gmail.com>
In-Reply-To: <CAGC2t-g5PSeutDR8U2J2-c5MbaWTv%2Bm8U2m=a7-QZ0w-Fn=Oiw@mail.gmail.com>
References:  <CAGC2t-g5PSeutDR8U2J2-c5MbaWTv%2Bm8U2m=a7-QZ0w-Fn=Oiw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D195061


On Sun, Dec 7, 2014 at 11:36 AM, Pierre Ancelot <pierreact@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.



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

=E2=80=9CLive as if you were to die tomorrow. Learn as if you were to live =
forever.=E2=80=9D
=E2=80=95 Mahatma Gandhi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGC2t-gMzgDcvqtk6u%2BZx0q0OBG-iGhhdnScefCubE1f2%2BiKfw>