Re: [Samba] shadow_copy for homes share

2008-08-28 Thread Cory Coager
Aaron Browne wrote: Maybe you can go about it a different way and offer a recovery drive to the users. Rather than using homes for the shadow_copy, which is posing problems for you, setup another share called recover that points to the snapshot area. Users can then to browse into their home

Re: [Samba] shadow_copy for homes share

2008-08-27 Thread Aaron Browne
On Tue, Aug 26, 2008 at 10:29 PM, Cory Coager [EMAIL PROTECTED]wrote: I have successfully setup shadow_copy for normal shares on our samba test server. However, I cannot get it working for the homes share because of its uniqueness. Here is the homes share: [homes] comment = Home

Re: [Samba] shadow_copy for homes share

2008-08-27 Thread Cory Coager
I'm guessing this patch isn't part of binaries distributed through SLES which is why it isn't working for me. Thanks for the info. Aaron Browne wrote: Take a look on this page.. http://www.edplese.com/samba-with-zfs.html The 3-paths.patch contains a description of exactly what you are trying

Re: [Samba] shadow_copy for homes share

2008-08-27 Thread Aaron Browne
On Wed, Aug 27, 2008 at 11:09 PM, Cory Coager [EMAIL PROTECTED]wrote: I'm guessing this patch isn't part of binaries distributed through SLES which is why it isn't working for me. Thanks for the info. Maybe you can go about it a different way and offer a recovery drive to the users. Rather

[Samba] shadow_copy for homes share

2008-08-26 Thread Cory Coager
I have successfully setup shadow_copy for normal shares on our samba test server. However, I cannot get it working for the homes share because of its uniqueness. Here is the homes share: [homes] comment = Home Directories read only = No create mask = 0700 directory

Re: [Samba] shadow_copy for homes share

2008-08-26 Thread Damien Dye
I don't think that will work because homes is dynamic I believe that the snapshots have to be mounted at the root of the share and homes has the root of the share at /home/username you have the snapshots mounted at /home hope this helps Damien Cory Coager wrote: I have successfully setup

Re: [Samba] shadow_copy for homes share

2008-08-26 Thread Cory Coager
So its not possible to use variables for the 'subpath' option? Damien Dye wrote: I don't think that will work because homes is dynamic I believe that the snapshots have to be mounted at the root of the share and homes has the root of the share at /home/username you have the snapshots mounted

Re: [Samba] shadow_copy for homes share

2008-08-26 Thread Scott Lovenberg
Cory Coager wrote: So its not possible to use variables for the 'subpath' option? Damien Dye wrote: I don't think that will work because homes is dynamic I believe that the snapshots have to be mounted at the root of the share and homes has the root of the share at /home/username you have the

Re: [Samba] shadow_copy for homes share

2008-08-26 Thread Cory Coager
Symlinks do work however, this isn't feasible when you have hundreds of users. Scott Lovenberg wrote: Hrm... could you symlink it to a known, non-variable path? I have absolutely no idea if that would work, but I figured I'd throw it out there.