At Tuesday, 15 June 2004, you wrote:

>On Tuesday 15 June 2004 07:53, Harland Christofferson wrote:
>> this is my fist time installing raid0 on a machine that is not a
>> new install. /dev/hda has gobs of good data i don't want to lose.
>> /dev/hdc is newly partitioned and formatted before installing the
>> raid tools.

*snip*

>
>> i created a new file /etc/raidtab
>>
>> raiddev /dev/md0
>>         raid-level      1
>>         nr-raid-disks   2
>>         nr-spare-disks  0
>>         persistent-superblock 1
>>         device          /dev/hda1
>>         raid-disk       0
>>         device          /dev/hdc1
>>         raid-disk       1
>>
>Above, you said you wanted to install raid0, but your config file 
indicates 
>raid1.  Double check that your config file really says what you want.

typo ... raid1 is what i want.

>>
>> then, i tried
>> $# mkraid md0
>>
>> which responded
>> $# device md0 is not described in the config file
>>
>The error message is quite specific.  You did not describe device 
md0 in any 
>config file.  You did describe /dev/md0, however.

okay ... will try $# mkraid /dev/md0

>
>> i am reluctant to try
>> $# mkraid -f /dev/md0
>>
>> the force flag just seems scary to me.
>>
>> any suggestions?
>
>What is the partition type on /dev/hda1 and /dev/hdc1?  If they 
are not both 
>FD (Linux raid autodetect), your raid array won't work.

the partition type? okay ... new territory for me. they are ext2 
w/ ID of 83. they are the boot partitions.

>
>Note that, if you have data on /dev/hda1 that you want to keep, 
you should 
>mark that disk as a failed disk.  Then, when you make your raid 
array, data 
>won't get erased from /dev/hda1.  You can then mount the disk and 
the raid 
>and copy the data from one to the other.  Once your data is on the 
raid, 
>mark the /dev/hda1 disk as a live disk, and the raid will re-sync,
and your 
>data will be intact.

i am really glad this did not work the first time. i DO want to keep 
the data intact on /dev/hda. should i mount each partition of /dev/hdc? 
what i want to have occur is all partitions on /dev/hda be mirrored 
on /dev/hdc.

>
>If the partition type is not causing your problem, let us know and 
we'll try 
>something else.
>
>Justin Guerin
>












-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to