Help with Disk Replacement

\| , which is an OR operator, is not equal to |, this is correct:

sudo dmesg | grep -i 'sdg\|seagate\|warn\|error\|fail'

In egrep | is the OR operator. I assume Linux grep supports extended regex by default. \| is only necessary if you do NOT use single quotes '.

@QonoS when i enter your command, I get the error output above

@pmh when i enter your command, I get the no error output above

No curly quotes in a Unix command :wink:

For the new disk:

  • I’m able to format the disk in Windows;
  • chkdsk in Windows doesn’t show any errors (and CrystalDiskInfo shows the disk as Healthy above)
  • I can read and write from the disk in Windows; but
  • Read/write errors still occur in TrueNas (Linux) for this disk (same SATA port works for other disk)
  • This disk however doesn’t have read/write errors with another TrueNas machine

For the old disk:

  • TrueNas is showing read and write errors in certain sectors (this is after re-formatting the hard drive and resilvering)
  • Formatting and running chkdsk in Windows doesn’t show any errors however

This is just bizarre, any ideas? Just damn unlucky with hardware compatibility??

Turns out it was related to the port at the end (and nothing to do with the hard drives)

Not sure which component was causing the issues as everything is working now, but tested each of the hard drive SATA backplate, SATA cables and SATA ports on the motherboard.

Thanks again all

1 Like