Solved Expanding ZFS pool

Hi, I am using 13.0-RELEASE-p4.
I have a zfs pool with 15 disks, 500 GB each.
This pool is used for /var/mail, not for root filesystem.
Here the pool details:

Code:
zpool status
  pool: mail
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
config:

        NAME        STATE     READ WRITE CKSUM
        mail        ONLINE       0     0     0
          raidz2-0  ONLINE       0     0     0
            ada0    ONLINE       0     0     0
            ada1    ONLINE       0     0     0
            ada2    ONLINE       0     0     0
            ada3    ONLINE       0     0     0
            ada4    ONLINE       0     0     0
            ada5    ONLINE       0     0     0
            ada6    ONLINE       0     0     0
          raidz2-1  ONLINE       0     0     0
            ada7    ONLINE       0     0     0
            ada8    ONLINE       0     0     0
            ada9    ONLINE       0     0     0
            ada10   ONLINE       0     0     0
            ada11   ONLINE       0     0     0
            ada12   ONLINE       0     0     0
            ada13   ONLINE       0     0     0
        spares
          ada14     AVAIL  

errors: No known data errors

  pool: zroot
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
config:

        NAME        STATE     READ WRITE CKSUM
        zroot       ONLINE       0     0     0
          gpt/zfs0  ONLINE       0     0     0

errors: No known data errors

I would need to allocate more space on this pool.
I wondering if it will be possible to replace disks (one by one?), eg. with 1 TB disks?

Thank you
 
I wondering if it will be possible to replace disks (one by one?), eg. with 1 TB disks?
Yes. It's going to be a long and tedious process (especially when the filesystems are constantly in use) but it'll work. You could only upgrade the 7 disks of a single RAID-Z2 vdev. That would already expand the size.
 
Yes. It's going to be a long and tedious process (especially when the filesystems are constantly in use) but it'll work. You could only upgrade the 7 disks of a single RAID-Z2 vdev. That would already expand the size.
Hi SirDice, thank you. So I could buy 7 x 1 TB hard disk, and get more space. Correct?
 
Hi SirDice, thank you. So I could buy 7 x 1 TB hard disk, and get more space. Correct?
Yes, your pool consists of two RAID-Z2 vdevs. Just changing the drives of one of them would increase the size of the pool. But as Andriy already noted keep in mind that the additional space will only become available when all the drives of that vdev have been replaced.
 
Back
Top