[OmniOS-discuss] Raidz2 autoexpand=on not working

Richard Elling richard.elling at richardelling.com
Thu Sep 26 20:19:50 UTC 2013


On Sep 26, 2013, at 1:07 PM, Muhammad Yousuf Khan <sirtcp at gmail.com> wrote:
...
> 
> root at omni:~# zpool list
> NAME      SIZE  ALLOC   FREE  EXPANDSZ    CAP  DEDUP  HEALTH  ALTROOT
> acipool   928G   406G   522G         -    43%  1.00x  ONLINE  -
> rpool      37G  27.4G  9.60G         -    74%  1.00x  ONLINE  -
...

> 
> df -h showing size of 284G
> zfs list showing used 202G available 253G  means 202+253 = 455GB
> 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.
> root at omni:~# parted -l | grep Disk
> Disk /dev/dsk/c1d0p0: 40.0GB
> Disk /dev/dsk/c2t0d0p0: 320GB
> Disk /dev/dsk/c2t1d0p0: 500GB
> Disk /dev/dsk/c2t2d0p0: 250GB
> Disk /dev/dsk/c2t3d0p0: 250GB
> 
> if i calculate the physical size 320+500+250+250 = 1320G and zpool list showing 928G.


This is correct, but you need to understand the math. The available space in a raidz 
	zpool allocatable space = min(all disks) * number of disks
		= 250 GB * 4
		= 232 GiB * 4
		= 928 GiB

The space available to a file system is a function any quotas, copies, compression,
reservation, deduplication, metadata, and the actual consumed space.
 -- richard

--

Richard.Elling at RichardElling.com
+1-760-896-4422



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130926/74d14a37/attachment.html>


More information about the OmniOS-discuss mailing list