Skip to contentSkip to conversation

3ware drive hotswapping

DISCUSSION Adam Radford 2 participants 3 messages Jun 22, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

Please make sure that:

1. You have support for /proc/scsi turned on in your kernel.
2. You have powered the drive back on after re-insertion.
3. You have a 3ware driver >= v1.02.00.032.

If it still doesn't work, email [email protected]

-Adam

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Scott T. Smith
Sent: Monday, June 21, 2004 6:06 PM
To: [email protected]
Subject: 3ware drive hotswapping

I'm testing the ability of a 3ware 8506 card to hotswap SATA drives in JBOD mode, and I'm having problems.

When I remove the drive, the device becomes inaccessible -- that's obvious. However, when I reinsert the drive, I can't access it. I've tried echoing 'scsi remove-single-device W X Y Z' followed by 'scsi add-single-device W X Y Z'; the remove causes the /dev/sd* devices to disappear, but the add does not create any /dev/sd* entries (I'm using devfs -- though trying to access the devices through a mknod'd block device doesn't help either).

What is the correct procedure to get a 2.6 kernel to integrate drives?

Scott

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 3 lines · Adam Radford

Please make sure that:

1. You have support for /proc/scsi turned on in your kernel.

yup (cat /proc/scsi/scsi shows lots of stuff, and remove-single-device/add-single-device work for other drives).

Quoted 1 line

2. You have powered the drive back on after re-insertion.

uh..... ummm..... how do I do that?

I was told the drives are not programmed to power on when the machine powers on, but instead by the controller in order to prevent a power surge on start (we have 24 disks); though for the life of me I can't figure out where that is set (the Alt-3 screen on startup doesn't seem to show any option regarding that).

Quoted 1 line

3. You have a 3ware driver >= v1.02.00.032.

yup

Scott

#2 lore raw
In reply to Adam Radford
Quoted 5 lines · Adam Radford

Please make sure that:

1. You have support for /proc/scsi turned on in your kernel.
2. You have powered the drive back on after re-insertion.
3. You have a 3ware driver >= v1.02.00.032.

nevermind, I see that I was supposed to use the 3ware CLI to rescan the controller. I guess there's no automatic handling of reinserted disks.

Scott