- Thread Starter
- #26
wblock@ said:There's not much point to looking for a list of bad blocks with drives made in the last two decades, which handle block remapping in firmware. Filling the drive with zeros with dd(1) has about the same effect. Of course, all of this is just an attempt to catch drives that are going to fail early, and it doesn't always work. I had a WD Red 1T that showed no bad blocks, yet had a severe error that prevented it from being used in a mirror and failed the short or long SMART tests from sysutils/smartmontools instantly.
Well, I ran a long SMART test on each drive before the badblocks tests with no errors reported. I figure writing a bunch of random data and reading it back might be better than just zeros. It's probably all the same, but I'm fine with this taking longer.
From what I've seen so far, it might be a hostname thing, but it was giving me problems even before I started using bash (which puts the hostname in the prompt) and it doesn't explain why it would hang after user name before password during a login attempt. I'm still going to keep an eye out, but it hasn't been a problem since the first day. It's possible that it has to do with running from a USB flash drive, but so does the previous server which never displayed this issue.wblock@ said:That doesn't sound good. Don't know what would cause it, though.
Thanks! I'll look into both.wblock@ said:benchmarks/bonnie++ for a hard to read but mostly-realistic result, diskinfo -tv for a quick and absolute best-case result.
wblock@ said:It looks like that's either for ZFS-to-ZFS (zfs send/receive), or just uses net/rsync. Which can be done manually, but maybe it knows the best combination of options.
It looks like a wrapper for rsync with all the relevant options pre-selected. I suppose a ZFS send/receive would be the proper method, but I am more familiar with rsync, which gave it some appeal.
The nice thing about FreeBSD and ZFS is that you can pretty much set things up once and with a little automation you don't have to do any of these tasks for a while. But then I forget how to do them and need to relearn each time.