Hello,
Yesterday i discovered by a complete coincidence that one of the drives in ZFS pool has completely failed without any prior notice. by a complete luck i want to check something in ZFS tab and i saw one of the pools is degraded.
i go today a new 4 TB HDD and installed it, then i ran this command :
the new HDD after resilvering is online and everything is fine again, but i noticed that that the drive reference is different from, here is the zpool status result
My question is. in the zfs tab the first drive which is the old one is referenced like this : /dev/disk/by-id/ata-ST4000VN006-3CW104_ZW60SM7B-part1. The second one is just /dev/sdd .
is that okay.
what happens if i add a new drive and label change ?
Sorry it might be a completely nonsense question.
Thanks
Yesterday i discovered by a complete coincidence that one of the drives in ZFS pool has completely failed without any prior notice. by a complete luck i want to check something in ZFS tab and i saw one of the pools is degraded.
i go today a new 4 TB HDD and installed it, then i ran this command :
zpool replace primary /dev/disk/by-id/ata-ST4000VN006-3CW104_ZW60SLSL-part1 /dev/sdd
the new HDD after resilvering is online and everything is fine again, but i noticed that that the drive reference is different from, here is the zpool status result
root@pve:~# zpool status
pool: primary
state: ONLINE
scan: resilvered 869G in 04:19:35 with 0 errors on Sun Jun 23 05:12:41 2024
config:
NAME STATE READ WRITE CKSUM
primary ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-ST4000VN006-3CW104_ZW60SM7B ONLINE 0 0 0
sdd ONLINE 0 0 0
errors: No known data errors
My question is. in the zfs tab the first drive which is the old one is referenced like this : /dev/disk/by-id/ata-ST4000VN006-3CW104_ZW60SM7B-part1. The second one is just /dev/sdd .
is that okay.
what happens if i add a new drive and label change ?
Sorry it might be a completely nonsense question.
Thanks