Resize ZFS Raid

archx

New Member
Sep 5, 2023
1
0
1
Hello community

I swapped my 1tb SSDs for 2tb SSDs. I did this one after the other and by copying the existing partition table. Now I would like to enlarge the entire raid to 2tb. Unfortunately I couldn't find any suitable instructions for this.

How can I use the additional storage space in ZFS?

pve 8.0.4

Code:
zpool status
  pool: rpool
 state: ONLINE
status: Some supported and requested 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(7) for details.
  scan: scrub repaired 0B in 00:21:14 with 0 errors on Sun Nov 12 00:45:15 2023
config:

        NAME                                                   STATE     READ WRITE CKSUM
        rpool                                                  ONLINE       0     0     0
          mirror-0                                             ONLINE       0     0     0
            ata-Samsung_SSD_870_EVO_2TB_S754NX0W736434N-part3  ONLINE       0     0     0
            ata-Samsung_SSD_870_EVO_2TB_S754NX0W736437M-part3  ONLINE       0     0     0

errors: No known data errors

Code:
root@pve:~# fdisk -l
Disk /dev/sda: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D49A8EDB-B2F0-4290-83D6-72CFCEBC931D

Device       Start        End    Sectors  Size Type
/dev/sda1       34       2047       2014 1007K BIOS boot
/dev/sda2     2048    1050623    1048576  512M EFI System
/dev/sda3  1050624 1953525134 1952474511  931G Solaris /usr & Apple ZFS


Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: Samsung SSD 870
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 460479F6-351E-4EF7-AC8D-B45FE1F033C5

Device       Start        End    Sectors  Size Type
/dev/sdb1       34       2047       2014 1007K BIOS boot
/dev/sdb2     2048    1050623    1048576  512M EFI System
/dev/sdb3  1050624 1953525134 1952474511  931G Solaris /usr & Apple ZFS
 
  • Like
Reactions: mo5ki2 and Folke