[K12OSN] RAID Question
James P. Kinney III
jkinney at localnetsolutions.com
Thu Apr 9 18:32:16 UTC 2009
On Thu, 2009-04-09 at 01:58 -0400, "Terrell Prudé Jr." wrote:
> 1.) Install the hard disk into your system.
> 2.) Make two partitions of about equal size on the hard disk. Use
> fdisk or whatever you prefer.
> 3.) Format both partitions *simultaneously*. That means start one
> format command, and then start the second one very shortly thereafter.
> In UNIX parlance, that'd be "make filesystems on each partition
> simultaneously."
>
> What will happen when you start that second "mke2fs" command is that
> you will hear the read/write head going back 'n' forth like crazy. I
> would just do that over and over again for about a week, on each disk,
> on both partitions. This is, of course, scriptable, so you can set
> these "mke2fs" commands in a do-forever loop and just let it do its
> thing.
"dd" is a serious stress tester. It will choke up an error if it can't
read or write.
2 drives: sda sdb.
Create a single partition on each drive the full size of each drive or
the smaller of the two drives (each partition should be exactly the same
size)
#put data on drive - don't use /dev/random as it'll take 20+ years!
dd if=/dev/urandom of=/dev/sda1 && dd if=/dev/sda1 of=/dev/sdb1
dd if=/dev/sdb1 of=/dev/sda1
# repeat as desired - this is good if you have ability to read drive
temperatures as well.
--
James P. Kinney III
CEO & Director of Engineering
Local Net Solutions,LLC
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the K12OSN
mailing list