Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux Drive Letter

Posted on 2014-10-22
4
Medium Priority
?
620 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 1500 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Noteā€¦
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

963 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