mintjberry Posted October 21, 2020 Share Posted October 21, 2020 (edited) I received a couple of new drives that I was planning on putting into my system. In my excitement I thought I had stopped the array, but I hadn't, and I added the drives. I also removed one other drive, then put it back in. None of the drives were spinning, the entire array was idle. Then I had some issues with a single read error on one of the drives, I assume this was the existing drive that I removed and put back in. unRAID wanted me to do a full parity check, but I didn't want to do that, and decided to shut the array down and make a new config with all the existing settings. I thought that this would bring the array back to fully operational. I was wrong. It looks like the file system on that drive has been wiped. It's not XFS like my other drives, it says 'auto'. The data should still be on there though (this is a media server, nothing super important is stored). I'm guessing that unRAID is currenlty emulating the data in it, though I can't see a message saying that anywhere. All I want to do is bring this drive back online and not lose any data if possible. If a parity rebuild is required then so be it. Should I format the disk like unRAID is wanting me to do, or can I restore the file system that was on it and carry on using it? I've attached my diagnostics. tower-diagnostics-20201021-1320.zip Edited October 21, 2020 by mintjberry Quote Link to comment
trurl Posted October 21, 2020 Share Posted October 21, 2020 DO NOT FORMAT!! Since the disk isn't disabled, it isn't being emulated. It is unmountable due to corruption. https://wiki.unraid.net/Check_Disk_Filesystems#Checking_and_fixing_drives_in_the_webGui 1 Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 Thanks. I don't have the option to 'check file system status'. I can see it on other drives that are in my array, but not the drive that I need to try it on. Quote Link to comment
trurl Posted October 21, 2020 Share Posted October 21, 2020 Did you stop the array and restart it in maintenance mode? You can also do it from the command line, see other parts of that wiki I linked. You must be sure to repair the md# device and not the sdX1 partition or parity will be invalidated. 1 Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 Yep it's in maintenance mode, I think it may be because the file system is set to auto. Can I stop the array, set the drive to XFS, then try a repair? Quote Link to comment
trurl Posted October 21, 2020 Share Posted October 21, 2020 Some things about your first post that makes me wonder if parity is even valid at this point since you did New Config. Are those new disks you added in the array now? Did you add them to new data slots in the array? Did you preclear them? Or did you let Unraid clear them after adding them? How did they get formatted? 1 Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 The disks have not been added to the pool. They are just unassigned devices. They haven't been precleared or formatted. When I did a new config, I chose all existing drives that were previously in the pool, no more, no less. Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 Does me setting the file system type of that unmountable drive to XFS actually attempt to reformat the drive? If not, could i just set the file system as XFS on the unmountable drive, then try and recover the drive through your previous link? Or do I need to do it via command line? Thanks Quote Link to comment
trurl Posted October 21, 2020 Share Posted October 21, 2020 Post a screenshot of Main - Array Operation. 1 Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 (edited) The two 8TB drives under unassigned are the new ones. Edited October 21, 2020 by mintjberry Quote Link to comment
trurl Posted October 21, 2020 Share Posted October 21, 2020 Sorry I wanted to see it with the array started in maintenance mode. I don't think it will format anything unless you check a box to enable the format button, I was just trying to get some confirmation of that. You could wait for @JorgeB to comment but he is several time zones ahead of me so probably asleep right now. 1 Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 Have set to XFS, now I have that option, so will proceed with the repair. Cheers Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 When I press the check button nothing happens, looks like the data in the drive may no longer be viable... Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 (edited) In this case, I'm pretty sure my parity drive should still be all good. If this drive isn't recoverable, can I attempt to rebuild the drive from parity? Edited October 21, 2020 by mintjberry Quote Link to comment
trurl Posted October 21, 2020 Share Posted October 21, 2020 Parity rebuild doesn't normally fix corruption, but considering what you did this is not a normal situation. Try this Stop the array Unassign the disk Start the array in normal mode to see if the emulated disk is mounted. Whatever is emulated is what would be rebuilt. 1 Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 I'm not seeing that it says anywhere that it's being emulated, but I can browse the data on that drive as if it's there, so it looks like it is being emulated? Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 Actually when I hover over the drive it says - device missing / disabled, contents emulated. Great. Can I now stop the array, add that drive in, and let it rebuild it from parity? Quote Link to comment
mintjberry Posted October 21, 2020 Author Share Posted October 21, 2020 Thank you. Appreciate the help. I'll be more careful next time. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.