"Funny" behavior of zpool import : can mount on top of /

From: Olivier SMEDTS <olivier_at_gid0.org>
Date: Wed, 17 Dec 2008 22:37:26 +0100
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."
Received on Wed Dec 17 2008 - 20:37:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC