Does unplugging a disk from linux change disk name after restart?

0

I had 5 disks (sda, sdb, sdc, sdd, sde)

sda is being used for root and boot. sdc,sdd and sde disks are being used by lvm.

We unmounted and unplugged the sdb, now I need to restart the server.

I am scared if device names change after restart. Maybe sdc become sdb, sdd become sdc and so on.

So am I right to be scared and panic?

Ramazan Polat

Posted 2014-03-21T21:46:53.287

Reputation: 930

Answers

0

Yes, block device names are not guaranteed to stay the same. You should expect them to change, although they probably won't without physical movement. If you need unchanging identifiers, try on of the several methods for persistent block device naming.

ssmy

Posted 2014-03-21T21:46:53.287

Reputation: 1 250

the machine is on an ESX server, will the order still change? – Ramazan Polat – 2014-03-23T20:43:57.540