persistent disk names ?

General support questions including new installations
Post Reply
einor
Posts: 19
Joined: 2015/05/22 12:53:04

persistent disk names ?

Post by einor » 2015/09/24 13:43:40

Hello.

I try to understand, how to add new disk to the system, that it could has some known name, say /dev/sdq.
When I'm using udev rules based on uuid, yes, I got the device /dev/sdq. But the original disk name also presents, with the name /dev/sdf...
How to have only /dev/sdq ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: persistent disk names ?

Post by TrevorH » 2015/09/24 18:16:11

Why do you care about device names? Just use the UUID or LABEL,.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

einor
Posts: 19
Joined: 2015/05/22 12:53:04

Re: persistent disk names ?

Post by einor » 2015/09/24 19:06:58

I already have a lot of disks in my virtual machine. /dev/sda,b,c,d,e,f,g... etc. I think 10 or 11.
When I add one disk more, it became /dev/sdf... It leads to problems... most disks are just disks without partitions, raw disks.
There is an Oracle + ASM there.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: persistent disk names ?

Post by aks » 2015/09/27 12:49:21

Have a look at https://www.centos.org/docs/5/html/5.2/ ... nment.html (although that might not be what you're after).

The other thing you could try is make some UDEV rules based on SCSI names - have a look at https://support.symantec.com/en_US/arti ... 71007.html

einor
Posts: 19
Joined: 2015/05/22 12:53:04

Re: persistent disk names ?

Post by einor » 2015/10/02 08:46:18

Thanks for reply,aks, but I already tried these tricks. Seems to be kernel attach disk names before udev rules, so you could nothing to do about it.

Post Reply