zpool hasn't expanded

Hi Guys,

I have a raidz zpool that consists of four disks. 2x2TB, 1x1TB and 1x0.75TB.

Originally it was only 1x1TB, 3x0.75TB, and I had around 1.7TB of storage capacity. I've just switched out two of the 0.75TB disks for the 2x2TB ones. I did this one at a time and now the resilvering is complete...however it only shows 2TB of available storage. I was expecting around 3.75TB (using simple manufacturer sizes to make it easier :)) but not as small as 2TB.

Here are some details;

I have autoexpand=on set for the share zpool.

       0. c3t0d0 <ATA-Hitachi HUA72202-A3EA-1.82TB>
          /pci@0,0/pci103c,1609@11/disk@0,0
       1. c3t1d0 <ATA-Hitachi HUA72202-A3EA-1.82TB>
          /pci@0,0/pci103c,1609@11/disk@1,0
       2. c3t2d0 <ATA-ST3750640AS-C-698.64GB>
          /pci@0,0/pci103c,1609@11/disk@2,0
       3. c3t3d0 <ATA-Hitachi HDT72101-A31B-931.51GB>
          /pci@0,0/pci103c,1609@11/disk@3,0
       4. c5d1 <OCZ-AGIL--4U1G8S567R5BJ64-0001 cyl 14590 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@14,1/ide@0/cmdk@1,0
root@server:~# zpool list
NAME    SIZE  ALLOC   FREE  CAP  DEDUP  HEALTH  ALTROOT
rpool   111G  31.5G  79.5G  28%  1.00x  ONLINE  -
share  2.72T  1.71T  1.01T  62%  1.00x  ONLINE  -
root@server:~# zpool status -v
  pool: rpool
 state: ONLINE
  scan: none requested
config:

    NAME      STATE     READ WRITE CKSUM
    rpool     ONLINE       0     0     0
      c5d1s0  ONLINE       0     0     0

errors: No known data errors

  pool: share
 state: ONLINE
  scan: resilvered 436G in 3h6m with 0 errors on Tue Aug 28 18:04:15 2012
config:

    NAME        STATE     READ WRITE CKSUM
    share       ONLINE       0     0     0
      raidz1-0  ONLINE       0     0     0
        c3t0d0  ONLINE       0     0     0
        c3t1d0  ONLINE       0     0     0
        c3t2d0  ONLINE       0     0     0
        c3t3d0  ONLINE       0     0     0

errors: No known data errors
root@server:~# 
root@server:/$ df -h
Filesystem             Size   Used  Available Capacity  Mounted on
rpool/ROOT/solaris     109G   3.7G        78G     5%    /
/devices                 0K     0K         0K     0%    /devices
/dev                     0K     0K         0K     0%    /dev
ctfs                     0K     0K         0K     0%    /system/contract
proc                     0K     0K         0K     0%    /proc
mnttab                   0K     0K         0K     0%    /etc/mnttab
swap                   5.0G   1.3M       5.0G     1%    /system/volatile
objfs                    0K     0K         0K     0%    /system/object
sharefs                  0K     0K         0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap2.so.1
                        81G   3.7G        78G     5%    /lib/libc.so.1
fd                       0K     0K         0K     0%    /dev/fd
rpool/ROOT/solaris/var
                       109G   188M        78G     1%    /var
swap                   5.0G    92K       5.0G     1%    /tmp
rpool/export           109G    32K        78G     1%    /export
rpool/export/home      109G    32K        78G     1%    /export/home
rpool/export/home/me
                       109G    21G        78G    22%    /export/home/me
rpool                  109G    39K        78G     1%    /rpool
/export/home/me      99G    21G        78G    22%    /home/me
share                  2.0T   1.3T       740G    64%    /data
root@server:/$ 

Any advice would be really great. Cheers.

This is one of the better writeups I have come across on your issue: ZFS on different sized disks.

1 Like

Hi fpmurphy,

I'd already read that one.....or so I thought.

My ordering was 2+2+0.75+1

I'm going to switch the disk out one at a time to get them in the correct ordering, leaving the 1tb one till the end so it doesn't expand.

I will let you know how I get on.

Cheers