Saw this while writing a script today -- while debugging the script, I was ctrl-c-ing it a lot rather than wait for the zfs create / zfs set commands to complete. After doing so, my cleanup script failed to zfs destroy the new filesystem:
[EMAIL PROTECTED]:/ # zfs destroy -f raid/www/user-testuser cannot unshare 'raid/www/user-testuser': /raid/www/user-testuser: not shared [EMAIL PROTECTED]:/ # zfs list | grep testuser raid/www/user-testuser 49K 150M 49K /raid/www/user-testuser [EMAIL PROTECTED]:/ # zfs set sharenfs=on raid/www/user-testuser [EMAIL PROTECTED]:/ # zfs destroy raid/www/user-testuser [EMAIL PROTECTED]:/ # ...the filesystem simply would not go away until I turned on the sharenfs toggle. Then it happily died. Thought I'd mention it. [EMAIL PROTECTED]:/ # uname -a SunOS kronos 5.10 Generic_118833-18 sun4u sparc SUNW,Sun-Fire-880 [EMAIL PROTECTED]:/ # showrev -p | grep -i zfs Patch: 122640-05 Obsoletes: Requires: 118833-12 Incompatibles: Packages: SUNWcsr, SUNWzfskr, SUNWzfsr, SUNWzfsu If anyone is interested in trying to reproduce the problem, let me know. This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss