Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 35 |
Nodes: | 6 (0 / 6) |
Uptime: | 29:14:11 |
Calls: | 322 |
Calls today: | 1 |
Files: | 959 |
Messages: | 81,834 |
Posted today: | 3 |
I should have used /dev/disk/by-id/ata-WDC_WD5000* notations instead!
Unfortunately, I have not found the way to change these notations
other than deleting the whole zpool and re-creating it anew with
the notations /dev/disk/by-id/ata-WDC_WD5000*, which took quite
a lot of time.
Thank you for your reply.
I will look into the link but, as far as I understand,
it does not answer the question why one of my ZFS disks does not
appear in /dev/disk/by-id/ directory when I boot my computer with
additional disk connected to it.
After setting up one of them as a ZFS mirror, I immediately
got the problem that if I boot my system with additional HDD
connected to my computer, one of these ZFS mirror disks
is not detected and the corresponding zpool appears to be degraded.
I have realized that it was my fault to use /dev/sdb and /dev/sdc
notations when setting up the ZFS mirror because with more disks
at the boot time these notations may change.
I should have used /dev/disk/by-id/ata-WDC_WD5000* notations instead!
Unfortunately, I have not found the way to change these notations
other than deleting the whole zpool and re-creating it anew with
the notations /dev/disk/by-id/ata-WDC_WD5000*, which took quite
a lot of time.
Presumably, the problem with detecting my ZFS mirror HDDs
should have disappeared after that because now the disks were
referred to by their ids but unfortunately it was not the case.
When I boot my computer with an additional external HDD
attached to the computer via USB, one of my ZFS mirror HDDs
is not detected by the system and the corresponding zpool again
appears to be degraded until I restart my computer in the usual
setup, that is, without any additional HDD attached to it.
I have looked into my /dev/disk/by-id/ directory and found out
that this happens because one of these ZFS mirror HDDs
does not appear in this directory at all!
The situation remained the same even after swapping the
undetected 500GB WD HDD with the one.
So, I wonder if it is a fault of
1) refurbished WD HDDs
2) my almost 20 years old Ultra-Durable Gigabyte motherboard
3) the Linux system itself.
The problem is that after booting with an additional HDD,
one of these ZFS HDDs does not report any of its disk id:
nor wwn neighter in the form ata-WDC_WD5000*.
And now, this makes me think that the problem is indeed with the SATA port.The situation remained the same even after swapping the
undetected 500GB WD HDD with the one.