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.

Thanks!
-Sndr.
-- 
| If you jog backwards, will you gain weight?
| 4096R/6D40 - 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to