Thibaut
Dabbler
- Joined
- Jun 21, 2014
- Messages
- 33
Hello,
I recently noticed that, after replacing two disks in a pool, the newly inserted devices / partitions are not referenced as the other ones in the pool.
The pool is composed of a stripe of 4 RAIDZ1. Most RAIDZ1 devices are referred by their gptid, or should I say "used to be referred", because I recently noticed that, after replacing two HDD, the newly inserted drives are now referred differently, here is the output of the
raidz1-1 has one device referred as
When SMART alerts indicate a drive will soon fail (xx Offline uncorrectable sectors), I always use the FreeNAS interface to replace the failing hard disk, using Storage > Pools > Status, then choosing the Offline menu in front of the targeted drive. Then I physically replace the disk and use the Replace option to select the newly inserted device.
Up until now it always automatically partitioned the new device and referred the second partition's gptid as the RAIDZ1 member.
But now I realize that the last two hard disks I replaced where not referenced in the same way, opening the risk of messing things up in case the hard drives would be placed in a different bay...
Could anyone help me understand why those last two replacements didn't went as the previous ones?
Also what would be the best way to re-reference the two existing devices using their gptid instead of their current ones, of course possibly avoiding having to re-silver the whole pool in the process?
Any help would be appreciated, thank you.
I recently noticed that, after replacing two disks in a pool, the newly inserted devices / partitions are not referenced as the other ones in the pool.
The pool is composed of a stripe of 4 RAIDZ1. Most RAIDZ1 devices are referred by their gptid, or should I say "used to be referred", because I recently noticed that, after replacing two HDD, the newly inserted drives are now referred differently, here is the output of the
zpool status -v
command:Code:
# zpool status -v Pool-1 pool: Pool-1 state: ONLINE scan: scrub repaired 0 in 0 days 13:51:01 with 0 errors on Sun Dec 13 13:51:07 2020 config: NAME STATE READ WRITE CKSUM Jobs ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/229a228f-9aa6-11e5-bb5e-002590e7df5a ONLINE 0 0 0 gptid/a85cae2c-6585-11e5-bbff-002590e7df5a ONLINE 0 0 0 gptid/0a7abf4f-581b-11e6-a62d-002590e7df5a ONLINE 0 0 0 gptid/764bb79a-3478-11e6-b459-002590e7df5a ONLINE 0 0 0 gptid/6361e5f9-ae21-11e4-9240-002590e7df5a ONLINE 0 0 0 raidz1-1 ONLINE 0 0 0 gptid/e163561d-82a4-11e7-b04c-002590e7df5a ONLINE 0 0 0 gptid/aec6fa23-e9cf-11e8-8a9f-002590e7df5a ONLINE 0 0 0 da16 ONLINE 0 0 0 gptid/98c748c3-6146-11e6-a8e5-002590e7df5a ONLINE 0 0 0 gptid/aa2cf2e7-cb6e-11e9-aa2d-002590c9a764 ONLINE 0 0 0 raidz1-2 ONLINE 0 0 0 da0p2 ONLINE 0 0 0 gptid/6c0e1ea3-db79-11e6-a83f-002590e7df5a ONLINE 0 0 0 gptid/4b34719b-b135-11e9-aa2d-002590c9a764 ONLINE 0 0 0 gptid/81313c49-3a50-11e8-9182-002590e7df5a ONLINE 0 0 0 gptid/b28a0cba-0d21-11e5-907b-002590e7df5a ONLINE 0 0 0 raidz1-3 ONLINE 0 0 0 gptid/dbb2a4a8-8cff-11e7-9f74-002590e7df5a ONLINE 0 0 0 gptid/a57c71e5-5307-11e5-bf52-002590e7df5a ONLINE 0 0 0 gptid/c9d378ba-927f-11e7-a3c5-002590e7df5a ONLINE 0 0 0 gptid/5e9ced60-4ef5-11e7-a16c-002590e7df5a ONLINE 0 0 0 gptid/43ac215e-4c9b-11e8-a9f9-002590e7df5a ONLINE 0 0 0 errors: No known data errors
raidz1-1 has one device referred as
da16
, and raidz1-2 has one referred as da0p2
.When SMART alerts indicate a drive will soon fail (xx Offline uncorrectable sectors), I always use the FreeNAS interface to replace the failing hard disk, using Storage > Pools > Status, then choosing the Offline menu in front of the targeted drive. Then I physically replace the disk and use the Replace option to select the newly inserted device.
Up until now it always automatically partitioned the new device and referred the second partition's gptid as the RAIDZ1 member.
But now I realize that the last two hard disks I replaced where not referenced in the same way, opening the risk of messing things up in case the hard drives would be placed in a different bay...
Could anyone help me understand why those last two replacements didn't went as the previous ones?
Also what would be the best way to re-reference the two existing devices using their gptid instead of their current ones, of course possibly avoiding having to re-silver the whole pool in the process?
Any help would be appreciated, thank you.