Solved

Linux Drive Letter

Posted on 2014-10-22
4
591 Views
Last Modified: 2014-10-23
My server running Centos 5.1 software RAID 10 got its one hard drive failed (sdd). It was hot swappable so that was replaced with a new drive.
Linux has now assigned a new drive letter to it sde instead of sdd. I don't want to reboot.

Is it possible to fix this?

Also what if I continue with sde and make partitions, add to RAID etc. Would the drive letter be changed whenever the machine is rebooted in the future?
0
Comment
Question by:sysautomation
4 Comments
 
LVL 7

Expert Comment

by:Stampel
ID: 40398703
I would continue with sde.
Depending of what you do (like insert external USB sometimes) a drive could change from sda to sdb.
Verify your /etc/fstab file, it is probably using disk UUID or Volume Groups and not mention your drive letter.
If it doesnt mention it directly, you are good to go with it.
0
 
LVL 8

Accepted Solution

by:
Wilder_Admin earned 500 total points
ID: 40398704
Rules are stored in /etc/udev/rules.d directory. Device letters depends on sequence of detecting hardware, it is dynamic. Even if name choosed by kernel can be changed it is not advised. But you can create additional symlink to device if you like.

A reboot should help to get the sdd back. The important is the UUID and not the name. If the raid is healthy then you can reboot without any doubt.
0
 

Author Closing Comment

by:sysautomation
ID: 40398726
Thanks.  Reboot got sdd back
0
 
LVL 1

Expert Comment

by:ExpertNotReally
ID: 40398727
To prevent any type of mount fails I'd suggest you use UUID instead of the name.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question