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 snapshots of all
filesystems.
 
Over the weekend, we hit 90% space usage (which, it seemed also caused
some serious NFS and performance issues, but that's not why I'm
writing)... the reason I'm writing is that It seems we're missing some
terabytes of storage.
 
Here's how I gathered my data:
 
First, I gathered the used and referenced for all snapshots and
filesystems:

        zfs get -Hpr used,referenced vol0 > vol0_all_used_referenced

Then I chunked this into four seperate files:

        grep snap vol0_all_used_referenced | grep used > vol0_snap_used
        grep snap vol0_all_used_referenced | grep referenced >
vol0_snap_referenced
        grep -v snap vol0_all_used_referenced | grep used > vol0_fs_used
        grep -v snap vol0_all_used_referenced | grep referenced >
vol0_fs_referenced

I pulled these files into Excel. I summed all of the snapshot "used"
fields, and get 0.75TB. The sum of all of the filesystem "referenced"
fields is 2.51TB, for a total of 3.26TB. However, the vol0 "used" numer
shows 5.04TB.
 
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

Where is my missing disk space? Or am I misunderstanding something as
far as how this data is reported?
 
I've got an open case with Sun on this... but so far the tech has not
been able to explain either where this space has gone, or what I've done
wrong in my methodology to build this data.
 
Can anyone here shed light?
 
thank you!
 
johnS
 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to