I tried to export the zpool also, and I got this, the strange part is that it sometimes still thinks that the ubuntu-01-dsk01 dataset exists:

# zpool export zpool01
cannot open 'zpool01/xvm/dsk/ubuntu-01-dsk01': dataset does not exist
cannot unmount '/zpool01/dump': Device busy

But:
# zfs destroy zpool01/xvm/dsk/ubuntu-01-dsk01
cannot open 'zpool01/xvm/dsk/ubuntu-01-dsk01': dataset does not exist

Regards


On Feb 12, 2009, at 11:51 PM, Henrik Johansson wrote:

Hi,

Can anyone explain the following to me?

Two zpool devices points at the same data, I was installing osol 2008.11 in xVM when I saw that there already was a partition on the installation disk. An old dataset that I deleted since i gave it a slightly different name than I intended is not removed under /dev. I should not have used that name, but two device links should perhaps not point to the same device ether....

zfs list |grep xvm/dsk
zpool01/xvm/dsk                 25.0G  2.63T  24.0K  /zpool01/xvm/dsk
zpool01/xvm/dsk/osol01-dsk01      10G  2.64T  2.53G  -
zpool01/xvm/dsk/ubuntu01-dsk01    10G  2.64T  21.3K  -

# ls -l /dev/zvol/dsk/zpool01/xvm/dsk
total 3
lrwxrwxrwx 1 root root 41 Feb 10 18:19 osol01-dsk01 - > ../../../../../../devices/pseudo/z...@0:4c lrwxrwxrwx 1 root root 41 Feb 10 18:14 ubuntu-01- dsk01 -> ../../../../../../devices/pseudo/z...@0:4c lrwxrwxrwx 1 root root 41 Feb 10 18:19 ubuntu01-dsk01 -> ../../../../../../devices/pseudo/z...@0:5c

# zpool history |grep xvm
2009-02-08.22:42:12 zfs create zpool01/xvm
2009-02-08.22:42:23 zfs create zpool01/xvm/media
2009-02-08.22:42:45 zfs create zpool01/xvm/dsk
2009-02-10.18:14:41 zfs create -V 10G zpool01/xvm/dsk/ubuntu-01-dsk01
2009-02-10.18:15:10 zfs destroy zpool01/xvm/dsk/ubuntu-01-dsk01
2009-02-10.18:15:21 zfs create -V 10G zpool01/xvm/dsk/ubuntu01-dsk01
2009-02-10.18:15:33 zfs create -V 10G zpool01/xvm/dsk/osol01-dsk01

# uname -a
SunOS ollespappa 5.11 snv_107 i86pc i386 i86xpv

While I am writing, is there any known issues with sharemgr and zfs in this release? svc:/network/shares/group:zfs hangs when going down since sharemgr stop zfs never returns...

Thanks

Henrik Johansson
http://sparcv9.blogspot.com



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Henrik Johansson
http://sparcv9.blogspot.com



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to