Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

JMZ

Members
  • Joined

  • Last visited

  1. JMZ changed their profile photo
  2. 1. My Hardware Platform (Chinese OEM NAS — very similar to @riff.79's setup)Chassis / System: TerraMaster T9-423 (9-bay tower NAS). Motherboard: Techvision TVI7309X (ODM board for TerraMaster, PCB rev DL M, batch MP2022-05-26) — Intel Celeron N5095 (Jasper Lake), 32 GB DDR4 (2400 MT/s Gear2, 8-hour MemTest86 48/48 PASS, 0 errors). BIOS: AMI Aptio 5.19, version T7309A12 (06/17/2022) — pure UEFI BIOS (no CSM Configuration menu and no Storage Option ROM disable option exposed). SATA Controllers: Two onboard soldered ASMedia ASM1166 chips (1b21:1166 rev 02), connected via PCIe 3.0 x2 to Root Ports 00:1c.2 (4 drives) and 00:1c.4 (5 drives), routed through 3× Mini-SAS SFF-8643 cables. ASM1166 Firmware Version (read safely from /sys/bus/pci/devices/.../config at offset 0xF0): Both controllers: 19 10 17 00 00 00 (exact same 2019-10-17 build @riff.79 had prior to flashing). Drives / OS: 9× WDC WD140EDGZ-11B1PA0 (14 TB) (27,344,764,928 512-byte sectors) running TrueNAS SCALE 25.10.8 (Linux 6.12.113, OpenZFS 2.3.x), ZFS Stripe (RAID0), ashift=12, recordsize=1M. 2. How This Manifested in TrueNAS / ZFS (Why It Fooled Us for Months)In Unraid, this bug shows up cleanly as recurring parity errors at the exact same sector every month. In ZFS on a non-redundant Stripe, it hides much better and sends you down every wrong rabbit hole: ZFS scrubs only check allocated data blocks, never free space. For over 1.5 years, EFI PART either sat in free space or wasn't hit by scrubs, returning 0 errors. In August 2026, I moved the whole library onto new recordsize=1M datasets when the pool was >85% full, writing live video data right over (total_sectors - 33) mod 2^32 across all 9 drives. From that point on, 30 out of 30 (100%!) of all zed class=checksum events logged across 4 months (August through December 2026) on all 9 drives occurred inside the exact same 1 MiB ZFS offset window: 806,378,016,768 – 806,379,036,672 bytes (which, plus the 1 MiB GPT partition start offset, lands squarely on 806.38 GB). Meanwhile, SMART stayed completely clean (UDMA_CRC_Error_Count = 0), PCIe AER registers (UESta/CESta) were clean, and we chased RAM timings, ASPM, VT-d/IOMMU, SWIOTLB, NCQ, and LPM before checking the zed byte offsets. 3. Controlled Verification & Spare-Drive Testing on TVI7309X (Confirming @riff.79 & @dxwntime)First, a read-only check across all 9 live production drives (sda–sdi) confirmed that every single drive physically had EFI PART at byte offset 806,380,109,312 (769020 MiB + 4,193,792 = sector 1,574,961,151 = (27,344,764,928 - 1) mod 2^32). Decoding that header from /dev/sda showed Current LBA: 27344764927, Backup LBA: 1, Last Usable LBA: 27344764894, and the exact Disk GUID matching /dev/sda's real GPT identifier (24c2ab83-6224-4f7a-ab4b-040f47908f73). Next, to test BIOS behavior safely without touching live data, I exported Volume1, physically pulled all 9 production trays out of the backplane, and inserted one clean spare 14 TB WDC WD140EDGZ-11B1PA0 (identical 27,344,764,928 sectors) into Bay 1: Initial State — Protective MBR (0xEE) WITHOUT LBA 1 GPT Header = NO Write: Out of the box, the spare drive had Disklabel type: dos with a legacy ee GPT protective partition (1..4294967295), but no primary GPT header at LBA 1. Scanning the 806.38 GB window (769020 MiB + 10 MiB) returned nothing — confirming that protective 0xEE in LBA 0 alone is not enough to trigger the ASM1166 write; an actual LBA 1 GPT header is required. Creating Full GPT + Zeroing the Target Zone: I created a standard TrueNAS-equivalent GPT layout (parted -s /dev/sda mklabel gpt mkpart primary 2048s 27344762879s), then zeroed 64 sectors (1,574,961,100 .. 1,574,961,163) via dd if=/dev/zero ... conv=fsync and verified pure 00 00 ... bytes at sector 1,574,961,151. Test A — Warm Reboot with BIOS Fast Boot: Enabled (SATA Support: Last Boot SATA Devices Only): Since @riff.79 noted Fast Boot limited the issue to the boot drive on his boards, I enabled Fast Boot in the AMI Boot tab and set SATA Support to Last Boot SATA Devices Only (the OS boots strictly from M.2 NVMe, not SATA). After a single sudo reboot, EFI PART (45 46 49 20 50 41 52 54, Current LBA = 27344764927) immediately reappeared at sector 1,574,961,151. Exact 33-Sector Blast Radius Check: Checking the exact adjacent boundary sectors proved that sector 1,574,961,118 (1 sector before the 33-sector Backup GPT block) and sector 1,574,961,152 (1 sector after) remained 100% untouched (00 00 ...). Only the exact 33 sectors (16.5 KB) (1,574,961,119 .. 1,574,961,151) are overwritten. Test B — Independent Cold Boot Test (Full AC Power Cut): I re-zeroed those 64 sectors a second time, verified 00 00 ..., ran sudo poweroff, physically cut AC mains power for 20 seconds, and powered back on. Result: EFI PART reappeared identically at sector 1,574,961,151. (Conclusion for this AMI T7309A12 BIOS: SATA Support: Last Boot SATA Devices Only only skips Intel PCH SATA ports; it does not bypass PCIe ASM1166 Option ROM / GPT scanning during UEFI POST. Also, TerraMaster's only newer BIOS T7309A13 from Feb 2023 only addressed boot-order locking). Raw terminal verification logs (also useful as a quick test recipe for others checking their own fixes): # 1. Initial state on spare 14TB drive (Protective MBR 0xEE only, no LBA 1 GPT -> NO EFI PART at 806.38 GB) $ sudo fdisk -l /dev/sda Disk /dev/sda: 12.73 TiB, 14000519643136 bytes, 27344764928 sectors Disklabel type: dos /dev/sda1 1 4294967295 4294967295 2T ee GPT $ sudo dd if=/dev/sda bs=1M skip=769020 count=10 status=none | grep -abo "EFI PART" (empty output) # 2. Create GPT & zero 64 sectors around LBA 1574961151 $ sudo parted -s /dev/sda mklabel gpt mkpart primary 2048s 27344762879s $ sudo dd if=/dev/zero of=/dev/sda bs=512 seek=1574961100 count=64 conv=fsync status=progress $ sudo dd if=/dev/sda bs=512 skip=1574961151 count=1 status=none | od -tx1 -An -N 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 * # 3. After warm reboot (Fast Boot: Enabled / Last Boot SATA Devices Only) $ sudo dd if=/dev/sda bs=512 skip=1574961151 count=1 status=none | od -tx1 -An -N 32 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 be 48 b6 9f 00 00 00 00 ff ff df 5d 06 00 00 00 $ sudo dd if=/dev/sda bs=1M skip=769020 count=10 status=none | grep -abo "EFI PART" 4193792:EFI PART # 4. Exact boundary check (1 sector before & 1 sector after the 33-sector Backup GPT) $ sudo dd if=/dev/sda bs=512 skip=1574961118 count=1 status=none | od -tx1 -An -N 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 $ sudo dd if=/dev/sda bs=512 skip=1574961152 count=1 status=none | od -tx1 -An -N 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 # 5. Re-zeroed, poweroff + 20s AC unplug -> cold boot result: $ sudo dd if=/dev/sda bs=512 skip=1574961151 count=1 status=none | od -tx1 -An -N 32 45 46 49 20 50 41 52 54 00 00 01 00 5c 00 00 00 be 48 b6 9f 00 00 00 00 ff ff df 5d 06 00 00 00 4193792:EFI PART 4. Our Workaround for TrueNAS / ZFS (Without Flashing Onboard Chips)For anyone on ZFS/TrueNAS with soldered ASM1166 19 10 17 and no BIOS Option ROM toggle: Unlike XFS/Unraid, pinning a dummy file over those 33 sectors in ZFS isn't clean (ZFS scrub will still throw persistent CKSUM alerts on every scrub), and using "raw whole disks without GPT" doesn't work in OpenZFS/TrueNAS (zpool create /dev/sdX creates a GPT label automatically via zpool_label_disk(), MBR caps at 2.19 TB, and TrueNAS relies on PARTUUID). Instead, during my upcoming rebuild from Stripe to RAIDZ1, I am simply isolating those 33 sectors outside any partition using an 8 MiB unallocated gap: Partition 1 on each drive: sectors 2048 .. 1,574,952,959 (~750.99 GiB per drive -> separate small ~6 TiB RAIDZ1 pool for cold/rarely accessed datasets), 8 MiB unallocated dead-zone gap: sectors 1,574,952,960 .. 1,574,969,343 (safely encloses 1,574,961,119 .. 1,574,961,151), Partition 2 on each drive: sectors 1,574,969,344 .. 27,344,762,879 (~11.98 TiB per drive -> main ~95.5 TiB RAIDZ1 pool). That way, ASM1166 can stamp EFI PART into unallocated dead space on every reboot without ever touching ZFS data (and remember: without isolating this spot, a 9-drive RAIDZ1 could get stamped across multiple drives in the same stripe simultaneously!). 5. Questions for @riff.79 (and @Morbo / @dxwntime) Regarding 24 06 25 00 00 05Seeing @riff.79 jump cleanly from 19 10 17 00 00 00 to 24 06 25 00 00 05 on two Chinese OEM NAS motherboards with dual onboard ASM1166 + AMI BIOS caught my attention. To be clear: I have zero intention of blindly flashing soldered chips on a production board right now (before ever considering it, I'd verify the exact board match, check the physical SPI flash chip model/capacity on the PCB, check the firmware binary size, and have an external SPI programmer clip ready as a safety net). Still, I'd love to ask a few specifics that might help @Morbo and others as well: @riff.79: Could you share the exact brand/model of your two Chinese OEM NAS motherboards? Was one of them by any chance a TerraMaster (e.g., T9-423 / F4-423 / F6-424), or another OEM (Topton, Aoostar, Ugreen, CWWK, etc.)? Where did "the vendor's flash tool" and 24 06 25 00 00 05 come from (official vendor support, or a public/OEM package)? Could you share the exact tool/package name and what OS you flashed from (Windows, DOS, EFI Shell, or Linux)? After updating the onboard chips to 24 06 25 00 00 05, did board-specific OEM features stay intact — especially Staggered Spin-up (SSS) (critical on my board for a 250W Flex-ATX PSU starting 9× 7200 RPM HDDs) and backplane drive LEDs? For @Morbo / @dxwntime: since @Morbo still hit the same wrapped GPT bug on 211108-0000-00, has anyone confirmed whether 221118-0000-00 (or another publicly available build) fixes it, or is 240625+ (240625 / 250613) the actual cutoff where ASMedia fixed the 32-bit LBA wrap in Option ROM? Thanks in advance for any details! Hopefully the full sector-level ZFS breakdown and spare-drive verification steps help others still tracking down "random" CRC/parity errors on ASM1166 19 10 17 boards.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.