Problems with getting scsi to detect with 3ware raid card

I bought a 3ware 7000-2 raid card and I'm trying to setup raid 1. I bought a new drive to match my existing drive. Tonight I dd my existing drive to my new drive. I managed to boot the new drive from my IDE port just fine (taking into account I removed my existing drive first). My problem is that I can't get the new drive to be seen my Suse 8.2 thru my 3ware card. I connect my old drive to IDE1 and connect my new drive to my raid card on slot 0. My raid card is picked up and I can see a drive on it during boot, but I can't access it once I'm logged in. I haven't made any entries to my fstab so there are no sda devices listed. I think this is my problem. What entry should I make into my fstab so that I can see the drive? Currently I have /dev/hdc1 and /dev/hdc2 from which I boot off of. One more thing, I get the following error during the boot process: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2 Does that mean anything? Thanks, Tom

On Wed, 2003-09-03 at 22:41, Tom Nielsen wrote:
I bought a 3ware 7000-2 raid card and I'm trying to setup raid 1. I bought a new drive to match my existing drive. Tonight I dd my existing drive to my new drive. I managed to boot the new drive from my IDE port just fine (taking into account I removed my existing drive first).
My problem is that I can't get the new drive to be seen my Suse 8.2 thru my 3ware card. I connect my old drive to IDE1 and connect my new drive to my raid card on slot 0. My raid card is picked up and I can see a drive on it during boot, but I can't access it once I'm logged in. I haven't made any entries to my fstab so there are no sda devices listed. I think this is my problem. What entry should I make into my fstab so that I can see the drive? Currently I have /dev/hdc1 and /dev/hdc2 from which I boot off of.
One more thing, I get the following error during the boot process:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
Does that mean anything?
Thanks, Tom
-- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com

On Wed, 2003-09-03 at 22:41, Tom Nielsen wrote:
I bought a 3ware 7000-2 raid card and I'm trying to setup raid 1. I bought a new drive to match my existing drive. Tonight I dd my existing drive to my new drive. I managed to boot the new drive from my IDE port just fine (taking into account I removed my existing drive first).
My problem is that I can't get the new drive to be seen my Suse 8.2 thru my 3ware card. I connect my old drive to IDE1 and connect my new drive to my raid card on slot 0. My raid card is picked up and I can see a drive on it during boot, but I can't access it once I'm logged in. I haven't made any entries to my fstab so there are no sda devices listed. I think this is my problem. What entry should I make into my fstab so that I can see the drive? Currently I have /dev/hdc1 and /dev/hdc2 from which I boot off of.
One more thing, I get the following error during the boot process:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
Does that mean anything?
Thanks, Tom
Tom, Here is a link that describes what errno 2 is for modprobe and gives some other details. Basically, the link appears to say errno = 2 is ENOENT meaning 'File not found' or something like that. Is your kernel configured for SCSI? http://lists.us.dell.com/pipermail/linux-poweredge/2002-October/009984.html Hope this helps a bit. I just did a quick search on google. You may want to do the same thing. -Jim-

On Thu, 2003-09-04 at 11:04, Tom Nielsen wrote:
On Wed, 2003-09-03 at 22:41, Tom Nielsen wrote:
I bought a 3ware 7000-2 raid card and I'm trying to setup raid 1. I bought a new drive to match my existing drive. Tonight I dd my existing drive to my new drive. I managed to boot the new drive from my IDE port just fine (taking into account I removed my existing drive first).
My problem is that I can't get the new drive to be seen my Suse 8.2 thru my 3ware card. I connect my old drive to IDE1 and connect my new drive to my raid card on slot 0. My raid card is picked up and I can see a drive on it during boot, but I can't access it once I'm logged in. I haven't made any entries to my fstab so there are no sda devices listed. I think this is my problem. What entry should I make into my fstab so that I can see the drive? Currently I have /dev/hdc1 and /dev/hdc2 from which I boot off of.
One more thing, I get the following error during the boot process:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
Does that mean anything?
Thanks, Tom
Tom, A normal ide drive with data cannot be simply moved to the 3ware card. (3-ware uses a non-standard data layout.) So the order of what your doing will simply not work. So take one of your 2 drives and mentally tell yourself that one of them is blank. Now connect that blank drive to your 3-ware card port 0. Now boot up and see if the 3-ware driver is working. (You have to have a drive hanging off of the 3ware card during bootup for anything at all to be installed, so you can't test with just the controller installed.) You can verify the driver is working with "ls /proc/scsi". It should show you a 3w-xxxx directory. If so, the basic 3-ware installation is working. Congratulations. Now is when you must do the dd command. ie. You must put the data on the drive while it is connected via the 3ware card. Also, you can not move the drive back to a normal ide controller later. So it should be "dd if=/dev/hda of=/dev/sda". I would do the above dd while booted single user mode to ensure that no data is changing during the dd. (ie. In single user mode, the / fs is mounted readonly.) FYI: I hope you are treating this as a learning experience, because you will have lots of questions and small problems before you are done. Greg -- Greg Freemyer If so, the 3-ware

On Thu, 2003-09-04 at 10:23, Greg Freemyer wrote:
On Thu, 2003-09-04 at 11:04, Tom Nielsen wrote:
On Wed, 2003-09-03 at 22:41, Tom Nielsen wrote:
I bought a 3ware 7000-2 raid card and I'm trying to setup raid 1. I bought a new drive to match my existing drive. Tonight I dd my existing drive to my new drive. I managed to boot the new drive from my IDE port just fine (taking into account I removed my existing drive first).
My problem is that I can't get the new drive to be seen my Suse 8.2 thru my 3ware card. I connect my old drive to IDE1 and connect my new drive to my raid card on slot 0. My raid card is picked up and I can see a drive on it during boot, but I can't access it once I'm logged in. I haven't made any entries to my fstab so there are no sda devices listed. I think this is my problem. What entry should I make into my fstab so that I can see the drive? Currently I have /dev/hdc1 and /dev/hdc2 from which I boot off of.
One more thing, I get the following error during the boot process:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno=2
Does that mean anything?
Thanks, Tom
Tom,
A normal ide drive with data cannot be simply moved to the 3ware card. (3-ware uses a non-standard data layout.) So the order of what your doing will simply not work. So take one of your 2 drives and mentally tell yourself that one of them is blank.
Now connect that blank drive to your 3-ware card port 0.
Now boot up and see if the 3-ware driver is working. (You have to have a drive hanging off of the 3ware card during bootup for anything at all to be installed, so you can't test with just the controller installed.)
You can verify the driver is working with "ls /proc/scsi". It should show you a 3w-xxxx directory. If so, the basic 3-ware installation is working.
Congratulations.
Now is when you must do the dd command. ie. You must put the data on the drive while it is connected via the 3ware card. Also, you can not move the drive back to a normal ide controller later.
So it should be "dd if=/dev/hda of=/dev/sda".
I would do the above dd while booted single user mode to ensure that no data is changing during the dd. (ie. In single user mode, the / fs is mounted readonly.)
FYI: I hope you are treating this as a learning experience, because you will have lots of questions and small problems before you are done.
Greg
I did all the above last night thanks to the instructions you sent me a couple days ago. I can see my card and I can mount the drive while connected to the raid card. Right now I booting off my existing IDE drive and manually mounting my new drive which is connected to the raid card. All this is fine. I just changed my fstab on the new drive and changed over all the hda to sda. I want to now boot from the new raid drive. My question is if I need to change my grub to do so. It currently reads: root (hd0,1) install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst quit and I'm wondering if I need to change the hd to sd or add something else??? Thanks, Tom -- Tom Nielsen Neuro Logic Systems 805.389.5435 x18 www.neuro-logic.com
participants (3)
-
Greg Freemyer
-
jrn@oregonhanggliding.com
-
Tom Nielsen