> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Edward Ned Harvey
> 
> > From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> > boun...@opensolaris.org] On Behalf Of Nicolas Williams
> >
> > And you can even create, rename and destroy snapshots by creating,
> > renaming and removing directories in .zfs/snapshot:
> >
> > % mkdir .zfs/snapshot/foo
> > % mv .zfs/snapshot/foo .zfs/snapshot/bar
> > % rmdir .zfs/snapshot/bar
> >
> > (All this also works locally, not just over ZFS.)
> 
> Holy crap, for real?  I'll have to try that.  ;-)

I just tested that, and it works (cool, thanks for the tip Nicolas.)
However, I think you phrased it slightly incorrect.  At least on my systems
(solaris 10), let me correct this:

You can create/destroy/rename snapshots via mkdir, rmdir, mv inside the
.zfs/snapshot directory, however, it will only work if you're running the
command locally.  It will not work from a NFS client.

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

Reply via email to