Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If, for some reason, hard disks change device identifiers (e.g. /dev/sda becomes /dev/sdb and vice versa) does this affect a Linux software RAID system? I.e. would the device still work (assuming boot and root are not on that RAID partition)?

share|improve this question
up vote 1 down vote accepted

The RAID array itself doesn't care about the device nodes, because each component device stores its own metadata, including the UUID of the array that it belongs to. When you assemble the array, if you specify the UUID instead of the device node paths — for example, if you have UUID= on its line in mdadm.conf — then it should continue to work even if the device nodes change.

share|improve this answer
OK, thanks! I can safely keep twiddling with the server then. – Marko Poutiainen Feb 3 '13 at 21:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .