On Mon, Aug 17, 2009 at 01:04:41PM -0700, Sebastian Gutierrez wrote: > Hello > > I have a Poweredge R610 with the internal SAS 6iR raid controller and a > SAS 5e HBA. It seems that the /dev/sd? devices keep getting reordered > when I connect disks to the enclosures attached to the SAS HBA. I have > tried a couple of iterations of udev rules and have not been able to get > the boot devices to stay as their initial device name.
the kernel's device name (e.g. /dev/sd?) is fundamentally arbitrary. That is seems deterministic is purely accidental. Instead of trying to fix the /dev/sd? names, use your udev rules to create /dev/disk/whateveryouwant -> /dev/sd? such that the former always is what your apps use, and udev maintains the symlink on your behalf to the "proper" /dev/sd? device. -- Matt Domsch Technology Strategist, Dell Office of the CTO linux.dell.com & www.dell.com/linux _______________________________________________ Linux-PowerEdge mailing list [email protected] https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
