3ware 9650SE-LP2 installation

Hi!

I have a Debian box with a 250GB SATA HDD connected to the mobo's SATA connector.

I have bought a 3ware 9650SE-LP2 and another 250GB SATA HDD, and I would like to set up HW RAID1.

I've connected the new HDD alone to the 3ware card, the original HDD still on the mobo, booted the computer from a Knoppix live CD, and used dd to clone the whole HDD to the new one. After that, I tried to boot from the 3ware card, but the boot process stopped at: "waiting for root filesystem".

I fixed this by rebooting from the original HD, and upgrading the kernel to 2.6.18-5 (which supports 9650SE), and then cloned the system using dd again.

Now, if I boot from the new HDD, the boot continues, but stops later after recognizing the USB HID device (UPS). I get no error message this time.

What do you think the problem is?

ps: the new HD is a bit smaller than the old (30410 cylinders vs. 30392), therefore after cloning I had to delete the last partition on the drive (swap), and then re-create it with correct end cylinder (30392), then use mkswap to initialize it.

Regards,

Petya

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: 3ware 9650SE-LP2 installation

Your cloning technique is not correct. Don't use dd in this case; you are just wasting time and making a defective copy - especially since you are copying the wrong disk geometry from one disk to another. Just create the partitions and copy things normally. After that you just need to set up the bootloader correctly, and possibly etc/fstab, and hopefully everything runs.
You can use "cp -a" to do the copy, but be careful with virtual files (/dev, /proc, /sys) and with mount points.

Re: 3ware 9650SE-LP2 installation

Thanks!

I've just tried to boot from the old drive, with the new also connected to the 3ware card.

The old, running system (with 2.6.18-5 kernel) doesn't recognize the 3ware card, it doesn't load the 3w-9xxx module. I think it should recognize the new HD at boot time.

Although, if I boot from the new HD, with the old one also connected, then it boots up normally, but mounts the old drive.

Knoppix Live CD recognizes the new HD and the 3ware correctly.

Is this normal? Shouldn't it have to recognize the new HD while booting from the new one?

I'm going to try what you have advised, but I'm still concerned about the old system not seeing the new drive.

Petya

Re: 3ware 9650SE-LP2 installation

If the new drive boots but mounts the old drive, that is because you haven't updated the fstab file on the new drive.

You also need to look carefully if it really is the new drive booting; if the bootloader is not updated, you may be booting from the old drive.

I don't see why the older system should load the driver for the card unless you have installed an automatic hardware discovery program. You can always load the module yourself via 'modprobe' and if you want it to load at boot, put the module name into the etc/modules file. If the modules file doesn't exist you will have to create it.

Re: 3ware 9650SE-LP2 installation

Hi!

"I don't see why the older system should load the driver for the card unless you have installed an automatic hardware discovery program."

I have hal and udev installed. These programs sholud do the trick, shouldn't they?

Petya

Re: 3ware 9650SE-LP2 installation

udev should load the driver if it exists in the initramfs image; otherwise you have to manually load it when your final root system is loaded. If all that fails, check the mkinitramfs scripts and make sure the driver is included in the image. If the driver was not in use when the initramfs image was created, odds are the scripts didn't include it in the image.

Syndicate content