Hello everyone,
I'm struggling with a problem for quite some time now. It started a few months ago when I installed my first ZFS raid (beyond stripe with 1 disk). Everything was good for a while until i suddenly got some strange errors when cp/mv/rsync-ing files from one place to another. It said something along the lines of Input/Output error. Usually this happens because of some hardware failure (as far as I can tell). So, I got new drives, installed everything but after a while I got new I/O errors. Then I replaced my SATA cables. I/O errors returned. Replaced the Controller (installed some PCIe Card with SAS). Errors returned. I even replaced the power supply thinking this might cause the errors. (It didn't.)
I gave up and switched back to Linux for some time. I never experienced any errors on my Fedora/Ubuntu installs and my FreeBSD Laptop+Server are also running fine.
A few days ago I bought some new harddrives for a bigger raidz1 but today I was greeted with 22 data errors. Whenever I try to read from a file, as soon as I get to the bad parts, I get an I/O error and the program crashes/terminates(in most cases). E.g. I cant calculate the checksum of the flagged files nor can I play the video beyond a certain timestamp.
There are a few things I have noticed so far:
Sometimes when copying a corrupted file, only the good parts are copied.
Sometimes when copying a corrupted file, the new file also is corrupted and is flagged in
Some files I created yesterday are already corrupted. Someone in #freebsd told me I should scrub my pools on a regular basis. I did so before I created said files and afterwards. No data errors. They just appeared when I scrubbed my pool 30 mins ago (haven't even touched those files since).
I don't know what else I should do now. I replaced a lot of my hardware. Used different FreeBSD versions using different options in the installer. (sometimes with encryption but currently without.)
Could someone please help me?
(sry for bad English, I'm not a native speaker)
I'm struggling with a problem for quite some time now. It started a few months ago when I installed my first ZFS raid (beyond stripe with 1 disk). Everything was good for a while until i suddenly got some strange errors when cp/mv/rsync-ing files from one place to another. It said something along the lines of Input/Output error. Usually this happens because of some hardware failure (as far as I can tell). So, I got new drives, installed everything but after a while I got new I/O errors. Then I replaced my SATA cables. I/O errors returned. Replaced the Controller (installed some PCIe Card with SAS). Errors returned. I even replaced the power supply thinking this might cause the errors. (It didn't.)
I gave up and switched back to Linux for some time. I never experienced any errors on my Fedora/Ubuntu installs and my FreeBSD Laptop+Server are also running fine.
A few days ago I bought some new harddrives for a bigger raidz1 but today I was greeted with 22 data errors. Whenever I try to read from a file, as soon as I get to the bad parts, I get an I/O error and the program crashes/terminates(in most cases). E.g. I cant calculate the checksum of the flagged files nor can I play the video beyond a certain timestamp.
There are a few things I have noticed so far:
Sometimes when copying a corrupted file, only the good parts are copied.
Sometimes when copying a corrupted file, the new file also is corrupted and is flagged in
zpool status -v
.Some files I created yesterday are already corrupted. Someone in #freebsd told me I should scrub my pools on a regular basis. I did so before I created said files and afterwards. No data errors. They just appeared when I scrubbed my pool 30 mins ago (haven't even touched those files since).
I don't know what else I should do now. I replaced a lot of my hardware. Used different FreeBSD versions using different options in the installer. (sometimes with encryption but currently without.)
Could someone please help me?
(sry for bad English, I'm not a native speaker)