On 4/21/10 6:49 AM, Edward Ned Harvey wrote:
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.
It will work over NFS or SMB, but you will need to allow it via the
necessary delegated administration permissions.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss