Defective hard drives

Hello,

I have a Truenas Core running a pool in RAIDZ with 3* Segate X16 16TB hard drives and a 480GB SSD as cache. Now one of the hard drives is defective. So I bought a new one and wanted to replace the hard drive. Now I get the error message that the hard drive is too small, although it is exactly the same hard drive. I don’t want to buy another larger hard drive.

Kind regards Moritz

Please provide the output of
zpool status -v
camcontrol devlist
gpart list
formatted as code (</> button).
This will help us understand the situation, and what you mean by “cache”.

1 Like
root@nas[~]# zpool status -v
  pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:00:14 with 0 errors on Sat Oct 19 03:45:14 2024
config:

        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          ada2p2    ONLINE       0     0     0

errors: No known data errors

  pool: storage1
 state: DEGRADED
status: One or more devices is currently being resilvered.  The pool will
        continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scan: resilver in progress since Tue Oct 22 16:38:21 2024
        268G scanned at 2.41G/s, 59.8G issued at 552M/s, 28.0T total
        0B resilvered, 0.21% done, 14:44:43 to go
config:

        NAME                                            STATE     READ WRITE CKSUM
        storage1                                        DEGRADED     0     0 0
          raidz1-0                                      DEGRADED     0     0 0
            gptid/6fa51566-f1c1-11ed-9138-40b076a38d9b  REMOVED      0     0 0
            gptid/6f917d20-f1c1-11ed-9138-40b076a38d9b  ONLINE       0     0 6
            gptid/6f9e00d5-f1c1-11ed-9138-40b076a38d9b  ONLINE       0     0 6  (awaiting resilver)
        cache
          gptid/1051ea32-1a9d-11ee-8b59-40b076a38d9b    ONLINE       0     0 0

errors: Permanent errors have been detected in the following files:

You’re in trouble… Waiting for further information (camcontrol, gpart) and details on the damaged files, what have you done to get there? Have you removed the missing drive yourself, or was it automatically removed due to errors? What’s teh hardware, and do you have extra SATA ports?