I have the following pool: NAME SIZE USED AVAIL CAP HEALTH ALTROOT OIRT 6.31T 3.72T 2.59T 58% ONLINE / "zfs list" shows the following for a typical file system: NAME USED AVAIL REFER MOUNTPOINT OIRT/sakai/production 1.40T 1.77T 1.40T /OIRT/sakai/production Why is available lower when shown by zfs than zpool? -- This message posted from opensolaris.org
one shows pool size, one shows filesystem size. the pool size is based on raw space. the zfs list size shows how much is used and how much usable space is ableable. for instance, i use raidz2 with 1tb drives so if i do zpool list i see ALL the space, including parity, but if i do zfs list i only see how much space the filesystem seems. 2 different tools for 2 different jobs. On Sat, Feb 13, 2010 at 12:28 PM, Charles Hedrick <hedrick at rutgers.edu>wrote:> I have the following pool: > > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > OIRT 6.31T 3.72T 2.59T 58% ONLINE / > > "zfs list" shows the following for a typical file system: > > NAME USED AVAIL REFER MOUNTPOINT > OIRT/sakai/production 1.40T 1.77T 1.40T /OIRT/sakai/production > > Why is available lower when shown by zfs than zpool? > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100213/4e44992d/attachment.html>
Hi Charles, What kind of pool is this? The SIZE and AVAIL amounts will vary depending on the ZFS redundancy and whether the deflated or inflated amounts are displayed. I attempted to explain the differences in the zpool list/zfs list display, here: http://hub.opensolaris.org/bin/view/Community+Group+zfs/faq#HZFSAdministrationQuestions Why doesn''t the space that is reported by the zpool list command and the zfs list command match? The zpool list command output in this FAQ is based on the OpenSolaris/ Nevada builds and differs in the AVAIL column, which is now displayed as ALLOC and FREE. Thanks, Cindy On 02/13/10 10:28, Charles Hedrick wrote:> I have the following pool: > > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > OIRT 6.31T 3.72T 2.59T 58% ONLINE / > > "zfs list" shows the following for a typical file system: > > NAME USED AVAIL REFER MOUNTPOINT > OIRT/sakai/production 1.40T 1.77T 1.40T /OIRT/sakai/production > > Why is available lower when shown by zfs than zpool?