[SOLVED] Upgrade of L:inux loses reference to RAID array
by mfoley from LinuxQuestions.org on (#6J1BH)
I've just upgraded a computer to Slackware 15.0. This computer has two RAID arrays (3 including a swap array):
Code:/dev/md2 swap swap defaults 0 0
/dev/md1 / ext4 defaults 1 1
/dev/md0 /mnt/RAID auto defaults,acl 0 0MD1 is the boot device. MD0 is the NAS and was unmounted and removed from /etc/fstab during the upgrade. After upgrading, the computer booted just fine off MD1.
Then I tried to mount /dev/md0 and got "can't read superblock on /dev/md0". When I did a blkid on this system, /dev/md0 was nowhere listed, but I now have a /dev/md127! When I mounted that (ro) it does have the contents of what used to be /dev/md0. I don't know if this had anything to do with the OS upgrade, but it was definitely /dev/md0 before.
How can I "rename" this array back to /dev/md0?
Code:/dev/md2 swap swap defaults 0 0
/dev/md1 / ext4 defaults 1 1
/dev/md0 /mnt/RAID auto defaults,acl 0 0MD1 is the boot device. MD0 is the NAS and was unmounted and removed from /etc/fstab during the upgrade. After upgrading, the computer booted just fine off MD1.
Then I tried to mount /dev/md0 and got "can't read superblock on /dev/md0". When I did a blkid on this system, /dev/md0 was nowhere listed, but I now have a /dev/md127! When I mounted that (ro) it does have the contents of what used to be /dev/md0. I don't know if this had anything to do with the OS upgrade, but it was definitely /dev/md0 before.
How can I "rename" this array back to /dev/md0?