[Gllug] Replacement SATA disk naming

Alain Williams addw at phcomp.co.uk
Thu Mar 5 12:39:41 UTC 2009


Summary: new SATA disk has a new name (system not rebooted)

A 1TB disk failed[**] a new one has been installed and I go:

	echo "- - -" > /sys/class/scsi_host/host0/scan

to rescan the disks. The old disk (removed) was /dev/sda, the new one
(in the same slot) has appeared as /dev/sdc.

Disk mirroring (kernel md) is looking for partitions in /dev/sda and I
don't want to tell it about /dev/sdcX - because that will be called /dev/sdaX
after the next reboot.

How do I get the kernel to rename /dev/sdc as /dev/sda ?

I know that I could just reboot the system and have it all work, but I
would like try to avoid a reboot.



[**] System new in November, a disk (Seagate Barracuda) failed/replaced in Jan
and this new disk (MAXTOR) failed a couple of days ago.
A different m/c with new 1TB disks had one of them fail after 3 weeks.
Is 1TB pushing the technology limits or am I just unlucky ?

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list