Did you perform this step?I have a problem with the badblocks test and was wonder if someone could interpret it.
A month ago I had a problem with a motherboard I was using to set up freenas. Specifically the motherboard is the
C2750D4I found in the recommended hardware thread. The specific problem I had was that the bottom 4 sata ports on the marvell controller could become unreliable when loaded with more then 1 hard drive. I found another person who had the problem and after he got an rma he says he still had it. Meanwhile I had sent my board in for replacement and told Asrock over the phone my specific problem. Meanwhile it took a month to get a board to me with ups losing it finding it sending it back to them plus the holidays.
Now I have a board back but it looks like an updated model. At least they changed the packaging from a black box to blue and such. The board itself looks much the same but I was hopefull they upgraded something or fixed the problem. Now I hooked everything back up made sure to fill every Marvell sata port as a test and started a badblocks test again on all slots.
The problem is I am getting an error I did not get before.
I just started the tests and every hard drive badblocks test immediately gave me back "set_o_direct: Inappropriate ioctl for device". The first board I had did not give this error I still have a screenshot from before.
You can see it in the pic. The tests seem to be continuing so I will wait and see if I get any error emails for the marvell controller becoming unreliable unstable like before. In the meantime I was wondering what everyone thinks of this error. Is the test still good? Or has something changed in the board that will make the test unreliable? Is there something else I should do now to test and make sure this thing will handle a zpool well?
@Matdif Did you perform this step?
http://www.asrockrack.com/support/ipmi.asp#Marvell9230
(Disabling Marvell SE 9230 HW Raid)
P.S.
If you have time can you run for me the ECC test I have described here
https://forums.freenas.org/index.ph...formance-degradation.21327/page-2#post-124525
Since gcc is not ordinarily supplied with FreeNAS, you would need to compile using FreeBSD or just boot into FreeNAS 9.2.1.5 where gcc works by mistake, and do nothing else but compile and execute...
Thank you!
You have to disable Marvell SE 9230 HW Raid ! ! !Haven't done either yet. If I can figure out how I'll run your test. Badblocks has started doing something new and unusual see the screenshot.
Newbie alert... first post :)
How do you do a burn in for a drive that will go into an existing system? I've got two thought:
1. Do the burn in on a separate FreeBSD or Linux system and then swap in the drive.
2. Take the entire array offline. Run the burn in on the new drive. Bring the array back online and insert the new disk.
Issue with 1. would be what to do if you don't have a separate system to do the burn in on?
Issue with 2. is the length of time to burn in means you NAS is down for a couple of days.
A separate question... Does anyone keep a burned in drive sitting on the shelf ready to be placed into service? Other than in an enterprise environment that is.
Thanks!
You did not miss anything. I have experience with both enterprise and home servers, and in my opinion disadvantages of not running badblocks can be offset in home environment by paying closer attention to disk monitoring and notifications.Thanks solarisguy... but resilvering would not be as complete as a badblock run would it? Qwertymodo's burn in read/writes every block (and every bit), while a resilvering would only read/write blocks that would potentially have data in them. It would leave the empty blocks untouched. Or did I misinterpret how resilvering works?
Totally agree... I'm working on getting my email set up to send me the SMART status every night. There's a thread here somewhere I'm following. Just haven't had enough time to complete it.Not running bad blocks is, in my opinion, a much lesser evil than not using S.M.A.R.T. to monitor disk health and not immediately replacing bad or suspected hard drives upon a failure.
If I've got one on the shelf, and SMART tells me something is amiss, I'd replace it ASAP.Also in terms of logistics, if a hard drive in a volume goes down, how fast are you going to get a new one inserted into your FreeNAS system? On a Friday before a long weekend? While vacationing in Las Vegas?
So obvious... no wonder I missed it :). Thanks for the idea.Assuming you've got a spare SATA port and bay in the box, why can't you just hook up the new drive but not add it to any array, then do the burn-in on it while your array hums along, none the wiser? I've done that.
"I suggest you update the badblocks section in the guide to include instructions for setting block size."
How about also setting "-c number of blocks" from it's default of 16 to 32 or 64 as well? Anyone tried that? The manpage indicates that increasing this... restarted with the flag "-b 4096" included in the command...
The Seagates are faster than the Western Digitals as expected as their raw disk access is rated higher. Both have the same rotational speed(s), capacity and amount of buffer but the Seagates start out writing at 170-180MB/s and the WDs at 140-150MB/s and the Seagates finish at 70-80MB/s and the WDs at 65-70MB/s.
Testing with pattern 0xaa: set_o_direct: Inappropriate ioctl for device
The Seagates are rated at a Max Sustained Data Rate of 180MBps whereas the Western Digitals are 147MBps so that the Segates are faster is within the specifications. I suspect the variation in speed is due to the tracks on the HDD getting smaller as the heads move into the platter and having to do more seeking for the same datasize. I believe Eric Lowe mentioned this in a previous reply in this post.It's early (I have no idea why I am awake) and I was just looking at the progress of my badblocks test and noticed this steady write performance decrease on the Red's from the 140-150 to 70-80 as well at the end of the write cycle. I was just trying to reason my way through this as to why this occurs. I like to ask questions, so I will. What is the technical reason for this? I have an idea, but I wasn't able to confirm with some quick googling, so I figured I would just ask the experts. :)
Normal behavior see this post[/QUOTE]This was also asked earlier and I didn't see it addressed so just figured I would bring it up again, upon initializing the badblocks test I get this message reported:
Code:Testing with pattern 0xaa: set_o_direct: Inappropriate ioctl for device