<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Sep 26, 2013, at 1:07 PM, Muhammad Yousuf Khan <<a href="mailto:sirtcp@gmail.com">sirtcp@gmail.com</a>> wrote:</div><div>...</div><blockquote type="cite"><div dir="ltr"><div><br>root@omni:~# zpool list<br>NAME SIZE ALLOC FREE EXPANDSZ CAP DEDUP HEALTH ALTROOT<br>acipool 928G 406G 522G - 43% 1.00x ONLINE -<br>rpool 37G 27.4G 9.60G - 74% 1.00x ONLINE -<br></div></div></blockquote><div>...</div><br><blockquote type="cite"><div dir="ltr"><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">df -h showing size of 284G<br></div><div class="gmail_extra">zfs list showing used 202G available 253G means 202+253 = 455GB<br></div><div class="gmail_extra">
zpool list is showing size 928 which is also not true. lets say if it is
calculating the actual size of the disk rather then usable size then
its still not true.<br>root@omni:~# parted -l | grep Disk<br>Disk /dev/dsk/c1d0p0: 40.0GB<br>
Disk /dev/dsk/c2t0d0p0: 320GB<br>Disk /dev/dsk/c2t1d0p0: 500GB<br>Disk /dev/dsk/c2t2d0p0: 250GB<br>Disk /dev/dsk/c2t3d0p0: 250GB<br><br></div><div class="gmail_extra">if i calculate the physical size 320+500+250+250 = 1320G and zpool list showing 928G.<br></div></div></div></div></blockquote></div><div><br></div><div>This is correct, but you need to understand the math. The available space in a raidz </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>zpool allocatable space = min(all disks) * number of disks</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>= 250 GB * 4</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>= 232 GiB * 4</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>= 928 GiB</div><div><br></div><div>The space available to a file system is a function any quotas, copies, compression,</div><div>reservation, deduplication, metadata, and the actual consumed space.</div><div> -- richard</div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br></div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><a href="mailto:Richard.Elling@RichardElling.com">Richard.Elling@RichardElling.com</a><br>+1-760-896-4422<br><br><br></div></span></div></span></div></span></div></span></div>
</div>
<br></body></html>