<div dir="ltr">cool thanks</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 10:54 AM, faginbagin <span dir="ltr"><<a href="mailto:mythtv@hbuus.com" target="_blank">mythtv@hbuus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 4/18/2016 6:55 PM, Douglas Sargent wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
         I have 4 x 2TB disks which have been up and running the last 3<br>
years nonstop, with no issues... cross your fingers.<br>
<br>
        Can someone recommend big disks that are reliable.<br>
<br>
        Once I buy them. Will it be as simple as mount it, copy<br>
everything across, unmount the old, the mount the new with the name of<br>
the old one. Seems right but way to easy. Darn I like Linux.<br>
<br>
       thanks guys<br>
<br>
Doug<br>
</blockquote>
<br></div></div>
I look for drives with the longest warranty. This Christmas I bought 4 3TB HGST drives with 3 year warranties. Got to look close, because some only have 2 year warranties. Before I put any new drive into service, I use the following procedure to increase the chances it's a good drive that will last.<br>
<br>
Capture SMART data via:<br>
smartctl -a /dev/sdx > smart0.out<br>
<br>
Write semi random data on the whole drive with:<br>
nohup shred -n1 -v /dev/sdx > shred.out &<br>
Go away for a couple of hours. Check shred.out and figure out how long it will take to finish. Come back when it should be done.<br>
<br>
Read the whole drive and compute a checksum:<br>
nohup md5sum /dev/sdx > md5sum.out &<br>
Go away for roughly the same time it took shred to write to the drive.<br>
<br>
Read the whole drive again and make sure the checksum matches:<br>
nohup md5sum -c md5sum.out > md5sum.chk &<br>
Go away for roughly the same time it took the first md5sum to read the drive.<br>
<br>
Write zeros to the drive:<br>
nohup dd if=/dev/zero of=/dev/sdx bs=1M > dd.out &<br>
<br>
Capture SMART data via:<br>
smartctl -a /dev/sdx > smart1.out<br>
<br>
Compare the two smart runs:<br>
diff smart0.out smart1.out<br>
Make sure there are no complaints about sectors.<br>
<br>
Make sure the kernel didn't report any errors:<br>
dmesg| tail<br>
<br>
If no SMART or kernel reported errors, create partition table, create partitions, mount, etc...<br>
<br>
If any errors, return immediately.<br>
<br>
Regards,<br>
Helen<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" target="_blank" rel="noreferrer">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank" rel="noreferrer">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank" rel="noreferrer">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div>