Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   The Redhat linux reboot puts me into a maintenance shell because disks are discovered and name differently. (http://www.linux-archive.org/red-hat-linux/638832-redhat-linux-reboot-puts-me-into-maintenance-shell-because-disks-discovered-name-differently.html)

Barry Brimer 02-28-2012 11:21 PM

The Redhat linux reboot puts me into a maintenance shell because disks are discovered and name differently.
 
> The problem; I guess is that the system is discovering & naming the disks
> in different order everytime the server is rebooted. For example the
> /dev/sda which represents the raid5 device created on local internal SAS
> disk is discovered as /dev/sdew ... and I guess this is the reason I am
> being dropped into the maintenance shell. I tell this because after I
> login to the maintenance shell I see that the /dev/sda represents a 500G
> SAN disk instead of a 600G internal disk. The internal disk is named
> /dev/sdew and if I disconnect the fibre cables; the server boots just
> fine.
>
> Is there a way to make sure that the disks are named consistently across
> reboots?
> Please suggest or point me in the right direction.

Your /etc/fstab and /etc/grub.conf (really /boot/grub/grub.conf) should use
LABELs to identify filesystems, not devices. RHEL 6 also allows you to specify
filesystems by UUID. I don't know if that works in RHEL 5 or not.

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 05:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.