I can now see the snapshots in the CLI if i do a mkdir from the windows command 
line as opposed to getting stuck with a "New Folder", which seems to confuse 
the CLI (maybe snapshots cant have spaces in the name?

I was wondering, if there was an easy way for us to script zfs home filesystem 
creation upon connection to an AD joined cifs server?  samba had some cool 
stuff with preexec and I just wonder if something like that is available for 
the kernel mode cifs driver.

-Andy

-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Andy Lubel
Sent: Sun 5/11/2008 2:24 AM
To: Mark Shellenbaum; Paul B. Henson
Cc: zfs-discuss@opensolaris.org
Subject: Re: [zfs-discuss] ZFS cli for REMOTE Administration
 
Paul B. Henson wrote:
>> On Thu, 8 May 2008, Mark Shellenbaum wrote:
>> 
>>> we already have the ability to allow users to create/destroy snapshots
>>> over NFS.  Look at the ZFS delegated administration model.  If all you
>>> want is snapshot creation/destruction then you will need to grant
>>> "snapshot,mount,destroy" permissions.
>>>
>>> then on the NFS client mount go into .zfs/snapshot and do mkdir
>>> <snapname>.  Providing the user has the appropriate permission the
>>> snapshot will be created.
>>>
>>> rmdir can be used to remove the snapshot.
>> 
>> Now that is just uber-cool.
>> 
>> Can you do that through the in kernel CIFS server too?
>> 
>> 

>Yes, it works over CIFS too.

>   -Mark

Great stuff!

I confirmed that it does work, but its strange that I don't see the snapshot in 
'zfs list' on the zfs box.  Is that a bug or a feature?  Im using XP - another 
thing is that if you right click in the .zfs/snapshot directory and do new -> 
folder you will be stuck with a snapshot called "New Folder".  I couldn't 
rename it and the only way to delete it was to log into the machine and do a 
lil 'rm -Rf'.  good news is that it is snapshotting :)

I have a simple backup script where I use robocopy and then at the end I want 
to do a 'mkdir .zfs/snapshot/xxx', but I would eventually want to delete the 
oldest snapshot, similar to the zsnap.pl script floating around.

Cant wait to try this on NFS, the whole reason we objected to snapshots in the 
first place in our org was because our admins didn't want to be involved with 
the users for the routine of working with snapshots.

-Andy

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





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

Reply via email to