October 21, 20205 yr 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, 20205 yr by mintjberry
October 21, 20205 yr Community Expert 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
October 21, 20205 yr Author 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.
October 21, 20205 yr Community Expert 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.
October 21, 20205 yr Author 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?
October 21, 20205 yr Community Expert 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?
October 21, 20205 yr Author 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.
October 21, 20205 yr Author 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
October 21, 20205 yr Author The two 8TB drives under unassigned are the new ones. Edited October 21, 20205 yr by mintjberry
October 21, 20205 yr Community Expert 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.
October 21, 20205 yr Author Have set to XFS, now I have that option, so will proceed with the repair. Cheers
October 21, 20205 yr Author When I press the check button nothing happens, looks like the data in the drive may no longer be viable...
October 21, 20205 yr Author 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, 20205 yr by mintjberry
October 21, 20205 yr Community Expert 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.
October 21, 20205 yr Author 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?
October 21, 20205 yr Author 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?
Archived
This topic is now archived and is closed to further replies.