Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.