Thomas Garner
2007-Feb-25 23:08 UTC
[zfs-discuss] .zfs snapshot directory in all directories
Since I have been unable to find the answer online, I thought I would ask here. Is there a knob to turn to on a zfs filesystem put the .zfs snapshot directory into all of the children directories of the filesystem, like the .snapshot directories of NetApp systems, instead of just the root of the filesystem? Thanks! Thomas
On 2/26/07, Thomas Garner <thomas536 at gmail.com> wrote:> Since I have been unable to find the answer online, I thought I would > ask here. Is there a knob to turn to on a zfs filesystem put the .zfs > snapshot directory into all of the children directories of the > filesystem, like the .snapshot directories of NetApp systems, instead > of just the root of the filesystem?No. File an RFE? :) -- Regards, Jeremy
for what purpose ? This message posted from opensolaris.org
Darren Dunham
2007-Feb-27 00:33 UTC
[zfs-discuss] Re: .zfs snapshot directory in all directories
> > for what purpose ?For me, I''d say ease of use. Using Netapp .snapshot directories, it''s often easier to find files in a snapshot by relative path from the directory in question rather than from all the way back at the top of the filesystem. In addition, others have mentioned zone mounts: http://www.opensolaris.org/jive/thread.jspa?messageID=91301 -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
Thomas Garner
2007-Feb-27 02:00 UTC
[zfs-discuss] Re: .zfs snapshot directory in all directories
> > for what purpose ?Darren''s correct, it''s a simple case of ease of use. Not show-stopping by any means but would be nice to have. Thomas
Eric Haycraft
2007-Feb-27 18:01 UTC
[zfs-discuss] Re: Re: .zfs snapshot directory in all directories
I am no scripting pro, but I would imagine it would be fairly simple to create a script and batch it to make symlinks in all subdirectories. This message posted from opensolaris.org
Joe Little
2007-Feb-28 23:42 UTC
[zfs-discuss] Re: Re: .zfs snapshot directory in all directories
On 2/27/07, Eric Haycraft <earl507 at yahoo.com> wrote:> I am no scripting pro, but I would imagine it would be fairly simple to create a script and batch it to make symlinks in all subdirectories. > >I''ve done something similar using NFS aggregation products. The real problem is when you export, especially via CIFS (SMB) from a given directory. Let''s take a given example of a division based file tree. A given area of the company, say marketing, has multiple sub folders: /pool/marketing, /pool/marketing/docs, /pool/marketing/projects, /pool/marketing/users Well, Marketing wants Windows access, so you allow shares at any point, including at /pool/marketing/users. Well, symlinks don''t help, and a snapshot mechanism needs to be there at the users subdirectory level. Some would argue to promote /pool/marketing/users into a ZFS filesystem. Well, the other problem arises, in that at least with NFS, you need to share per filesystem and clients must multiple mount the filesystem (/pool/marketing, /pool/marketing/users, /pool/marketing/docs, etc). Mounting /pool/marketing alone will show you empty directories for users, projects, etc if further mounting doesn''t exist. Yeah.. automounts, nfsv4, blah blah :) A lot of setup when all you need is pervasive ".snapshot" trees similar to NetApp. I just hope that don''t have a bloody patent on something as simple as that to solve this.> This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >