[Gllug] Replacement SATA disk naming
Alain Williams
addw at phcomp.co.uk
Thu Mar 5 13:57:16 UTC 2009
On Thu, Mar 05, 2009 at 01:07:07PM +0000, Bruce Richardson wrote:
> > How do I get the kernel to rename /dev/sdc as /dev/sda ?
>
> Don't. Use udev to create unique names (or symlinks) in /dev/ for your
> disks and their partitions and then tell your raid software about that.
Hmmmm: pity the installation s/ware (anaconda) didn't do that.
/dev/sda is referenced is all sorts of places, eg: nagios & smart monitoring.
I'd like to try this one something other than a live customer machine -- first time round.
> udevinfo --query=all --name=sdc
>
> should give you enough information to create a custom rule.
Didn't work, but this did:
udevinfo -q all -n sdc
--
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