Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Linux Drive Letter

Posted on 2014-10-22
4
589 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

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é.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

840 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