Solved Pool refuses to (auto)expand

Hi everyone,

I really need some help to solve an issue with my ZFS pool refusing to (auto)expand. I have recently cycled through a replacement of my 4 x 3TB drives with 6TB ones. Initially the autoexpand property was not set while I did the first two disks, realised there was an issue then turned it on for the third but after resilvering noticed that it was not autoexpanding.

I tried # zpool online -e <pool> <disk1> <disk2> <disk3> with no success. I tried # zpool scrub <pool> with no success.

# zpool status shows:
Code:
  pool: zpool0
state: ONLINE
  scan: resilvered 2.53T in 75h32m with 0 errors on Tue Nov 18 19:44:44 2014
config:

    NAME                   STATE     READ WRITE CKSUM
    zpool0                 ONLINE       0     0     0
     raidz1-0             ONLINE       0     0     0
       label/84PDN2S.eli  ONLINE       0     0     0
       label/6413346.eli  ONLINE       0     0     0
       label/0044276.eli  ONLINE       0     0     0
       label/84R1TDN.eli  ONLINE       0     0     0

errors: No known data errors

The layout of the GELI disks is
Code:
Geom name: label/0044276.eli
State: ACTIVE
EncryptionAlgorithm: AES-XTS
KeyLength: 128
Crypto: software
Version: 5
UsedKey: 0
Flags: (null)
KeysAllocated: 699
KeysTotal: 699
Providers:
1. Name: label/0044276.eli
   Mediasize: 3000592977920 (2.7T)
   Sectorsize: 4096
   Mode: r1w1e1
Consumers:
1. Name: label/0044276
   Mediasize: 3000592981504 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1

Geom name: label/84R1TDN.eli
State: ACTIVE
EncryptionAlgorithm: AES-CBC
KeyLength: 128
Crypto: software
Version: 7
UsedKey: 0
Flags: NONE
KeysAllocated: 1398
KeysTotal: 1398
Providers:
1. Name: label/84R1TDN.eli
   Mediasize: 6001175121920 (5.5T)
   Sectorsize: 4096
   Mode: r1w1e1
Consumers:
1. Name: label/84R1TDN
   Mediasize: 6001175125504 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1

Geom name: label/84PDN2S.eli
State: ACTIVE
EncryptionAlgorithm: AES-CBC
KeyLength: 128
Crypto: software
Version: 7
UsedKey: 0
Flags: NONE
KeysAllocated: 1398
KeysTotal: 1398
Providers:
1. Name: label/84PDN2S.eli
   Mediasize: 6001175121920 (5.5T)
   Sectorsize: 4096
   Mode: r1w1e1
Consumers:
1. Name: label/84PDN2S
   Mediasize: 6001175125504 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1

Geom name: label/6413346.eli
State: ACTIVE
EncryptionAlgorithm: AES-CBC
KeyLength: 128
Crypto: software
Version: 7
UsedKey: 0
Flags: NONE
KeysAllocated: 1398
KeysTotal: 1398
Providers:
1. Name: label/6413346.eli
   Mediasize: 6001175121920 (5.5T)
   Sectorsize: 4096
   Mode: r1w1e1
Consumers:
1. Name: label/6413346
   Mediasize: 6001175125504 (5.5T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1

Many thanks.
 
All of the disks in the vdev will need to be 6 TB before the pool will auto expand to the full size. Replace the last disk that is showing as still being a 3 TB disk and it will expand.
 
Thanks junovitch I'll give that a try. I was holding out on the last disk in case I needed to use it to dump the files to if I needed to recreate the pool.

And next time I'll RTFM :|

"If the device is part of a mirror or raidz then all devices within that mirror/raidz group must be expanded before the new space is made available to the pool."
 
Back
Top