Guide is a bit old & had some info that may not be relevant to scale. From my old notes on this:
Force badblocks *expect at least 4 days for 8TB drives
Open tmux which will allow a new console per disk
• tmux
run badblocks per disk; following sets –c for multiple blocks tested at once (it won’t go past what drives allows but may use more ram & gives some speed benefits over default). –b for blocksize of the disk (4096 >2TB, don’t use for for <2TB, high volume at like 20tb could be higher)
• badblocks -c 2048 -b 4096 -wvs /dev/adaX
new tmux windows by “ctrl+b” then push the quotation mark “
repeat as needed
to view in things like Truenas go ‘tmux attach’
Backblocks will write on every possible sector of the HDD then read to confirm it did so successfully in several passes using different write patterns (think of it like memtest, but for your crazy slow HDDs). This’ll assure that every possible block of your HDD is actually proven to work prior to putting your precious data on it; good practice.
DO NOT USE BADBLOCKS ON ANY DRIVE THAT YOU ALREADY HAVE ON A POOL. DO NOT USE IT ON ANY DRIVE WITH DATA YOU WISH TO KEEP (though there are non-descrutive read-only ways of using it, I feel that they kinda defeat the purpose of badblocks entirely). BE VERY CAREFUL RUNNING BADBLOCKS ON ANY SYSTEM THAT HAS ANY DATA YOU WANT TO KEEP (you never know when your system random decides that ‘sda’ should be ‘sdb’ instead after a reboot & your badblocks command hits the wrong drive).
This will take a considerable amount of time (you quoted 2 weeks earlier; depending on the size of the drive doing smart long, full badblocks, then another smart long; it is entirely possible to take 2 weeks).
Nope - it can do so completely random after a reboot. Do not ever assume sda will continue to be the same drive. Always validate smartctl -a /dev/whatever confirms it is the relevant serial# that you want to work on.
read the script but even it says to use it using termux. though i dont know how to install that on truenas
i get termux is required since truenas will timeout, but termux lets it continue to run for a long time until its done in the background. just dont know how to install it.
Just type in ‘tmux’ into the truenas shell. No need to install anything.
tmux will stay running (or multiple instances of it) with your commands in the background. To get back into your existing tmux sessions if Truenas logs you go or you close your web browser:
tmux attach
Instructions for opening multiple tmux windows are in my previous posts. I leave figuring out how to cycle between tmux windows to you.
Oh - also don’t use badblocks on ssds or nvmes! Complete waste of drive cycles! HDDs only!
I got this case, and everything inside was fabulous; the SATA bays, the backplane, the internal wiring, and I didn’t have the space issues others have reported. The problem is with the rails, or the lack thereof. The RMS06-22 rails that are compatible with this case are relatively expensive, but the bigger issue is they are utterly unavailable. I ordered a set only to be told they were on backorder without a delivery date, and searching and calling for a week only yielded retailers willing to call me back when they get some in. Even eBay was a dry hole – I couldn’t confirm that any of these rails had ever been produced. I even tried an afternoon in the lab trying different Supermicro and Dell rails, but none have compatible screw spacings.
so no rails for me or at least wait for ebay or something for someone trying to dump these for cheap
finished smart short and long on one drive. passed. 1 other is almost done. 2 more to go.
The SMART surface test is almost certainly a single, and certainly non-destructive, read pass. As has been pointed out it is also internal to the drive; with the possible exception of minor control data, no data is being passed to or from the host during the test.
On the other hand, badblocks -w makes four passes over the drive, each with one write and one read. That alone accounts for an 8× difference in time taken for the test, plus rotational latency. Since it’s software running on the host, all that data needs to be shuffled through the disk interface to RAM and handled by the software (badblocks, in our case).
If we take a worst-case rotational latency of 1× (the disk needs to make one full revolution after writing the data in order to read it back, which is pretty much what you’ll see if you like badblocks does first fill the whole disk and then read it all back, rather than doing I/O one physical track at a time which with LBA is nigh impossible), we end up with a worst case (1+1) × 8× = 16× as long needed to complete the operation. 16 × 2.5h = 40h, which is certainly in line with your numbers and still assumes we are dealing with only data storage on the drive and that it is happening as fast as the drive can sustain sequential I/O.
with the info posted previously i can figure out running badblocks. gonna try that.
that said i may have to just be content with a short then long test first. because i have to release funds to seller soon. its better than nothing.
i can then do the badblock scan after and if anything comes up then i can make any claims for replacement. not ideal but what to do…
the torn esd bag covering the drive when i opened the box, it’s not fully torn. just a small tear where the power and sata connector is. i think seller made that to test, but i can’t say for sure. But i cant imagine people using it normally in that condition with it still in the esd bag. so i do think its brand new but i cant say for sure but thats what the product description said.
For my script not things to worry about, it will detect ssds and not run badblocks on them. Also, it can automatically launch tmux sesions for each disk you tell it to burnin.
ps: bad news. seems the 3 ssds got cancelled by seller (no idea y cauz payment went through fine). So i dont have a storage to install truenas into. gonna have to sort that out. all the other parts though paid for and being shipped or already arrived.
i received the 4u case, 4x 12tb hard drives, 1x m.2 nvme heatsink so far.
this m.2 nvme heatsink looks very nice. haven’t installed yet sadly the one i ordered, though same brand is the Coolleo CL-SSD-V2. it’s grey color. could not find video for install so i use this other one as a rough reference. there is a paper instruction that came in the box.
for the NOCTUA NH-D12L CPU air cooler i went with the standard non black color
i think the black looks cool, but the standard classic color simply shouts noctua a mile away. never had a noctua so i may as well go the classic look for my first and get to experience that *not sure if id like or hate it not, guess ill find out.
paid a little extra to ship by plane. no slow boat which i checked would take until december to be delivered
i realize that ty ^^; i just like building it thats all. regardless i still need a cooler xd.
my desktop fractal torrent has a window. just want a frame of reference since i never had one before. then i would know for next time if i should get that color for my desktop separately. bequiet was also another good candidate, never tried that
SATA Data Connectors
A SATA data connector has 7 horizontal pins, four pins arranged in two pairs for data and 3 ground pins. One end (the end that connects to a storage device) may be angled to save space.
A small form factor version of the SATA data connector, known as mini-SATA or mSATA connector is designed for use with smaller, power-constrained devices such as laptops and tablets.
SATA Power Connectors
The SATA power connector has 15 pins and supplies +3.3V DC, +5V DC and +12V DC. SATA power cables are often paired with a 4-pin Molex LP4 connector, which connects to a computer’s power supply.
Why does a SATA power connector have so many pins?
The 15-pin SATA power connector replaced the 4-pin Molex connector. Why the much greater pin count?
Support for three voltages (3.3V, 5V and 12V).
Avoids confusion with the 7-pin SATA data connector.
Additional ground pins to support device hot-swapping.
Advanced features such as delayed spin-up for mechanical drives.
early on i did look at jonsbo but didnt like the hdd tray (looked awful).
also i wanted a rack case (i got a rack server open air case, so i want something for that, cauz its kewl and convenient).
if u r looking for 4 hdd bay 1-2u rack, saw some deals on aliexpress. though u have to check shipping costs as well. but the good value ones tend not to have hot swap. but that might not matter to some people.
so yeah the silverstone was a bit costly. i wouldnt quite recommend it to others cauz its probably not good value but it fit my requirement so…
is it safe to install cpu to motherboard first? the cpu cooler hasnt arrived yet. can the cpu safely be left in the am5 socket clipped in without the cpu cooler added ontop of it? or should i wait?