Justin Piszcz said:     (by the date of Sat, 1 Dec 2007 07:23:41 -0500 (EST))

> >> dd if=/dev/zero of=/dev/sdc
>
> The purpose is with any new disk its good to write to all the blocks and 
> let the drive to all of the re-mapping before you put 'real' data on it. 
> Let it crap out or fail before I put my data on it.

better use badblocks. It writes data, then reads it afterwards:
In this example the data is semi random (quicker than /dev/urandom ;)

badblocks -c 10240 -s -w -t random -v /dev/sdc

-- 
Janek Kozicki                                                         |
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to