"Funny" behavior of zpool import : can mount on top of /
Olivier SMEDTS
olivier at gid0.org
Wed Dec 17 21:37:28 UTC 2008
Hello list,
Just something that makes my system crash when I'm too tired :
# dd if=/dev/zero of=/tmp/image bs=1M count=512
# mdconfig -a -f /tmp/image
# newfs /dev/md0
# mount /dev/md0 /
mount: /dev/md0 : Invalid argument
Ok, this error is expected... but now :
# zpool create -R /mnt test md0
# zpool export test
# zpool import test
Shit happens...
Of course, "zpool import -R /mnt test" is ok.
Btw, I'm using a fresh FreeBSD 8.0-CURRENT amd64 with zpool and zfs version 13.
Cheers
--
Olivier Smedts _
ASCII ribbon campaign ( )
e-mail: olivier at gid0.org - against HTML email & vCards X
www: http://www.gid0.org - against proprietary attachments / \
"Il y a seulement 10 sortes de gens dans le monde :
ceux qui comprennent le binaire,
et ceux qui ne le comprennent pas."
More information about the freebsd-current
mailing list