Hi
I was trying to overlay a pool onto an existing mount
# cat /etc/release
Solaris 10 6/06 s10s_u2wos_09a SPARC
........
# df -k /export
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s3 20174761 3329445 16643569 17% /export
# share
#
#zpool create -f tank raidz c1t1d0 c1t2d0 c1t3d0 c1t4d0 c1t5d0zfs create
tank/home
#zfs create tank/home1
#zfs set mountpoint=/export tank
cannot mount '/export': directory is not empty
use legacy mountpoint to allow this behavior, or use the -O flag
#zfs set sharenfs=on tank/home
#zfs set sharenfs=on tank/home1
# share
- /export/home rw ""
- /export/home1 rw ""
#
Now I ran the following to force the mount
# df -k /export
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s3 20174761 3329445 16643569 17% /export
# zfs mount -O tank
# df -k /export
Filesystem kbytes used avail capacity Mounted on
tank 701890560 53 701890286 1% /export
#
Then further down the line I tried
# zpool destroy tank
cannot unshare 'tank/home': /export/home: not shared
cannot unshare 'tank/home1': /export/home1: not shared
could not destroy 'tank': could not unmount datasets
#
I eventually got this to go with
# zfs umount tank/home
# zfs umount tank/home1
# zpool destroy -f tank
#
Is this normal, and if so why?
Enda
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss