devfs rescanning?

From: Robert L. Harris (Robert.L.Harris@rdlg.net)
Date: Wed Jul 30 2003 - 10:53:45 EST


I have a system with 4 SCA drives. Originally they were:

/dev/sda -> scsi/host0/bus0/target0/lun0/disc
/dev/sdb -> scsi/host0/bus0/target1/lun0/disc
/dev/sdc -> scsi/host1/bus0/target0/lun0/disc
/dev/sdd -> scsi/host1/bus0/target1/lun0/disc

SDA drive was hot-pulled to test the raid failover and it worked great.
Next the box was rebooted after the drive was replaced (these systems
can hang or go real stupid when a drive is pulled). The drives remapped
as was expected. When it came back up the sd? entries had shifted up 1
as expected

/dev/sda -> scsi/host0/bus0/target1/lun0/disc
/dev/sdb -> scsi/host1/bus0/target0/lun0/disc
/dev/sdc -> scsi/host1/bus0/target1/lun0/disc

and when the drive was put back in it came up as sdd. Other than a
reboot is there any known way to get the drives back in the proper
order? Killing devfsd, removing the entries and restarting, etc didn't
do any good.

Robert

:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE. I speak for no-one else.

Diagnosis: witzelsucht

IPv6 = robert@ipv6.rdlg.net http://ipv6.rdlg.net
IPv4 = robert@mail.rdlg.net http://www.rdlg.net



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:46 EST