zfs on gmirror slice

Ed Jobs oloringr at gmail.com
Wed Sep 2 10:49:58 UTC 2009


On Wednesday 02 September 2009 13:29, Miroslav Lachman wrote:
>
> I think zpool export and then zpool import should fix it. See the manpage.
>

a simple zpool import will list all the pools available that you can import, 
then you can use 
zpool import -f <pool> to import it.

the only problem i found with that, is that on a fixit environment, i had a 
zroot pool mounted as legacy and when i imported it with -f it broke the whole 
thing. some libraries went missing and i couldn't even ls.
i have no idea how, but an opensolaris livecd handled it perfectly. it made 
the proper warnings and when i changed the mountpoints afterwards, all was 
ok.

so mind the "-f" option when importing.

just my 2 cents

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090902/ad16fb04/attachment-0001.pgp


More information about the freebsd-stable mailing list