I was trying to destroy a filesystem and I was baffled by the following
error:
zfs destroy -r rpool/test/opt
cannot destroy 'rpool/test/opt/csw@20111101_1405': dataset already exists
zfs destroy -r rpool/test/opt/csw@20111101_1405
cannot destroy 'rpool/test/opt/csw@20111101_1405': snapshot is cloned
It turns out there was a zfs receive writing to the filesystem.
A more sensible error would have been "dataset is busy".
--
Ian.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss