- Joined
- Aug 27, 2021
- Messages
- 31
Afte a failure on one of my disks in the boot-pool mirror, I am unable to replace the failed disk.
Im trying to replace the disk with an identical SATADOM as the failed disk(and identical to the remaining disk), but getting an error saying the device is too small.
When I look into the partitioning done it seems like Truenas creates three partitions on the new device, and the old one only havbe two partitions. This seems to make the partition needed too small.
Functional device on the mirror layout:
Disk /dev/sdi: 14.91 GiB, 16013942784 bytes, 31277232 sectors
Disk model: InnoLite SATADOM
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 849F7698-2F7B-11ED-AADC-3CECEF9098E2
Device Start End Sectors Size Type
/dev/sdi1 40 532519 532480 260M EFI System
/dev/sdi2 532520 31268903 30736384 14.7G FreeBSD ZFS
New disk layout:
Disk /dev/sdj: 14.91 GiB, 16013942784 bytes, 31277232 sectors
Disk model: InnoLite SATADOM
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 94F45FFD-588B-4A1F-BEFA-2F5D8D02B1BB
Device Start End Sectors Size Type
/dev/sdj1 40 2087 2048 1M BIOS boot
/dev/sdj2 2088 1050663 1048576 512M EFI System
/dev/sdj3 1050664 31277198 30226535 14.4G Solaris /usr & Apple ZFS
Does anyone know of any magic I can do to rebuild my mirror without doing a reinstall?
Im trying to replace the disk with an identical SATADOM as the failed disk(and identical to the remaining disk), but getting an error saying the device is too small.
When I look into the partitioning done it seems like Truenas creates three partitions on the new device, and the old one only havbe two partitions. This seems to make the partition needed too small.
Functional device on the mirror layout:
Disk /dev/sdi: 14.91 GiB, 16013942784 bytes, 31277232 sectors
Disk model: InnoLite SATADOM
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 849F7698-2F7B-11ED-AADC-3CECEF9098E2
Device Start End Sectors Size Type
/dev/sdi1 40 532519 532480 260M EFI System
/dev/sdi2 532520 31268903 30736384 14.7G FreeBSD ZFS
New disk layout:
Disk /dev/sdj: 14.91 GiB, 16013942784 bytes, 31277232 sectors
Disk model: InnoLite SATADOM
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 94F45FFD-588B-4A1F-BEFA-2F5D8D02B1BB
Device Start End Sectors Size Type
/dev/sdj1 40 2087 2048 1M BIOS boot
/dev/sdj2 2088 1050663 1048576 512M EFI System
/dev/sdj3 1050664 31277198 30226535 14.4G Solaris /usr & Apple ZFS
Does anyone know of any magic I can do to rebuild my mirror without doing a reinstall?