Hello forum,
I am facing a weird situation on one of my proxmox hosts.
The machine has 10 x 1TB disks on a zfs raidz2 array
which I manualy configured on a previous proxmox version last year
(before the zfs integration in the gui appeared).
Last week one of the disks started acting up (bad sectors) and being kicked out of the array automatically.
So I offlined the disk, shut down the host (the drive was in one of the standard internal bays on an old 16core macpro), removed the failed drive and installl another one.
I did sgdisk -zap and initialize the drive for gpt in the gui, then a zpool replace.
During resilvering the newly replaced drive failed again so I replaced it once more.
The new drive is not resilvering and the state of the array is like this :
root@pve1:~# zdb
tank:
version: 5000
name: 'tank'
state: 0
txg: 1292448
pool_guid: 11140437068772162451
errata: 0
hostid: 656640
hostname: 'pve1'
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 11140437068772162451
children[0]:
type: 'raidz'
id: 0
guid: 14392447650706086278
nparity: 2
metaslab_array: 256
metaslab_shift: 36
ashift: 12
asize: 10001889361920
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 129
children[0]:
type: 'disk'
id: 0
guid: 4653336192466048985
path: '/dev/disk/by-id/ata-WDC_WD10EZEX-08M2NA0_WD-WCC3F2HPJY60-part1'
devid: 'ata-WDC_WD10EZEX-08M2NA0_WD-WCC3F2HPJY60-part1'
phys_path: 'pci-0000:00:1f.2-ata-2'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 130
children[1]:
type: 'disk'
id: 1
guid: 8536830288125222324
path: '/dev/disk/by-id/ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2231388-part1'
devid: 'ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2231388-part1'
phys_path: 'pci-0000:00:1f.2-ata-3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 131
children[2]:
type: 'disk'
id: 2
guid: 13764874921234554197
path: '/dev/disk/by-id/ata-Hitachi_HDE721010SLA330_STN608MS223SJK-part1'
devid: 'ata-Hitachi_HDE721010SLA330_STN608MS223SJK-part1'
phys_path: 'pci-0000:00:1f.2-ata-4'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 132
children[3]:
type: 'disk'
id: 3
guid: 14722789825191027013
path: '/dev/disk/by-id/ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2233102-part1'
devid: 'ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2233102-part1'
phys_path: 'pci-0000:00:1f.2-ata-5'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 133
children[4]:
type: 'disk'
id: 4
guid: 11833690739911254551
path: '/dev/disk/by-id/ata-ST31000333AS_9TE0G3BA-part1'
devid: 'ata-ST31000333AS_9TE0G3BA-part1'
phys_path: 'pci-0000:00:1f.2-ata-6'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 134
children[5]:
type: 'replacing'
id: 5
guid: 17951560309314577806
whole_disk: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 7901178832198104228
path: '/dev/sdg1/old'
phys_path: 'pci-0000:04:00.0-ata-1'
whole_disk: 1
DTL: 17
create_txg: 4
com.delphix:vdev_zap_leaf: 135
offline: 1
children[1]:
type: 'disk'
id: 1
guid: 13617798510350479601
path: '/dev/sdg1'
devid: 'ata-WDC_WD40EZRX-00SPEB0_WD-WCC4E7SKVF34-part1'
phys_path: 'pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0'
whole_disk: 1
not_present: 1
DTL: 167
create_txg: 4
com.delphix:vdev_zap_leaf: 18
offline: 1
resilver_txg: 1269457
children[6]:
type: 'disk'
id: 6
guid: 8732328832337942140
path: '/dev/disk/by-id/scsi-200193c0000000000-part1'
devid: 'scsi-200193c0000000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:0:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 136
children[7]:
type: 'disk'
id: 7
guid: 5652517988193402051
path: '/dev/disk/by-id/scsi-200193c0100000000-part1'
devid: 'scsi-200193c0100000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:1:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 137
children[8]:
type: 'disk'
id: 8
guid: 1917645073663426809
path: '/dev/disk/by-id/scsi-200193c0200000000-part1'
devid: 'scsi-200193c0200000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:2:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 138
children[9]:
type: 'disk'
id: 9
guid: 12626542771498886257
path: '/dev/disk/by-id/scsi-200193c0300000000-part1'
devid: 'scsi-200193c0300000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:3:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 139
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
I tried removing the disks by their guid:
Any ideas on how to fix this?
Thank you all in advance and sorry for the long post.
I am facing a weird situation on one of my proxmox hosts.
The machine has 10 x 1TB disks on a zfs raidz2 array
which I manualy configured on a previous proxmox version last year
(before the zfs integration in the gui appeared).
Last week one of the disks started acting up (bad sectors) and being kicked out of the array automatically.
So I offlined the disk, shut down the host (the drive was in one of the standard internal bays on an old 16core macpro), removed the failed drive and installl another one.
I did sgdisk -zap and initialize the drive for gpt in the gui, then a zpool replace.
During resilvering the newly replaced drive failed again so I replaced it once more.
The new drive is not resilvering and the state of the array is like this :
root@pve1:~# zdb
tank:
version: 5000
name: 'tank'
state: 0
txg: 1292448
pool_guid: 11140437068772162451
errata: 0
hostid: 656640
hostname: 'pve1'
com.delphix:has_per_vdev_zaps
vdev_children: 1
vdev_tree:
type: 'root'
id: 0
guid: 11140437068772162451
children[0]:
type: 'raidz'
id: 0
guid: 14392447650706086278
nparity: 2
metaslab_array: 256
metaslab_shift: 36
ashift: 12
asize: 10001889361920
is_log: 0
create_txg: 4
com.delphix:vdev_zap_top: 129
children[0]:
type: 'disk'
id: 0
guid: 4653336192466048985
path: '/dev/disk/by-id/ata-WDC_WD10EZEX-08M2NA0_WD-WCC3F2HPJY60-part1'
devid: 'ata-WDC_WD10EZEX-08M2NA0_WD-WCC3F2HPJY60-part1'
phys_path: 'pci-0000:00:1f.2-ata-2'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 130
children[1]:
type: 'disk'
id: 1
guid: 8536830288125222324
path: '/dev/disk/by-id/ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2231388-part1'
devid: 'ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2231388-part1'
phys_path: 'pci-0000:00:1f.2-ata-3'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 131
children[2]:
type: 'disk'
id: 2
guid: 13764874921234554197
path: '/dev/disk/by-id/ata-Hitachi_HDE721010SLA330_STN608MS223SJK-part1'
devid: 'ata-Hitachi_HDE721010SLA330_STN608MS223SJK-part1'
phys_path: 'pci-0000:00:1f.2-ata-4'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 132
children[3]:
type: 'disk'
id: 3
guid: 14722789825191027013
path: '/dev/disk/by-id/ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2233102-part1'
devid: 'ata-WDC_WD10EACS-32ZJB0_WD-WCASJ2233102-part1'
phys_path: 'pci-0000:00:1f.2-ata-5'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 133
children[4]:
type: 'disk'
id: 4
guid: 11833690739911254551
path: '/dev/disk/by-id/ata-ST31000333AS_9TE0G3BA-part1'
devid: 'ata-ST31000333AS_9TE0G3BA-part1'
phys_path: 'pci-0000:00:1f.2-ata-6'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 134
children[5]:
type: 'replacing'
id: 5
guid: 17951560309314577806
whole_disk: 0
create_txg: 4
children[0]:
type: 'disk'
id: 0
guid: 7901178832198104228
path: '/dev/sdg1/old'
phys_path: 'pci-0000:04:00.0-ata-1'
whole_disk: 1
DTL: 17
create_txg: 4
com.delphix:vdev_zap_leaf: 135
offline: 1
children[1]:
type: 'disk'
id: 1
guid: 13617798510350479601
path: '/dev/sdg1'
devid: 'ata-WDC_WD40EZRX-00SPEB0_WD-WCC4E7SKVF34-part1'
phys_path: 'pci-0000:00:1d.7-usb-0:3:1.0-scsi-0:0:0:0'
whole_disk: 1
not_present: 1
DTL: 167
create_txg: 4
com.delphix:vdev_zap_leaf: 18
offline: 1
resilver_txg: 1269457
children[6]:
type: 'disk'
id: 6
guid: 8732328832337942140
path: '/dev/disk/by-id/scsi-200193c0000000000-part1'
devid: 'scsi-200193c0000000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:0:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 136
children[7]:
type: 'disk'
id: 7
guid: 5652517988193402051
path: '/dev/disk/by-id/scsi-200193c0100000000-part1'
devid: 'scsi-200193c0100000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:1:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 137
children[8]:
type: 'disk'
id: 8
guid: 1917645073663426809
path: '/dev/disk/by-id/scsi-200193c0200000000-part1'
devid: 'scsi-200193c0200000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:2:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 138
children[9]:
type: 'disk'
id: 9
guid: 12626542771498886257
path: '/dev/disk/by-id/scsi-200193c0300000000-part1'
devid: 'scsi-200193c0300000000-part1'
phys_path: 'pci-0000:06:00.0-scsi-0:0:3:0'
whole_disk: 1
create_txg: 4
com.delphix:vdev_zap_leaf: 139
features_for_read:
com.delphix:hole_birth
com.delphix:embedded_data
I tried removing the disks by their guid:
Any ideas on how to fix this?
Thank you all in advance and sorry for the long post.