# [OmniOS-discuss] Raidz2 autoexpand=on not working

Muhammad Yousuf Khan sirtcp at gmail.com
Wed Sep 25 19:36:40 UTC 2013

- Previous message: [OmniOS-discuss] file system organisation for pkg packages
- Next message: [OmniOS-discuss] Raidz2 autoexpand=on not working
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Raidz2  size is not expanding to the lowest attached drives. here is what i
    mean.
    first i had . 2x160GB drives and 2x250 drives and per the rule i have got
    300GB of working space as Raidz2 consider smallest hard drives and demote
    the bigger one.

    now i replaced 2x160 with  a 500GB and a 320GB drive respectively here is
    detail.

    AVAILABLE DISK SELECTIONS:
           0. c1d0 <Unknown-Unknown-0001 cyl 4862 alt 2 hd 255 sec 63>
              /pci at 0,0/pci-ide at 1f,1/ide at 0/cmdk at 0,0
           1. c2t0d0 <ATA-ST3320613AS-CC2J-298.09GB>
              /pci at 0,0/pci1028,1c1 at 1f,2/disk at 0,0
           2. c2t1d0 <ATA-WDC WD5001AALS-0-3B01-465.76GB>
              /pci at 0,0/pci1028,1c1 at 1f,2/disk at 1,0
           3. c2t2d0 <ATA-Hitachi HDP72502-A5FA-232.89GB>
              /pci at 0,0/pci1028,1c1 at 1f,2/disk at 2,0
           4. c2t3d0 <ATA-Hitachi HDP72502-A5FA-232.89GB>
              /pci at 0,0/pci1028,1c1 at 1f,2/disk at 3,0

    and here is my zpool status

            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

    root at omni:~# zpool get all acipool | grep  auto
    acipool  autoreplace            off                    default
    acipool  autoexpand             on                     local

    so as per the rule, it should have consider the lowest capacity drive x 2
    and in my case it should be 250GBx2 = 500GB however the df output still
    shows the old 300GB size.

    Filesystem                      Size  Used Avail Use% Mounted on
    rpool/ROOT/napp-it-0.9b3         27G   19G  8.3G  70% /
    swap                             13G  352K   13G   1% /etc/svc/volatile
    /usr/lib/libc/libc_hwcap1.so.1   27G   19G  8.3G  70% /lib/libc.so.1
    swap                             13G  8.0K   13G   1% /tmp
    swap                             13G   52K   13G   1% /var/run
    rpool/export/home               8.3G   31K  8.3G   1% /export/home
    rpool                           8.3G   39K  8.3G   1% /rpool
    acipool                         284G   25G  259G   9% /acipool

    you can see my acipool is almost 300GB which is reflecting the old size.
    but as per the Raiz2 rule it should have been 500GB.

    i tried zpool export/import and also "zpool online -e poolname drivename"
    and tried this on all drives but still no luck
    i also restarted the server it also didnt work. however i had a ubuntu
    destkop on which -e function was working correctly.

    any help will be highly appreciated.

    Thanks,

    Myk
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20130926/417f3466/attachment-0001.html>

- Previous message: [OmniOS-discuss] file system organisation for pkg packages
- Next message: [OmniOS-discuss] Raidz2 autoexpand=on not working
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list