Solved

Linux Drive Letter

Posted on 2014-10-22
4
605 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
[X]
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
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

Three Considerations for Containers

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read our article on Experts Exchange.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
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.:
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

632 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