OpenSolaris

Printable Version Enter a New Search
Bug ID 6730799
Synopsis want snapused property
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords
Responsible Engineer Matthew Ahrens
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_98
Fixed In snv_98
Release Fixed solaris_nevada(snv_98)
Related Bugs 6738369 , 6757930 , 6784924
Submit Date 29-July-2008
Last Update Date 9-October-2008
Description
Fishworks wants a "snapused" property, so that they can decompose the "used" space for a fs into:

used = unused refrsrv + snapused + headused +
       used by children + children's unused rsrv

(headused can be computed from the other values, but it may be simpler to store it explicitly as well)

snapused is defined as the space that would be freed if all snapshots of that filesystem/volume were destroyed.  (Note, it does not include space in clones that would also have to be destroyed for the snapshots to be destroyed.)
Work Around
N/A
Comments
N/A