[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
Badblocks test of 1.5TB drive over USB
07-16-2010, 04:18 AM (This post was last modified: 07-16-2010 04:19 AM by cheaper_popcorn.)
Post: #1
Badblocks test of 1.5TB drive over USB
Time elapsed: 56 hours and counting... Anyone want to guess how much longer it will take? Big Grin

String used

badblocks -n -v /dev/sde

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
07-16-2010, 11:09 AM
Post: #2
RE: Badblocks test of 1.5TB drive over USB
USB? A man that likes pain?

C-200, A-110 both playing from a DIY Linux Raid 5 server.

Remuxes, Captures and Transcodes done on a desktop running;
Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive.
Find all posts by this user
07-16-2010, 11:18 AM (This post was last modified: 07-16-2010 11:19 AM by cheaper_popcorn.)
Post: #3
RE: Badblocks test of 1.5TB drive over USB
YAAAAAARGH, let me out of my misery already, have I not suffered enough?!? [Image: crucified.gif]

Seriously, is there a way of interrupting or cancelling the process that does not risk damaging the hard disk? I thought this would take a maximum of 48 hrs, and need to get cranking on moving files and installing an operating system.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
07-16-2010, 11:24 AM (This post was last modified: 07-16-2010 11:41 AM by nuke12.)
Post: #4
RE: Badblocks test of 1.5TB drive over USB
This is the non-destructive read mode? Correct? Is there data on the drive?
CTRL-C in the shell where badblocks is running should stop it or in another shell, type "killall badblocks" should do it. Your not going to hurt the drive but badblocks won't have compleated the job, you set it out to do.

C-200, A-110 both playing from a DIY Linux Raid 5 server.

Remuxes, Captures and Transcodes done on a desktop running;
Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive.
Find all posts by this user
[+] 1 user says Thank You to nuke12 for this post
07-16-2010, 11:43 AM
Post: #5
RE: Badblocks test of 1.5TB drive over USB
Yes, it is nondestructive mode, and the drive is fresh from the shop with no data on it.

Thanks, I think I will interrupt it and just assume that the disk is ok. I got a pointer that since no bad blocks have been listed so far, it means that up until this point, the program has not managed to find any bad blocks, which at least is a little reassuring.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
07-16-2010, 11:47 AM
Post: #6
RE: Badblocks test of 1.5TB drive over USB
Well on a new drive, I would have used the destructive write mode (better test) and for god's sake, not over USB. The test is slow enough via SATA.

C-200, A-110 both playing from a DIY Linux Raid 5 server.

Remuxes, Captures and Transcodes done on a desktop running;
Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive.
Find all posts by this user
07-16-2010, 11:50 AM
Post: #7
RE: Badblocks test of 1.5TB drive over USB
Has anyone ever found a bad block in the last few years with these sata smart drives, using badblocks? In my observation, these drives work fine and then quit without warning if you use tools that don't actually work with the smart controller. The smart drives actually do sector reallocation on the fly and mask any problem the drive may be having until they run out of spare sectors. I can understand using badblocks on older scsi, ide(or pata as they are now called), and flash drives. If I am wrong educate me.

PCH A-100, A-110 & A-200

Find all posts by this user
07-16-2010, 11:51 AM
Post: #8
RE: Badblocks test of 1.5TB drive over USB
Noted, but I am still a ix/ux n00b... practice and frustration makes perfect. Smile

I tried your killall method which appears to have worked fine. Out of foresight it appears the coders have set badblocks to output at which block it is interrupted, so with that info I can now calculate approx. how much longer I have to go if starting it again (it is possible to specify start and end block so I wont have to redo the whole thing).

Thanks a lot. Smile

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
07-16-2010, 12:10 PM
Post: #9
RE: Badblocks test of 1.5TB drive over USB
@xor - in a perfect world, you are correct but;

1) the smart controllers only do their thing on the fly and normally with data. I still like to test new drives before I get data on there.
2) Strictly speaking, badblocks only tests for daaaaa, badblocks but when you run it on a new drive it exercises every function of the drive and also makes it run hot for a long period of time. And yes, I have found problems on new drives using this very old program. One I remember, the drive started out doing it's read/writes very fast but as time went on it kept slowing down.

@cheaper - I don't recall being able to do that but I don't think I've ever tried. You'll have to check the switches.

C-200, A-110 both playing from a DIY Linux Raid 5 server.

Remuxes, Captures and Transcodes done on a desktop running;
Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive.
Find all posts by this user
07-16-2010, 12:23 PM
Post: #10
RE: Badblocks test of 1.5TB drive over USB
So badblocks can exercise a new drive and make it run hot, and you found a drive that ran fast and slowed down when using badblocks. Did badblocks actually find any bad blocks though?

PCH A-100, A-110 & A-200

Find all posts by this user
07-16-2010, 12:24 PM
Post: #11
RE: Badblocks test of 1.5TB drive over USB
Total number of blocks on HDD: 1465138583
No. of blocks checked up until interruption: 1224322432
Blocks remaining to be checked: 240816151

Time spent to check 1,224,322,432 blocks: Approx. 63 hours

Gives a speed of 19,433,689 blocks checked per 1 hour.

Which means approximately 12.39 hours left to go... Lucky I interrupted the bugger.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
07-16-2010, 12:34 PM
Post: #12
RE: Badblocks test of 1.5TB drive over USB
(07-16-2010 12:23 PM)xor Wrote:  So badblocks can exercise a new drive and make it run hot, and you found a drive that ran fast and slowed down when using badblocks. Did badblocks actually find any bad blocks though?

Nope. Lets look at this another way. You run badblocks, it does reads/writes to every sector. So now, you also have this smart controller that is watching what badblocks is doing. If badblocks starts having a problem, the smart controller should step in and reallocate the sector. Either way, the problem is picked up before you put real data on there.

As for the drive I mentioned, I exchanged it for the exact same model and the second drive worked fine. I assume heat was causing something to go wrong.

C-200, A-110 both playing from a DIY Linux Raid 5 server.

Remuxes, Captures and Transcodes done on a desktop running;
Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive.
Find all posts by this user
07-16-2010, 12:41 PM (This post was last modified: 07-16-2010 12:41 PM by xor.)
Post: #13
RE: Badblocks test of 1.5TB drive over USB
(07-16-2010 12:34 PM)nuke12 Wrote:  Nope. Lets look at this another way. You run badblocks, it does reads/writes to every sector. So now, you also have this smart controller that is watching what badblocks is doing. If badblocks starts having a problem, the smart controller should step in and reallocate the sector. Either way, the problem is picked up before you put real data on there.

As for the drive I mentioned, I exchanged it for the exact same model and the second drive worked fine. I assume heat was causing something to go wrong.

I saw the "other way" also, I guess my original assertion was vague. I was trying to get across the point that badblocks as designed does not do what noobs think it does(when run against smart drives). Non-noobs use badblocks for the side-effects it has on disks. For that matter I could use "dd if=/dev/random of=/dev/sda" and achieve somewhat the same type of exercise on the drive.

PCH A-100, A-110 & A-200

Find all posts by this user
07-16-2010, 12:55 PM
Post: #14
RE: Badblocks test of 1.5TB drive over USB
(07-16-2010 12:41 PM)xor Wrote:  I saw the "other way" also, I guess my original assertion was vague. I was trying to get across the point that badblocks as designed does not do what noobs think it does(when run against smart drives). Non-noobs use badblocks for the side-effects it has on disks. For that matter I could use "dd if=/dev/random of=/dev/sda" and achieve somewhat the same type of exercise on the drive.

Yep, but I still like badblocks best because when older drives start acting up the smart controller can run out out of spare sectors and then you will see them with badblocks.

I've also seen complete drive failure running badblocks on a new drive. It just died. Nothing.....no spinning, no actuator movement but your command would probably have achieved the same thing.

I like, if at all possible, to test all new drives. Badblocks, the mfg's destructive write tests, something.

C-200, A-110 both playing from a DIY Linux Raid 5 server.

Remuxes, Captures and Transcodes done on a desktop running;
Win7, Intel i7 hexacore processor with 24 GB ram, WD VR OS drive and a WD Black 2 TB data drive.
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Colour space conversion test. PCH owners please chime in. Jeroen1000 13 2,329 11-09-2012 10:02 PM
Last Post: Jeroen1000
  non-pch linux drive tuning accident 1 1,498 06-14-2012 08:34 AM
Last Post: Iced
  USB Hard Drive Enclosure with eSATA Recommendations Wanted louisw 7 2,089 05-13-2012 01:13 AM
Last Post: Specter
  USB DVB-T tuner? Netmask 0 2,337 11-09-2011 12:13 AM
Last Post: pyn
  External Hard Drive cheesecakes 0 1,094 02-11-2011 12:06 AM
Last Post: cheesecakes
  help on usb stick and mkv mattaroon 6 5,958 02-07-2011 04:33 PM
Last Post: mattaroon
  WD 2TB drive any good? jomuir 10 2,742 02-04-2011 07:40 AM
Last Post: chris57
  Time to Stock up on 2TB drive ($79) WD20EADS macrho 8 2,831 11-01-2010 01:56 AM
Last Post: yufasa
  External Blu-Ray Drive Help entertainman 0 918 07-11-2010 05:39 AM
Last Post: entertainman
  8Gb micro USB stick £7.50 at ASDA - UK only chris57 9 3,075 04-29-2010 05:05 PM
Last Post: chris57

Forum Jump: