A customer asked today about the ability to snapshot and rollback individual files. They have an environment where users might generate lots of files, but want only a portion of them to be included in a snapshot. Moreover, typically when they recover a file, they only want one or two of them. The idea of copying them out of a fs snapshot wasn''t terribly appealing to them since they tend to have pretty large files. It would be nice to just reattach that file. Is this reasonable? --SCott
It doesn''t sound like they want to use filesystem-mgmt tools, they want to use per-file tools. Wouldn''t pax (or cpio) be a better tool to do these things? Scott Dickson wrote:> A customer asked today about the ability to snapshot and rollback > individual files. They have an environment where users might generate > lots of files, but want only a portion of them to be included in a > snapshot. Moreover, typically when they recover a file, they only want > one or two of them. The idea of copying them out of a fs snapshot > wasn''t terribly appealing to them since they tend to have pretty large > files. It would be nice to just reattach that file. > > Is this reasonable?-- -------------------------------------------------------------------------- Jeff VICTOR Sun Microsystems jeff.victor @ sun.com OS Ambassador Sr. Technical Specialist Solaris 10 Zones FAQ: http://www.opensolaris.org/os/community/zones/faq --------------------------------------------------------------------------
On Wed, May 24, 2006 at 03:35:13PM -0400, Scott Dickson wrote:> A customer asked today about the ability to snapshot and rollback > individual files. They have an environment where users might generate > lots of files, but want only a portion of them to be included in a > snapshot. Moreover, typically when they recover a file, they only want > one or two of them. The idea of copying them out of a fs snapshot > wasn''t terribly appealing to them since they tend to have pretty large > files. It would be nice to just reattach that file.We probably won''t extend snapshot/rollback to individual files. However, it sounds like this RFE would provide a good solution for them: 6343653 want to quickly "copy" a file from a snapshot --matt
Scott Dickson wrote:> A customer asked today about the ability to snapshot and rollback > individual files. They have an environment where users might generate > lots of files, but want only a portion of them to be included in a > snapshot. Moreover, typically when they recover a file, they only want > one or two of them. The idea of copying them out of a fs snapshot > wasn''t terribly appealing to them since they tend to have pretty large > files. It would be nice to just reattach that file.Ok, this may be a hack, but in Solaris >= 10 /lib/libc.so.1 seems to be a lofs mount to a hardware-optimised version of that file. The same method could be employed for single files, e.g. create a fs snapshot for that file and then "link" the file in the shapshot over to it''s original/desired place via lofs. Not pretty - but it may work (BTW: Read http://mail.opensolaris.org/pipermail/opensolaris-discuss/2006-May/017167.html and replies) ... :-) ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)