[OmniOS-discuss] Raidz2 autoexpand=on not working

Muhammad Yousuf Khan sirtcp at gmail.com
Thu Sep 26 20:07:25 UTC 2013


Sorry, Adding list.
Zpool status showing this it is not showing size of the pool anywhere in
the output

root at omni:~# zpool status acipool
  pool: acipool
 state: ONLINE
  scan: scrub repaired 0 in 0h32m with 0 errors on Wed Sep 25 13:41:38 2013
config:


        NAME        STATE     READ WRITE CKSUM
        acipool     ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            c2t0d0  ONLINE       0     0     0
            c2t1d0  ONLINE       0     0     0
            c2t2d0  ONLINE       0     0     0
            c2t3d0  ONLINE       0     0     0

errors: No known data errors

It is quite confusing every command shows very different output may be my
lack of understanding with the technology.


root at omni:~# df -h

Filesystem                      Size  Used Avail Use% Mounted on
rpool/ROOT/napp-it-0.9b3
   27G   20G  7.0G  75% /
swap                            5.1G  336K  5.1G   1% /etc/svc/volatile
/usr/lib/libc/libc_hwcap1.so.1   27G   20G  7.0G  75% /lib/libc.so.1
swap                            5.1G  1.5M  5.1G   1% /tmp
swap                            5.1G   52K  5.1G   1% /var/run
acipool                         284G   31G  253G  11% /acipool
acipool/aci-nfs                 253G   48K  253G   1% /acipool/aci-nfs
acipool/cmdnfs                  422G  170G  253G  41% /acipool/cmdnfs
acipool/iscsi                   253G   59K  253G   1% /acipool/iscsi
rpool/export                    7.0G   32K  7.0G   1% /export
rpool/export/home               7.0G   31K  7.0G   1% /export/home
rpool                           7.0G   39K  7.0G   1% /rpool

root at omni:~# zfs list acipool
NAME      USED  AVAIL  REFER  MOUNTPOINT
acipool   202G   253G  30.6G  /acipool

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.

O_o any help will be highly appreciated....
Thanks,



On Fri, Sep 27, 2013 at 12:03 AM, Richard Elling <
richard.elling at richardelling.com> wrote:

>
> On Sep 26, 2013, at 2:41 AM, Muhammad Yousuf Khan <sirtcp at gmail.com>
> wrote:
>
> is this a bug or result of wrong configuration, to me it seems like a bug.
> i notice that one of my FS set on top a pool (acipool) and that has been
> grown instead of base pool.
>
>
> The zfs command does not show the size of the pool. What does "zpool
> status" show for the
> size of the pool?
>  -- richard
>
>
> Filesystem                      Size  Used Avail Use% Mounted on
> rpool/ROOT/napp-it-0.9b3         27G   19G  8.3G  70% /
> swap                             13G  340K   13G   1% /etc/svc/volatile
> /usr/lib/libc/libc_hwcap1.so.1   27G   19G  8.3G  70% /lib/libc.so.1
> swap                             13G     0   13G   0% /tmp
> swap                             13G   52K   13G   1% /var/run
> acipool                         284G   25G  259G   9% /acipool
> acipool/aci-nfs                 259G   48K  259G   1% /acipool/aci-nfs
> acipool/cmdnfs                  428G  170G  259G  40% /acipool/cmdnfs
> acipool/iscsi                   259G   58K  259G   1% /acipool/iscsi
>
>
> as u can see acipool/cmdnfs is grown to 428GB which resides on acipool, in
> reality acipool has to be on this size.
>
> here are some other impotent findings.
>
> NAME            PROPERTY              VALUE                  SOURCE
> acipool/cmdnfs  type                  filesystem             -
> acipool/cmdnfs  creation              Tue Sep 10 12:33 2013  -
> acipool/cmdnfs  used                  169G                   -
> acipool/cmdnfs  available             258G                   -
> acipool/cmdnfs  referenced            169G                   -
> acipool/cmdnfs  compressratio         1.00x                  -
> acipool/cmdnfs  mounted               yes                    -
> acipool/cmdnfs  quota                 none                   default
> acipool/cmdnfs  reservation           none                   default
> acipool/cmdnfs  recordsize            128K                   default
> acipool/cmdnfs  mountpoint            /acipool/cmdnfs        default
> acipool/cmdnfs  sharenfs              rw                     local
> ver sub FS grown to the actual disk size.
>
> as you can see the FS size via ZFS command is still the same 258GB which
> previously in df -h command showed as 429GB
>
> any idea.
>
> is this a bug or my wrong configuration, can anybody throw some light on
> this matter.
>
> Thanks,
>
> Myk
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>
> --
>
> Richard.Elling at RichardElling.com
> +1-760-896-4422
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130927/5ef68972/attachment.html>


More information about the OmniOS-discuss mailing list