bra1n
Dabbler
- Joined
- May 15, 2015
- Messages
- 20
I replaced a failed disk in a raidZ2 config (6 disks) some time ago, and I'm just noticing that the raidZ2 is composed of partitions on the original 5 disks, and the whole disk on the replacement disk:
After digging around it seems like FreeNAS sets up disks by default using two partitions (one with type freebsd-swap with 2G size and one with type freebsd-ZFS containing the rest of the storage on the disk). When I replaced the failed disk on ada3, I must have done it in such a way that those partitions were not recreated and FreeNAS was happy to just use the whole disk (I guess).
The system is working fine, but I would think there would be a way to remove ada3, partition it, and re-add it as a housekeeping effort if nothing else. Does anyone have any thoughts on how to do this?
Code:
pool: tank state: ONLINE scan: resilvered 4.39M in 0 days 00:00:01 with 0 errors on Fri Nov 30 10:31:16 2018 config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 gptid/b0215cb9-fd8c-11e4-85c4-d0509964a7f6 ONLINE 0 0 0 gptid/b0b9c307-fd8c-11e4-85c4-d0509964a7f6 ONLINE 0 0 0 gptid/b14f3f13-fd8c-11e4-85c4-d0509964a7f6 ONLINE 0 0 0 ada3 ONLINE 0 0 0 gptid/b279adfb-fd8c-11e4-85c4-d0509964a7f6 ONLINE 0 0 0 gptid/b30bba6f-fd8c-11e4-85c4-d0509964a7f6 ONLINE 0 0 0 errors: No known data errors
After digging around it seems like FreeNAS sets up disks by default using two partitions (one with type freebsd-swap with 2G size and one with type freebsd-ZFS containing the rest of the storage on the disk). When I replaced the failed disk on ada3, I must have done it in such a way that those partitions were not recreated and FreeNAS was happy to just use the whole disk (I guess).
The system is working fine, but I would think there would be a way to remove ada3, partition it, and re-add it as a housekeeping effort if nothing else. Does anyone have any thoughts on how to do this?