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 PROTECTED], storage/[EMAIL PROTECTED])

Group the blocks (from the entire fs) that have identical "share sets" together 
and call this a "shared collection".  For each "shared collection", report the 
disk usage based on the total number of blocks in that "shared collection".

It is to be expected that a snapshot or fs could appear in more than one 
"shared collection".

eg, 
zfs list-shared
SHARED COLLECTION                                                               
                           USED
(storage/fs, storage/[EMAIL PROTECTED], storage/[EMAIL PROTECTED])              
                100G
(storage/[EMAIL PROTECTED], storage/[EMAIL PROTECTED], storage/[EMAIL 
PROTECTED]) 40G
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to