Re: [zfs-discuss] zfs free space

2008-12-03 Thread none
Even if that maximum number of shared collections is that much, I think the information should be available if requested, even if it becomes similar to a 'scrub' operation in terms of the time taken. For a filesystem like mine that only has 10 or so snapshots, I'd really only expect 3 or 4 of th

Re: [zfs-discuss] zfs free space

2008-12-03 Thread Miles Nordin
> "n" == none <[EMAIL PROTECTED]> writes: > "rm" == Robert Milkowski <[EMAIL PROTECTED]> writes: n> eg, n> zfs list-shared n> SHARED COLLECTIONUSED n> (storage/fs, storage/[EMAIL PROTECTED], storage/[EMAIL PROTECTED]) 100G

Re: [zfs-discuss] zfs free space

2008-12-03 Thread none
Hi Milek, I specifically don't want to destroy the oldest snapshot because I already know it won't free up much disk space, since it is sharing most data with the current fs. If I delete it I will have lost any old data which might be needed for recovery (eg. if I accidentally corrupt some files

Re: [zfs-discuss] zfs free space

2008-12-03 Thread Robert Milkowski
Hello none, Wednesday, December 3, 2008, 8:38:03 PM, you wrote: n> Hi Sanjeev and Milek, thanks for your replies but I'm afraid they are somewhat missing the point. n> I have a situation (and I believe it would be fairly common) where n> early snapshots would be sharing most data with the curren

Re: [zfs-discuss] zfs free space

2008-12-03 Thread none
To provide a complete (meaning it is currently incomplete) disk usage report, I think zfs would need provide the following: Each block in a zfs fs in general is shared by one or more of either the current fs or snapshots. Call this the block's "share set". Eg, (storage/fs, storage/[EMAIL PROTECT

Re: [zfs-discuss] zfs free space

2008-12-03 Thread none
Hi Sanjeev and Milek, thanks for your replies but I'm afraid they are somewhat missing the point. I have a situation (and I believe it would be fairly common) where early snapshots would be sharing most data with the current filesystem and more recent snapshots are holding onto data that has bee

Re: [zfs-discuss] zfs free space

2008-12-03 Thread Robert Milkowski
Hello Sanjeev, Wednesday, December 3, 2008, 5:20:47 AM, you wrote: S> Hi, S> A good rough estimate would be the total of the space S> that is displayed under the "USED" column of "zfs list" for those snapshots. S> Here is an example : S> -- snip -- S> [EMAIL PROTECTED] zfs list -r tank S> NAME

Re: [zfs-discuss] zfs free space

2008-12-02 Thread Sanjeev
Hi, A good rough estimate would be the total of the space that is displayed under the "USED" column of "zfs list" for those snapshots. Here is an example : -- snip -- [EMAIL PROTECTED] zfs list -r tank NAME USED AVAIL REFER MOUNTPOINT tank24.6M 38.9M19K /tank tank/fs1

Re: [zfs-discuss] zfs free space

2008-12-02 Thread Robert Milkowski
Hello none, Thursday, November 6, 2008, 7:55:42 PM, you wrote: n> Hi Milek, n> Thanks for your reply. n> What I really need is a way to tell how much space will be freed n> for any particular set of snapshots that I delete. n> So I would like to query zfs, n> "if I delete these snapshots n> sto

Re: [zfs-discuss] zfs free space

2008-11-06 Thread none
Hi Milek, Thanks for your reply. What I really need is a way to tell how much space will be freed for any particular set of snapshots that I delete. So I would like to query zfs, "if I delete these snapshots storage/[EMAIL PROTECTED] storage/[EMAIL PROTECTED] how much space will be freed?" Th

Re: [zfs-discuss] zfs free space

2008-11-06 Thread Robert Milkowski
Hello none, Thursday, November 6, 2008, 2:52:53 AM, you wrote: n> Hi, I'm trying to get a status from zfs on where the free space in n> my zfs filesystem is. Its a RAIDZ2 pool on 4 x 320GB HDD. I have n> several snapshots and I've just deleted rougly 150GB worth of data n> I didn't need from the