Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-14 Thread Aaron Epps
Thanks for the info folks, it's what I expected but I just wanted to verify that this is not possible. This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread A Darren Dunham
On Tue, May 13, 2008 at 04:33:29PM +0200, Simon Breden wrote: > > If multiple snapshots reference (own?) the same file, what's the quickest > way to zap that file from all snapshots? There is no way. If you could do that, then they wouldn't really be "snapshots". I'm not saying that the abili

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread Nicolas Williams
On Tue, May 13, 2008 at 04:33:29PM +0200, Simon Breden wrote: > Thanks Darren, that's good to know. > > If multiple snapshots reference (own?) the same file, what's the quickest > way to zap that file from all snapshots? There isn't a way to do that at all, not short of deleting the actual snapsh

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread A Darren Dunham
On Tue, May 13, 2008 at 10:02:01AM -0700, Marc Glisse wrote: > Can't you turn the snapshot into a clone (kind of an editable > snapshot)? Or does the existence of a clone created from this snapshot > prevent from removing the snapshot afterwards? You can create a clone from the snapshot, but it do

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread Marc Glisse
Can't you turn the snapshot into a clone (kind of an editable snapshot)? Or does the existence of a clone created from this snapshot prevent from removing the snapshot afterwards? This message posted from opensolaris.org ___ zfs-discuss mailing list

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread Simon Breden
Thanks Darren, that's good to know. If multiple snapshots reference (own?) the same file, what's the quickest way to zap that file from all snapshots? I say 'own' because apparently the original file system that the snapshots were created from, has been deleted, apparently, if I understood the ini

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread Darren J Moffat
Simon Breden wrote: > OK, I understand. > > I don't think it's possible though, as snapshots are read only, as far as I > know. > If you like voodoo you could try going into the .zfs directory, then into the > snapshot directory and see what you can do there, but I wouldn't try it, as > it migh

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread Simon Breden
OK, I understand. I don't think it's possible though, as snapshots are read only, as far as I know. If you like voodoo you could try going into the .zfs directory, then into the snapshot directory and see what you can do there, but I wouldn't try it, as it might be possible to do harm that way.

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-13 Thread Aaron Epps
See, that's the problem. I don't want to delete the entire snapshot, I just want to remove a particular file from the snapshot. This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.

Re: [zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-12 Thread Simon Breden
>From my understanding, when you delete all the snapshots that reference the >files that have already been deleted from the file system(s), then all the >space will be returned to the pool. So try deleting the snapshots that you no longer need. Obviously, be sure that you don't need any files r

[zfs-discuss] Deletion of file from ZFS Disk and Snapshots

2008-05-12 Thread Aaron Epps
This is a common problem that we run into and perhaps there's a good explanation of why it can't be done. Often, there will be a large set of data, say 200GB or so that gets written to a ZFS share, snapshotted and then deleted a few days later. As I'm sure you know, none of the space is returned