July 17, 20178 yr hi all im hoping someone can help me i was trying to remove a missing disk from the array with the new config but i didnt select the disks to save the current configuration is there any way to determine what the previous configureation was? here is a screenshot of the disk configuration now after i stuffed it up, all my data is there i would just like to find how i had the disk configuration from what i can remember i had the following 1 partiy disk 3 normal disks 2 cache disk ssd and normal disk Untitled 1.pdf
July 17, 20178 yr Author the ssd was the drive i was trying to move from the array to cache drive there was nothing on it so not worries about the ssd.
July 17, 20178 yr The conventional wisdom has been, if you lost your disk configuration, to install ALL disks as data disks (no parity). (You'd want to be very careful to NOT WRITE to any of the disks!) The unformatted disk would be parity. The others you could look at and decide if you knew which was disk1, disk2, etc. Cache would normally be easy to figure out. But order of data disks is not so important. Once you had this figured as best you could, you could do a new config and put the parity and cache in the right slots, along with best guess on the disk order. Now we have dual parity. If you have one of those, determining which parity was parity1 vs parity2 would be trickier, and knowing the disk order is important for parity2. No solution there. Cache pools might also be a challenge, not sure. But above instructions might work for you if you don't have these complications.
July 17, 20178 yr Community Expert This was the config at boot time as of the diagnostics you posted: Disk0 is parity. Jul 16 13:13:49 Tower kernel: md: import disk0: (sdc) ST6000VN0041-2EL11C_ZA16155P size: 5860522532 Jul 16 13:13:49 Tower kernel: md: import disk1: (sdb) ST5000DM000-1FK178_W4J18KQC size: 4883770532 Jul 16 13:13:49 Tower kernel: md: import disk2: (sdd) ST5000DM000-1FK178_W4J1FN74 size: 4883770532 Jul 16 13:13:49 Tower kernel: md: import disk3: (sdg) ST6000VN0041-2EL11C_ZA15YRYZ size: 5860522532 Jul 16 13:13:49 Tower kernel: md: import disk4: (sdf) SanDisk_SDSSDHP128G_150403405010 size: 125034808 Jul 16 13:13:49 Tower emhttp: import 30 cache device: sde (ST5000DM000-1FK178_W4J1B33F (sde) 4883770532)
July 17, 20178 yr Community Expert After that you assigned disk3 as parity and started the array beginning a parity sync, so data on that disk is gone: Jul 17 10:38:29 Tower kernel: md: import disk0: (sdg) ST6000VN0041-2EL11C_ZA15YRYZ size: 5860522532 ... Jul 17 10:40:15 Tower kernel: md: recovery thread: recon P ... Edited July 17, 20178 yr by johnnie.black
July 17, 20178 yr Community Expert And we don't know what might have been before boot time so possibly the other unmountables are similar attempts with wrong parity disk.
July 17, 20178 yr Author Ok so I’m screwed? Or can I mount the parity disk and recover my data Sent from my iPhone using Tapatalk
July 17, 20178 yr Community Expert 2 minutes ago, tabac1987 said: Ok so I’m screwed? Or can I mount the parity disk and recover my data Sent from my iPhone using Tapatalk Parity disk contains no data by itself. To recover a failed disk unRAID requires the parity disk and ALL other data disks to be correct and not have errors.
July 17, 20178 yr Community Expert Possibly you have lost the data on all disks that are listed as unmountable. Did you try to assign any of those as parity?
July 17, 20178 yr Author I think I might have I though I could remember the disk order Sent from my iPhone using Tapatalk
July 17, 20178 yr Community Expert From the screenshot assignments: disk1 was disk2 and data is there disk2 was part of the cache, it may mount if you mount it in a pool with disk5 disk3 was disk1 and data is there disk4 was disk3 and data is gone disk5 was part of the cache, it may mount if you mount it in a pool with disk2 disk6 was parity, no data
July 17, 20178 yr Community Expert 8 minutes ago, tabac1987 said: So I’ve only lost 1 disk worth of data? It is probably more accurate to say you have not lost 2 disks of data. Whether the former cache disks can be recovered remains to be seen. Obviously you should have asked for help sooner.
July 17, 20178 yr Author It is probably more accurate to say you have not lost 2 disks of data. Whether the former cache disks can be recovered remains to be seen. Obviously you should have asked for help sooner.The cache disks I don’t think are that important I haven’t written much stuff of importance to the server in the past days, I know I should of asked for help sooner but I thought I knew the order of the disks and that I could recreate it, I think that was my mistake! How would you recommend I proceed?Sent from my iPhone using Tapatalk
July 17, 20178 yr Author Do you have backups?No no backups all the data is tv shows and movies for plex so not critical data just time consuming to recreate Sent from my iPhone using Tapatalk
July 17, 20178 yr Community Expert Do another new config and reassign the disks how you want them, if cache data isn't important reassign those any way you want them now.
July 18, 20178 yr Author hey all thanks heaps for all your help i guess ive learnt a valuable lesson to ask questions first for trying to fix what i have no idea about!, and also to have backups! any recommendations on how i should backup??
July 18, 20178 yr Author hey all just though id give an update i rebuit the array with not much data loss i think i lost about 1 tb of data out of 7tb so not that bad thanks for all you help much apprected!!
Archived
This topic is now archived and is closed to further replies.