Need help with 3Ware RAID card setup....
I got a 7000-2 and I'm trying to setup my drives for RAID1. Here's the catch, the existing drive has been in the machine for about 2 months. I just got the card and the second drive. I want to setup an array for the 2 drives but in order for that to happen, data on my existing drive will be deleted....I don't want that to happen. Does anyone know a way around this? Can't I just dd my exiting drive to my new drive and then setup the array from there? I don't see why data from the first drive needs to be deleted. Thanks, Tom -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
On Thu, 2003-08-28 at 16:40, Tom Nielsen wrote:
I got a 7000-2 and I'm trying to setup my drives for RAID1. Here's the catch, the existing drive has been in the machine for about 2 months. I just got the card and the second drive. I want to setup an array for the 2 drives but in order for that to happen, data on my existing drive will be deleted....I don't want that to happen.
Does anyone know a way around this? Can't I just dd my exiting drive to my new drive and then setup the array from there? I don't see why data from the first drive needs to be deleted.
Thanks, Tom Tom,
Yes and no. I'm working from memory, but I have posted about my personal succesfull experience before so search the archives for step by step details. high-level: The dd part will work fine, but when you pull out your current ata drive you won't be able to boot. You will have to fix your grub/lilo setup to use the new drive. Also you will need to fix your /etc/fstab entry to point to the new drive. After you get your machine so you think it is booting purely off of 3ware, poweroff and pull out the ata drive. Verify the machine still works, then put the old drive in port 1 and build your mirror. FYI: IIRC New mirrors copy all data from the port 0 drive to the port 1 drive so be sure your new drive is on port 0. Greg -- Greg Freemyer
On Thu, 2003-08-28 at 15:54, Greg Freemyer wrote:
On Thu, 2003-08-28 at 16:40, Tom Nielsen wrote:
I got a 7000-2 and I'm trying to setup my drives for RAID1. Here's the catch, the existing drive has been in the machine for about 2 months. I just got the card and the second drive. I want to setup an array for the 2 drives but in order for that to happen, data on my existing drive will be deleted....I don't want that to happen.
Does anyone know a way around this? Can't I just dd my exiting drive to my new drive and then setup the array from there? I don't see why data from the first drive needs to be deleted.
Thanks, Tom Tom,
Yes and no.
I'm working from memory, but I have posted about my personal succesfull experience before so search the archives for step by step details.
high-level:
The dd part will work fine, but when you pull out your current ata drive you won't be able to boot.
You will have to fix your grub/lilo setup to use the new drive.
Also you will need to fix your /etc/fstab entry to point to the new drive.
After you get your machine so you think it is booting purely off of 3ware, poweroff and pull out the ata drive.
Verify the machine still works, then put the old drive in port 1 and build your mirror.
FYI: IIRC New mirrors copy all data from the port 0 drive to the port 1 drive so be sure your new drive is on port 0.
Greg -- Greg Freemyer
Thanks for the information. I'd like to find your step by step, but it's one hell of a big archive. Any clue as to when you may have posted it??? Thanks, Tom
You do know there is a searchable index at http://marc.theaimsgroup.com/?l=suse-linux-e Unfortunately I have just searched that archive plus my own sent box and I can not find the e-mail I was talking about. I guess I never actually wrote it. Sorry about that. Still, I definately have done this with no data loss. Greg On Thu, 2003-08-28 at 19:34, Tom Nielsen wrote:
On Thu, 2003-08-28 at 15:54, Greg Freemyer wrote:
On Thu, 2003-08-28 at 16:40, Tom Nielsen wrote:
I got a 7000-2 and I'm trying to setup my drives for RAID1. Here's the catch, the existing drive has been in the machine for about 2 months. I just got the card and the second drive. I want to setup an array for the 2 drives but in order for that to happen, data on my existing drive will be deleted....I don't want that to happen.
Does anyone know a way around this? Can't I just dd my exiting drive to my new drive and then setup the array from there? I don't see why data from the first drive needs to be deleted.
Thanks, Tom Tom,
Yes and no.
I'm working from memory, but I have posted about my personal succesfull experience before so search the archives for step by step details.
high-level:
The dd part will work fine, but when you pull out your current ata drive you won't be able to boot.
You will have to fix your grub/lilo setup to use the new drive.
Also you will need to fix your /etc/fstab entry to point to the new drive.
After you get your machine so you think it is booting purely off of 3ware, poweroff and pull out the ata drive.
Verify the machine still works, then put the old drive in port 1 and build your mirror.
FYI: IIRC New mirrors copy all data from the port 0 drive to the port 1 drive so be sure your new drive is on port 0.
Greg -- Greg Freemyer
Thanks for the information. I'd like to find your step by step, but it's one hell of a big archive. Any clue as to when you may have posted it???
Thanks, Tom
On Fri, 2003-08-29 at 13:52, Greg Freemyer wrote:
You do know there is a searchable index at
No, I didn't know that. Thanks!
Unfortunately I have just searched that archive plus my own sent box and I can not find the e-mail I was talking about.
I guess I never actually wrote it. Sorry about that.
Still, I definately have done this with no data loss.
Any chance of remembering and letting me know? I was just thinking of doing a dd with the new drive and then hooking them both up on the raid card and see what happens. Although that would sound way too easy.
Greg
On Thu, 2003-08-28 at 19:34, Tom Nielsen wrote:
On Thu, 2003-08-28 at 15:54, Greg Freemyer wrote:
On Thu, 2003-08-28 at 16:40, Tom Nielsen wrote:
I got a 7000-2 and I'm trying to setup my drives for RAID1. Here's the catch, the existing drive has been in the machine for about 2 months. I just got the card and the second drive. I want to setup an array for the 2 drives but in order for that to happen, data on my existing drive will be deleted....I don't want that to happen.
Does anyone know a way around this? Can't I just dd my exiting drive to my new drive and then setup the array from there? I don't see why data from the first drive needs to be deleted.
Thanks, Tom Tom,
Yes and no.
I'm working from memory, but I have posted about my personal succesfull experience before so search the archives for step by step details.
high-level:
The dd part will work fine, but when you pull out your current ata drive you won't be able to boot.
You will have to fix your grub/lilo setup to use the new drive.
Also you will need to fix your /etc/fstab entry to point to the new drive.
After you get your machine so you think it is booting purely off of 3ware, poweroff and pull out the ata drive.
Verify the machine still works, then put the old drive in port 1 and build your mirror.
FYI: IIRC New mirrors copy all data from the port 0 drive to the port 1 drive so be sure your new drive is on port 0.
Greg -- Greg Freemyer
Thanks for the information. I'd like to find your step by step, but it's one hell of a big archive. Any clue as to when you may have posted it???
Thanks, Tom
On Fri, 2003-08-29 at 17:07, Tom Nielsen wrote:
On Fri, 2003-08-29 at 13:52, Greg Freemyer wrote:
You do know there is a searchable index at
No, I didn't know that. Thanks!
Unfortunately I have just searched that archive plus my own sent box and I can not find the e-mail I was talking about.
I guess I never actually wrote it. Sorry about that.
Still, I definately have done this with no data loss.
Any chance of remembering and letting me know? I was just thinking of doing a dd with the new drive and then hooking them both up on the raid card and see what happens. Although that would sound way too easy.
No. You have to install the new blank drive to port 0 of the 3ware card. Then you can dd from /dev/hda to /dev/sda Then you have to fix your grub / lilo config on /dev/sda Then fix /etc/fstab on /dev/sda. Then powerdown and remove the /dev/hda drive. Try booting and verify that everything is working on the single /dev/sda drive. Then power down and install the old drive on port 1. Then go into the 3ware bios and create your mirror. The 3ware card will duplicate your port 0 drive to port 1. Note that a drive that works connected to a 3ware card will NOT work directly connected to a normal IDE controller. The 3ware card apparently uses a couple of the drive sectors for its own use. The hard part is fixing the config files on /dev/sda but if you know what your doing it only takes a couple of minutes to do. HTH Greg -- Greg Freemyer
Greg
On Thu, 2003-08-28 at 19:34, Tom Nielsen wrote:
On Thu, 2003-08-28 at 15:54, Greg Freemyer wrote:
On Thu, 2003-08-28 at 16:40, Tom Nielsen wrote:
I got a 7000-2 and I'm trying to setup my drives for RAID1. Here's the catch, the existing drive has been in the machine for about 2 months. I just got the card and the second drive. I want to setup an array for the 2 drives but in order for that to happen, data on my existing drive will be deleted....I don't want that to happen.
Does anyone know a way around this? Can't I just dd my exiting drive to my new drive and then setup the array from there? I don't see why data from the first drive needs to be deleted.
Thanks, Tom Tom,
Yes and no.
I'm working from memory, but I have posted about my personal succesfull experience before so search the archives for step by step details.
high-level:
The dd part will work fine, but when you pull out your current ata drive you won't be able to boot.
You will have to fix your grub/lilo setup to use the new drive.
Also you will need to fix your /etc/fstab entry to point to the new drive.
After you get your machine so you think it is booting purely off of 3ware, poweroff and pull out the ata drive.
Verify the machine still works, then put the old drive in port 1 and build your mirror.
FYI: IIRC New mirrors copy all data from the port 0 drive to the port 1 drive so be sure your new drive is on port 0.
Greg -- Greg Freemyer
Thanks for the information. I'd like to find your step by step, but it's one hell of a big archive. Any clue as to when you may have posted it???
Thanks, Tom
On Fri, 2003-08-29 at 14:26, Greg Freemyer wrote:
On Fri, 2003-08-29 at 17:07, Tom Nielsen wrote:
On Fri, 2003-08-29 at 13:52, Greg Freemyer wrote:
You do know there is a searchable index at
No, I didn't know that. Thanks!
Unfortunately I have just searched that archive plus my own sent box and I can not find the e-mail I was talking about.
I guess I never actually wrote it. Sorry about that.
Still, I definately have done this with no data loss.
Any chance of remembering and letting me know? I was just thinking of doing a dd with the new drive and then hooking them both up on the raid card and see what happens. Although that would sound way too easy.
No. You have to install the new blank drive to port 0 of the 3ware card.
Then you can dd from /dev/hda to /dev/sda
I take it sda is my new drive?
Then you have to fix your grub / lilo config on /dev/sda
Then fix /etc/fstab on /dev/sda.
Then powerdown and remove the /dev/hda drive.
Try booting and verify that everything is working on the single /dev/sda drive.
Then power down and install the old drive on port 1.
Then go into the 3ware bios and create your mirror.
The 3ware card will duplicate your port 0 drive to port 1.
Note that a drive that works connected to a 3ware card will NOT work directly connected to a normal IDE controller. The 3ware card apparently uses a couple of the drive sectors for its own use.
The hard part is fixing the config files on /dev/sda but if you know what your doing it only takes a couple of minutes to do.
I have no idea what I'm doing...can't you tell? ;-) What config files should I look at? -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
On Fri, 2003-08-29 at 17:39, Tom Nielsen wrote:
On Fri, 2003-08-29 at 14:26, Greg Freemyer wrote:
<snip>
No. You have to install the new blank drive to port 0 of the 3ware card.
Then you can dd from /dev/hda to /dev/sda
I take it sda is my new drive?
The 3ware card pretends to be a scsi controller. So Linux names the new drive sda (ie. The first scsi drive)
Then you have to fix your grub / lilo config on /dev/sda
Then fix /etc/fstab on /dev/sda.
Then powerdown and remove the /dev/hda drive.
Try booting and verify that everything is working on the single /dev/sda drive.
Then power down and install the old drive on port 1.
Then go into the 3ware bios and create your mirror.
The 3ware card will duplicate your port 0 drive to port 1.
Note that a drive that works connected to a 3ware card will NOT work directly connected to a normal IDE controller. The 3ware card apparently uses a couple of the drive sectors for its own use.
The hard part is fixing the config files on /dev/sda but if you know what your doing it only takes a couple of minutes to do.
I have no idea what I'm doing...can't you tell? ;-)
If you really don't know what your doing, it may be easier to install SuSE from scratch on the new drive, then just copy over the appropriate data files. If you have not installed a bunch of extra packages, that is really not that hard.
What config files should I look at?
/etc/fstab for sure, but you have to edit the one on the copy, not your original. That means mounting the root partition on /dev/sda as /mount, then editing /mount/etc/fstab. Then you also have to make sure you boot from the correct root device. This is done in the grub or lilo setup. Which one are you using? I don't remember exactly how I fixed this bootup issue but it was not too difficult. BTW, I'm leaving for the day, so hopefully someone else can help you with these 2 issues. I won't be back online until Tues. Greg -- Greg Freemyer
Trying to install SUSE Enterprise on a RS/6000 model 150 with udal 20g drives. The install procedures tell me that the drives must be changed to type 0xfd, but once I do that I can't figure out how to set the / mount point or load point....and it complains it doesn't have a root load point...and abends the instllation. Ideas and RTFM references welcomed....:) Don in DC
participants (3)
-
Don
-
Greg Freemyer
-
Tom Nielsen