veikko
Cadet
- Joined
- Dec 9, 2021
- Messages
- 3
Hi all!
I realized a failed disk the other day and took a replacement drive from the shelf. It did not want to replace, and gave an error "disk is too small". I have 14 identical disks that have not yet added to the pool. They all are checked them all with geom disk list.
It is fairly new system, it has been Truenas CORE 12 all the time. Initially installed at August with version 12.0 U5, currently running 12.0 U7.
I was checking the error and found out that formatting a blank drive creates different kind of partitions than the initial disks. It seems that the newer ZFS version or Truenas (apparently) formats drives with larger first partition, and there is not enough space for the data partition to be as large as the previous. In the following code snip the da22 is the failed drive and the da24 is the replacement drive.
The first is the failed disk that has partition 1 as 15T and partition 9 as 8M, and 1M free in the head.
The replacement drive shows that there is 1 partition with 2G in size, and after that partition 2 with 15T in size, but approg 2G smaller than the failed one. Hence, the "disk is too small" warning.
I also created a hot spare from one of the disks, and it had same type of partition scheme, with 2G first partition taking too much space for the data to be big enough.
I wonder does anyone know what's happening?
I have been running linux boxes with ubuntu and zfs on linux for years, and never ever had problems like this.
I highly appreciate any input or comments.
Cheers!
I realized a failed disk the other day and took a replacement drive from the shelf. It did not want to replace, and gave an error "disk is too small". I have 14 identical disks that have not yet added to the pool. They all are checked them all with geom disk list.
Code:
Geom name: da22 Providers: 1. Name: da22 Mediasize: 16000900661248 (15T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 descr: SEAGATE ST16000NM002G lunid: 5000c500caeb5ab7 ident: ZL29ZABR0000C1122R4K rotationrate: 7200 fwsectors: 63 fwheads: 255 Geom name: da24 Providers: 1. Name: da24 Mediasize: 16000900661248 (15T) Sectorsize: 512 Stripesize: 4096 Stripeoffset: 0 Mode: r0w0e0 descr: SEAGATE ST16000NM002G lunid: 5000c500ca710163 ident: ZL26F7MN0000C04402UY rotationrate: 7200 fwsectors: 63 fwheads: 255
It is fairly new system, it has been Truenas CORE 12 all the time. Initially installed at August with version 12.0 U5, currently running 12.0 U7.
I was checking the error and found out that formatting a blank drive creates different kind of partitions than the initial disks. It seems that the newer ZFS version or Truenas (apparently) formats drives with larger first partition, and there is not enough space for the data partition to be as large as the previous. In the following code snip the da22 is the failed drive and the da24 is the replacement drive.
Code:
=> 34 31251759037 da22 GPT (15T) 34 2014 - free - (1.0M) 2048 31251738624 1 zfs-97df2acf8286b812 (15T) 31251740672 16384 9 (null) (8.0M) 31251757056 2015 - free - (1.0M) => 40 31251759024 da24 GPT (15T) 40 88 - free - (44K) 128 4194304 1 (null) (2.0G) 4194432 31247564632 2 (null) (15T)
The first is the failed disk that has partition 1 as 15T and partition 9 as 8M, and 1M free in the head.
The replacement drive shows that there is 1 partition with 2G in size, and after that partition 2 with 15T in size, but approg 2G smaller than the failed one. Hence, the "disk is too small" warning.
I also created a hot spare from one of the disks, and it had same type of partition scheme, with 2G first partition taking too much space for the data to be big enough.
I wonder does anyone know what's happening?
I have been running linux boxes with ubuntu and zfs on linux for years, and never ever had problems like this.
Supermicro x10
Dual Xenon CPU E5-2643 v4 @ 3.40GHz
64G ECC ram
Mellanox Connectx3 40G networking
Supermicro 36bay chassis
2x 120G mirror zfs ssd boot pool
1x 512G nvme cache
1x 512G nvme log device
2x12-disk raidz2 16T Seagate Exos SAS3 media drives
12x 16T Seagate Exos SAS3 media drives waiting for pool expansion (after this is sorted out)
2x 16T Seagate Exos SAS3 media drives cold spares
Truenas 12.0 U7
Dual Xenon CPU E5-2643 v4 @ 3.40GHz
64G ECC ram
Mellanox Connectx3 40G networking
Supermicro 36bay chassis
2x 120G mirror zfs ssd boot pool
1x 512G nvme cache
1x 512G nvme log device
2x12-disk raidz2 16T Seagate Exos SAS3 media drives
12x 16T Seagate Exos SAS3 media drives waiting for pool expansion (after this is sorted out)
2x 16T Seagate Exos SAS3 media drives cold spares
Truenas 12.0 U7
I highly appreciate any input or comments.
Cheers!