(0/0/{some numbers} errors)
, which I understands as there is no error during writing and reading but errors during comparsion? It is no finished yet and there is no badblocks address in the output It's a pool contains both data vdev and metadata vdev.badblocks -wsv -b 4096 /dev/sde
Running badblocks with the "-w" flag effectively destroys the data on it.Since I have no data on the pool yet maybe I should distroy the pool then rerun badbloccks?
Is the third number very large? Did you check the connections/cables of all drives involved, including any HBA (if applicable)?all drives are showing something like this(0/0/{some numbers} errors)
Running badblocks with the "-w" flag effectively destroys the data on it.
Is the third number very large? Did you check the connections/cables of all drives involved, including any HBA (if applicable)?
If you're using badblocks in a destructive mode, the drive(s) should not be members of any vdev/pool in the first place. Are you implying that your pool was "imported" and then you started to run a destructive pass of badblocks on the drives?Thanks, I know it's a destructive test but I'm not sure if in a configured pool will there be any differences or not.
The definitely smells like a connection/cable issue. (Hopefully not a RAM and/or CPU issue.)There are 4 drives running now, only about 10% of reading and comparing finished on each though. 3 of them have less than 100 comparison errors, the last one has about 40K but it hasn't change for hours. All cables should be fine but I will double check.
I think I'm still too new to TrueNAS and ZFS so didn't do things in the right order. Those are all new drives, and I configured them into a new pool.If you're using badblocks in a destructive mode, the drive(s) should not be members of any vdev/pool in the first place. Are you implying that your pool was "imported" and then you started to run a destructive pass of badblocks on the drives?
The definitely smells like a connection/cable issue. (Hopefully not a RAM and/or CPU issue.)
Check / re-do all points where something connects into something else, including an HBA seated in the motherboard (if applicable):
✔ All data cables involved
✔ Connections to the back of each drive
✔ Connections to the motherboard (or HBA)
✔ HBA to the motherboard (if applicable)
Sounds like a plan.Since I have no data on the drives at all, it should be safe that I just ctrl-c cancel all the running sessions, remove the drives from pool, shut down the machine and check connections then re-do badblocks?
That wasn't my main concern. I was afraid you'd cause a system panic or random behavior on the TrueNAS server if you already created/imported a pool, and then started to use lower-level software to wipe the drives without using or informing the GUI and "middleware" (while the pool is still active/imported.)Since I have no data on the drives at all
I see your point, yes that will be a bad thing for TrueNAS itself if I'm not using something in the GUI. Thanks for your help! I will go check the cables now XD.Sounds like a plan.
That wasn't my main concern. I was afraid you'd cause a system panic or random behavior on the TrueNAS server if you already created/imported a pool, and the started to use low-level software to wipe the drives without using the GUI (while the pool is still active/imported.)
and it'll do 2 more patterns, to a total of writing 4 patterns to each block of each drive and comparing them after each pattern.On badblocks, do you all typically let it run through multiple patterns? I thought mine was about done (with the percentage), then it started another pattern. Running it as -b 4096 -ws /dev/sdX
This is my 1st time using badblocks. No errors after Testing with pattern 0xaa, reading and comparing. Now its doing pattern 0x55.
Thanks for the info. Looks like it will be 3-4 days to complete then. At 44hrs now and it is about 60% done with the reading and comparing the 2nd test pattern. These are 8TB drives.and it'll do 2 more patterns, to a total of writing 4 patterns to each block of each drive and comparing them after each pattern.
Depending on your drive size this can take days - plural. But that's the point of burning in something, right? Sustained full load over a span of a time. If the disk can handle that, they will handle TrueNAS' zpools over next few years easily.
Thanks for the info. Looks like it will be 3-4 days to complete then. At 44hrs now and it is about 60% done with the reading and comparing the 2nd test pattern. These are 8TB drives.
By default, TrueNAS 12 cannot initiate a replication to or from TrueNAS 13 due to an outdated SSH client library. Allowing replication to or from TrueNAS 13 to TrueNAS 12 requires allowing ssh.rsa algorithms. See OpenSSH 8.2 Release for security considerations. Log into the TrueNAS 13 system and go to Services->SSH. Add the SSH Auxiliary Parameter: PubkeyAcceptedAlgorithms +ssh-rsa.
root@truenas[~]# badblocks –b 4096 –vws /dev/da0 badblocks: invalid first block - –vws