This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS expanding problem (not growing)

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

ZFS expanding problem (not growing)

Post by yanqc »

Hi,

I just replaced a 2TB in my ZFS pool with a 3TB one and after many different tries, I can't get it to expand. I replaced another disk a few months back and I was doubting the ZFS pool expanded. Now I'm pretty sure it didn't.

Autoexpand is on.

Code: Select all

zpool set autoexpand=on VD1pool
I did replace the disk using the offline and online commands and resilvered averything. I also rebooted asfter resilvering and after trying the following "online" and "export/import" commands.

I tried every little trick (see below) I've seen online and still my pool won't expand.
https://forums.freebsd.org/threads/zfs- ... and.28703/
http://tomasz.korwel.net/2014/01/03/growing-zfs-pool/
http://docs.oracle.com/cd/E19253-01/819 ... index.html
viewtopic.php?f=66&t=9057

My pool showed 16.8T before the whole process and still shows the same. Here's the status.

Code: Select all

nas4free: ~ # zpool status
  pool: VD1pool
 state: ONLINE
status: The pool is formatted using a legacy on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on software that does not support feature
        flags.
  scan: resilvered 40K in 0h0m with 0 errors on Wed Jun 24 13:05:05 2015
config:

        NAME        STATE     READ WRITE CKSUM
        VD1pool     ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            ada0    ONLINE       0     0     0
            ada2    ONLINE       0     0     0
            ada3    ONLINE       0     0     0
            ada4    ONLINE       0     0     0
            ada1    ONLINE       0     0     0
            ada6    ONLINE       0     0     0
            ada5    ONLINE       0     0     0
            ada8    ONLINE       0     0     0
            ada9    ONLINE       0     0     0

errors: No known data errors
Tried bringing every disk online with no luck. The changed disk was ada5 but I've tried with every one just in case. ada7 Being my NAS4FREE install SSD.

Code: Select all

zpool online -e VD1pool /dev/ada1
zpool online -e VD1pool /dev/ada2
zpool online -e VD1pool /dev/ada3
zpool online -e VD1pool /dev/ada4
zpool online -e VD1pool /dev/ada5
zpool online -e VD1pool /dev/ada6
zpool online -e VD1pool /dev/ada8
zpool online -e VD1pool /dev/ada9
Did export and import with no luck

Code: Select all

zpool export VD1pool
zpool import VD1pool
Anyone has a clue?

Thanks so much.
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

User avatar
erico.bettoni
experienced User
experienced User
Posts: 140
Joined: 25 Jun 2012 22:36
Location: São Paulo - Brasil
Status: Offline

Re: ZFS expanding problem (not growing)

Post by erico.bettoni »

The pool will expand after you replace every disk in it.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: ZFS expanding problem (not growing)

Post by raulfg3 »

to add more info: the pool DO NOT expand if you only change one or two disk, the pool only grow if you change all disk in the pool (or in the vdev).

please read this powerpoint: https://forums.freenas.org/index.php?th ... oobs.7775/
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

yanqc
Starter
Starter
Posts: 21
Joined: 24 Oct 2013 18:42
Status: Offline

Re: ZFS expanding problem (not growing)

Post by yanqc »

For some reason, I never got that small detail....

Now to find a way to back up all the data to rebuild my arrays... Thanks for the info guys, much appreciated!
ASUS P5E, x64-embedded on Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz. 8 gigs of RAM. Raidz2 : 9 x WD Red 3Tb.
Version : 10.3.0.3 - Pilingitam (revision 2987)

Post Reply

Return to “ZFS (only!)”