Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 13:51:40 +0100
From:      Dr Josef Karthauser <josefkarthauser@gmail.com>
To:        Volodymyr Kostyrko <c.kworr@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, fs@freebsd.org
Subject:   Re: Help! :( ZFS panic on boot, importing pool after server crash.
Message-ID:  <9AF22029-B753-4D74-A798-11C0A1C55D88@gmail.com>
In-Reply-To: <51BAF7E3.4020401@gmail.com>
References:  <301B4131-F677-4B8D-ABF6-A6D269FE604E@gmail.com> <51BAF7E3.4020401@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14 Jun 2013, at 12:00, Volodymyr Kostyrko <c.kworr@gmail.com> wrote:

> 14.06.2013 12:55, Dr Josef Karthauser:
>> Hi, I'm a bit at the end of my tether.

>> p.s. the config, btw, is a ZFS mirror on two ad devices. It's got a =
ZFS root file system.
>=20
> If you are fairly sure about your devices you can:
>=20
> 1. Remove second disk from pool or create another pool on top of it.
>=20
> 2. Recreate all FS structure on the second disk. You can dump al your =
FS with something like:
>=20

Great. Thanks for that.

Have you got a hint as to how I can get access to the root file system? =
It's currently set to have a legacy mount point.  Which means that when =
I import the pool:

	# zfs import -o readonly=3Don -o altroot=3D/tmp/zfs -f poolname

the root filesystem is missing.  Then if I try and set the mount point:

	#zfs set mountpoint=3D/tmp/zfs2 poolname

it just sits there; probably because the command is blocking on the R/O =
pool, or something.

How do I temporarily remount the root filesystem so that I can get =
access to the files?

Thanks,
Joe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9AF22029-B753-4D74-A798-11C0A1C55D88>