On Oct 18, 2009, at 11:23 AM, Sander Smeenk wrote:

Quoting Chris Kirby (chris.ki...@sun.com):

If you have a snapshot named "p...@snap", this:
# rmdir /pool/.zfs/snapshot/snap
is equivalent to this:
# zfs destroy p...@snap

Similarly, this:
# mkdir /pool/.zfs/snapshot/snap
is equivalent to this:
# zfs snapshot p...@snap

This can be very handy if you want to create or destroy
a snapshot from an NFS client, for example.

Oh, right. This is where my newbieness kicks in. I didn't know just
doing a mkdir in the snapshot directory actually -creates- a snapshot.
Thanks for this clarification.

I think i will toggle snapdir=visible/hidden to overcome this problem,
or add it to --excludes perhaps.

Yes. This is why the snapshots are not visible by default... legacy
backup software (eg tar) would want to back them up, which would be
redundant, redundant.

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6399899
 -- richard

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

Reply via email to