6 hours ago6 hr ajito-diagnostics-20261130-2043.zipSetupUnraid 7.2.4, single parity, disks on the onboard AMD 600 series SATA controller.Parity: Seagate ST4000VN006 4 TB. Its partition is "GPT: custom": start sector 2048, 7814033408 sectors (3907016704 KiB).Disk 2 and disk 3: 2 TB, XFS, partition start sector 64.Disk 1 was a 1 TB ST1000DM003 (976762552 KiB). I removed it and installed a brand new ST4000VN006 4 TB (0 power-on hours, SMART passed, same firmware SC60 as parity, 7814037168 sectors, no HPA).Problem The array reports mdState=ERROR:NEW_DISK_TOO_SMALL. The new disk shows a size of 4241706 KiB. Syslog:mdcmd (1): import 0 sdd 2048 3907016704 0 ST4000VN006-3CW104_<parity>mdcmd (3): import 1 sdc 5978154 4241706 0 ST4000VN006-3CW104_<new>The offset 5978154 and size 4241706 stay exactly the samewith the disk completely blank (no signatures, first 64 MiB and last 16 MiB all zero);after creating a partition identical to the parity one (start 2048, 7814033408 sectors; the UI then shows "GPT: custom");after a reboot;with the disk assigned to the empty slot disk 4 instead of disk 1 (status DISK_NEW).after creating an empty XFS filesystem on that partition and assigning the disk to disk 1 again (status DISK_DSBL_NEW, fsType xfs).after moving the disk to another SATA port and replacing the SATA cable (the disk moved from ata2 to ata3).The kernel sees the correct size (3907018584 KiB), and reading the disk works. The drive's FARM log shows 1 power-on hour and 1 head flight hour, no reallocated sectors and no CRC errors.For comparison, a 1 TB NVMe drive assigned to disk 1 for a test is sized correctly (import 1 nvme0n1 2048 976761560; rejected only because it is slightly smaller than the old disk). The array was not started with it.I read forum threads about disks showing a small size because Unraid picks an existing partition (e.g. topics 197074 and 193449), but this disk had no partition table when the problem first appeared.Current state The array starts with disk 1 unassigned: the emulated disk mounts cleanly and the data is there. Last parity check (27 Nov) finished with 0 errors. The old 1 TB disk is kept untouched. I have not used New Config or Format.QuestionsWhere do offset 5978154 and size 4241706 come from?What is the safe way to rebuild disk 1 onto the new 4 TB disk?Diagnostics attached. Edited 6 hours ago6 hr by Fanfaron
5 hours ago5 hr Have you tried the new disk on a different controller, like an add-in SATA card, just to see if the size changes? Could point at the onboard AMD controller or BIOS. Also curious if it does the same on 7.4.1.
5 hours ago5 hr Author Thanks.7.4.1: yes, same problem. The values changed slightly: "mdcmd import 1 sdd 4388672 4245242" (7.2.4 gave 5978154 4241706). The disk was blank at that point.Different controller: not tried yet. All my SATA disks are on the onboard AMD 600 series controller. Moving the new disk to another port with another cable changed nothing. Linux reports the correct size (7814037168 sectors), hdparm -N showed no HPA, and a 1 TB NVMe assigned to disk 1 was sized correctly (2048 976761560).I don't have an add-in SATA card at the moment. If you think the controller is a likely cause, I can get one and test.
5 hours ago5 hr No need to buy a card yet imo. Since hdparm -N showed no HPA, maybe re-run it right after a cold boot too, some boards (Gigabyte does this for a BIOS backup) set an HPA at boot that can be missed. Worth comparing the max sectors it prints to the full 7814037168.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.