Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems-my math doesn't add up

2008-11-07 Thread Miles Nordin
> "a" == <[EMAIL PROTECTED]> writes: > "c" == Miles Nordin <[EMAIL PROTECTED]> writes: > "n" == none <[EMAIL PROTECTED]> writes: n> Unfortunately the USED column is of little help since it only n> shows you the data unique to that snapshot. In my case almost n> all da

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems -my math doesn't add up

2008-11-07 Thread none
Hi Miles, Thanks for your reply. My zfs situation is a little different from your test. I have a few early snapshots which I believe would still be sharing most of their data with the current filesystem. Then later I have snapshots which would still be holding onto data that is now deleted. So

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems-my math doesn't add up

2008-11-07 Thread Adam.Bodette
I really think there is something wrong with how space is being reported by zfs list in terms of snapshots. Stealing for the example earlier where a new file system was created, 10 1MB files were created and then do snap, remove a file, snap, remove a file, until they are all gone and you are left

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems -my math doesn't add up

2008-11-07 Thread Miles Nordin
> "n" == none <[EMAIL PROTECTED]> writes: n> snapshots referring to old data which has been deleted from n> the current filesystem and I'd like to find out which n> snapshots refer to how much data Imagine you have a filesystem containing ten 1MB files, zfs create root/expo

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems-my math doesn't add up

2008-11-06 Thread none
Hi, Had a look at the new additions from zpool version 13 but I still don't think it will give me the information I was after. Here is what I have gathered, can someone correct me if I'm wrong? 1. The USED property for a snapshot only includes the data that is UNIQUE to that snapshot. 2. The USE

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems-my math doesn't add up

2008-11-06 Thread Romain Chatelain
ECTED] Envoyé : jeudi 6 novembre 2008 22:47 À : zfs-discuss@opensolaris.org Cc : [EMAIL PROTECTED] Objet : Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems-my math doesn't add up Mark - thank you very much for your explanation and example. I really appreciate. Any rantin

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems-my math doesn't add up

2008-11-06 Thread John.Stewart
> I think based on this, there really isn't a good way to know > how much space is being consumed by snapshots? This perl script hacked together by a colleague, given a zfs filesystem, will tell you how much space is used by the files, and how much by the snapshots. This has proven helpful in

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems -my math doesn't add up

2008-11-06 Thread none
Hi, My problem is very similar. I have a bunch of snapshots referring to old data which has been deleted from the current filesystem and I'd like to find out which snapshots refer to how much data, and how they are shared amongst the snapshots and the current filesystem. This is so I can work ou

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems -my math doesn't add up

2008-11-06 Thread John.Stewart
Mark - thank you very much for your explanation and example. I really appreciate. Any ranting below is directed at ZFS, not you. =) > > Snapshot Used Total (GB) == 766.73 > > Filesystem Referenced Total (GB) == 2570.04 Total of Snap Used + FS > > Ref (GB) == 3336.76 > > > > Vol0 filesystem Used

Re: [zfs-discuss] Disk space usage of zfs snapshots and filesystems - my math doesn't add up

2008-11-06 Thread Mark J Musante
Hi John, > Snapshot Used Total (GB) == 766.73 > Filesystem Referenced Total (GB) == 2570.04 > Total of Snap Used + FS Ref (GB) == 3336.76 > > Vol0 filesystem Used (GB) == 5159.35 The sums don't really work that way. Consider this scenario: - I create a dataset and copy 1g into it - I take a snap

[zfs-discuss] Disk space usage of zfs snapshots and filesystems - my math doesn't add up

2008-11-06 Thread John.Stewart
We're running a Thumper with Solaris 10_u4 with 127112-11 kernel patch in production as our mail CIFS/NFS file server. We have a big zpool consisting of 6 raidz2 groups. We have quite a few filesystems underneath that. We use TIm Foster's automatic snapshot service, version 0.10, to do regular s