fensty
June 10th, 2018, 04:15 AM
Hello,
Long time reader, first time poster. I'll do my best to post correctly, go easy on me if I fail, please?
TL;DR: Resolved a booting-to-Busy Box (initramfs) issue with FSCK /dev/sda, but found my RAID1 array on /dev/md0 (2 drives) was INACTIVE. Found an online help page that described how to verify things, stop the array, then restart and add in missing drives, then sit back and wait for it to rebuild, etc. However when I did the MDADM /S /dev/md0 and then turned around to restart the array, it came back with only 1 of 2 drives (as expected) but on mounting that and looking, the array appeared as it did in Oct. 2016 - nothing I added since showed up. I freaked, shut down array, shut down machine, unplugged drives then came here to seek help.
More detail:
After fixing the 'boot drive only takes to (initiramfs) mini environment' issue on /dev/sda, I rebooted to find my RAID1 array missing. The gnome "Disks" util in LXDesk shows the drives (/dev/sdb1 and /dev/sdc) and also the RAID array but not mountable. A detailed scan shows this:
sudo mdadm --detail --scan -v /dev/md0
INACTIVE-ARRAY /dev/md0 num-devices=1 metadata=1.2 name=Carn-Dum:0 UUID= (the correct UUID for the array)
devices=/dev/sdb1
The help page I found for this is here: http://fibrevillage.com/storage/676-how-to-fix-linux-mdadm-inactive-array
Essentially it talked me through various forms of verifying what was there, then how to stop the array with MDADM /S /dev/md0, then how to restart which it did with the "1 of 2 drives" note.
I then mounted /dev/md0 and FREAKED when I saw it as it appeared on Oct. 2016 which was shortly after I set it up. Nothing added since then was present anywhere or seemed to show up anywhere in LXDesk or command prompt.
I shut off the array again, shut down the system, pulled the SATA cables off both drives "just in case" so I don't screw anything up, and came here to seek help.
I suspect I'm being overly timid and cautious, and if I'd just gone ahead and re-added the missing drive and started the rebuild process, it would have rebuilt with the 'correct' file table perfectly fine and without drama. But as I'm still only halfway between 'noob' and 'knows just enough to get in trouble' I felt it was best to be careful and seek assistance.
So, here I am. Please tell me I should just re-add this missing drive and then re-create the array and it'll be fine. But if that's not possible because that's not true, if anyone can tell me what to do to save the data that I'm sure is on there but can't access, I would be forever grateful...
Thanks in advance!
JD
Long time reader, first time poster. I'll do my best to post correctly, go easy on me if I fail, please?
TL;DR: Resolved a booting-to-Busy Box (initramfs) issue with FSCK /dev/sda, but found my RAID1 array on /dev/md0 (2 drives) was INACTIVE. Found an online help page that described how to verify things, stop the array, then restart and add in missing drives, then sit back and wait for it to rebuild, etc. However when I did the MDADM /S /dev/md0 and then turned around to restart the array, it came back with only 1 of 2 drives (as expected) but on mounting that and looking, the array appeared as it did in Oct. 2016 - nothing I added since showed up. I freaked, shut down array, shut down machine, unplugged drives then came here to seek help.
More detail:
After fixing the 'boot drive only takes to (initiramfs) mini environment' issue on /dev/sda, I rebooted to find my RAID1 array missing. The gnome "Disks" util in LXDesk shows the drives (/dev/sdb1 and /dev/sdc) and also the RAID array but not mountable. A detailed scan shows this:
sudo mdadm --detail --scan -v /dev/md0
INACTIVE-ARRAY /dev/md0 num-devices=1 metadata=1.2 name=Carn-Dum:0 UUID= (the correct UUID for the array)
devices=/dev/sdb1
The help page I found for this is here: http://fibrevillage.com/storage/676-how-to-fix-linux-mdadm-inactive-array
Essentially it talked me through various forms of verifying what was there, then how to stop the array with MDADM /S /dev/md0, then how to restart which it did with the "1 of 2 drives" note.
I then mounted /dev/md0 and FREAKED when I saw it as it appeared on Oct. 2016 which was shortly after I set it up. Nothing added since then was present anywhere or seemed to show up anywhere in LXDesk or command prompt.
I shut off the array again, shut down the system, pulled the SATA cables off both drives "just in case" so I don't screw anything up, and came here to seek help.
I suspect I'm being overly timid and cautious, and if I'd just gone ahead and re-added the missing drive and started the rebuild process, it would have rebuilt with the 'correct' file table perfectly fine and without drama. But as I'm still only halfway between 'noob' and 'knows just enough to get in trouble' I felt it was best to be careful and seek assistance.
So, here I am. Please tell me I should just re-add this missing drive and then re-create the array and it'll be fine. But if that's not possible because that's not true, if anyone can tell me what to do to save the data that I'm sure is on there but can't access, I would be forever grateful...
Thanks in advance!
JD