Hello Team.
I am trying to upgrade zfs pool from current 1tb to 2TB , So I follow the following method to upgrade the disk ,
Identify one disk at a time by serial number.
zpool offline zpool0 <disk ID>
Remove the drive.
Replace with the larger drive.
zpool replace zpool0 <old disk ID> <new disk ID>
Wait for resilver to complete.
Repeat from 1.
After upgrading and every thing is completed I was still not able to upgrade zfspool . Experts please help me to find its solution
zpool status
pool: HDD-1TB-MIR
state: ONLINE
scan: resilvered 16.3G in 00:02:20 with 0 errors on Mon Dec 11 17:16:28 2023
config:
NAME STATE READ WRITE CKSUM
HDD-1TB-MIR ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4N2901011 ONLINE 0 0 0
ata-WDC_WD20PURX-64P6ZY0_WD-WCC4M7EPKNTF ONLINE 0 0 0
zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
HDD-1TB-MIR 928G 22.3G 906G - 928G 0% 2% 1.00x ONLINE -
zdb
HDD-1TB-MIR:
version: 5000
name: 'HDD-1TB-MIR'
state: 0
txg: 652
pool_guid: 6085611372965362768
errata: 0
hostid: 675303793
hostname: 'host1'
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 6085611372965362768
create_txg: 4
children[0]:
type: 'mirror'
id: 0
guid: 7893638117974270062
metaslab_array: 65
metaslab_shift: 33
ashift: 12
asize: 1000189984768
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 129
children[0]:
type: 'disk'
id: 0
guid: 4180064055721156307
path: '/dev/disk/by-id/ata-WDC_WD20EZRX-00D8PB0_WD-WMC4N2901011-part1'
devid: 'ata-WDC_WD20EZRX-00D8PB0_WD-WMC4N2901011-part1'
phys_path: 'pci-0000:03:00.0-scsi-0:0:2:0'
whole_disk: 1
DTL: 3366
create_txg: 4
com.delphix:vdev_zap_leaf: 3364
children[1]:
type: 'disk'
id: 1
guid: 18371171321663400915
path: '/dev/disk/by-id/ata-WDC_WD20PURX-64P6ZY0_WD-WCC4M7EPKNTF-part1'
devid: 'ata-WDC_WD20PURX-64P6ZY0_WD-WCC4M7EPKNTF-part1'
phys_path: 'pci-0000:03:00.0-scsi-0:0:5:0'
whole_disk: 1
DTL: 2458
create_txg: 4
com.delphix:vdev_zap_leaf: 2456
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
I am trying to upgrade zfs pool from current 1tb to 2TB , So I follow the following method to upgrade the disk ,
Identify one disk at a time by serial number.
zpool offline zpool0 <disk ID>
Remove the drive.
Replace with the larger drive.
zpool replace zpool0 <old disk ID> <new disk ID>
Wait for resilver to complete.
Repeat from 1.
After upgrading and every thing is completed I was still not able to upgrade zfspool . Experts please help me to find its solution
zpool status
pool: HDD-1TB-MIR
state: ONLINE
scan: resilvered 16.3G in 00:02:20 with 0 errors on Mon Dec 11 17:16:28 2023
config:
NAME STATE READ WRITE CKSUM
HDD-1TB-MIR ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-WDC_WD20EZRX-00D8PB0_WD-WMC4N2901011 ONLINE 0 0 0
ata-WDC_WD20PURX-64P6ZY0_WD-WCC4M7EPKNTF ONLINE 0 0 0
zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
HDD-1TB-MIR 928G 22.3G 906G - 928G 0% 2% 1.00x ONLINE -
zdb
HDD-1TB-MIR:
version: 5000
name: 'HDD-1TB-MIR'
state: 0
txg: 652
pool_guid: 6085611372965362768
errata: 0
hostid: 675303793
hostname: 'host1'
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 6085611372965362768
create_txg: 4
children[0]:
type: 'mirror'
id: 0
guid: 7893638117974270062
metaslab_array: 65
metaslab_shift: 33
ashift: 12
asize: 1000189984768
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 129
children[0]:
type: 'disk'
id: 0
guid: 4180064055721156307
path: '/dev/disk/by-id/ata-WDC_WD20EZRX-00D8PB0_WD-WMC4N2901011-part1'
devid: 'ata-WDC_WD20EZRX-00D8PB0_WD-WMC4N2901011-part1'
phys_path: 'pci-0000:03:00.0-scsi-0:0:2:0'
whole_disk: 1
DTL: 3366
create_txg: 4
com.delphix:vdev_zap_leaf: 3364
children[1]:
type: 'disk'
id: 1
guid: 18371171321663400915
path: '/dev/disk/by-id/ata-WDC_WD20PURX-64P6ZY0_WD-WCC4M7EPKNTF-part1'
devid: 'ata-WDC_WD20PURX-64P6ZY0_WD-WCC4M7EPKNTF-part1'
phys_path: 'pci-0000:03:00.0-scsi-0:0:5:0'
whole_disk: 1
DTL: 2458
create_txg: 4
com.delphix:vdev_zap_leaf: 2456
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data