Hi Matt, On 03/27/2015 07:48 PM, Matt Callaghan wrote: > Back at it with fresh brain and fresh hardware. (several months ago I > got part-way through Valentine's ideas but not all the way -- decided to > get a clean setup before progressing further) > > I have built a new (fresh/clean) server, and compiled+installed the > latest mdadm v3.3.2. > The 8x drives from this RAID6 array have also been moved to the new > temporary server. > > Now of course, in the new server, the device labels are different. > I need to map the previous "known labels" in the old server (/dev/sdX) > to the "new labels" in order to get the drive ordering for re-assembly > right. > http://www.linuxquestions.org/questions/linux-server-73/mdadm-raid6-active-with-spares-and-failed-disks%3B-need-help-4175530127/ I read through this. Given all of the destructive actions you took, I am doubtful you will ever get your data. Like mounting "readonly". That gives you a readonly filesystem, but it writes to the device. Possibly a great deal if there's a journal to replay. You also trimmed much useful data with "grep" that probably would help us save you now. However, in the hope you might have useful data that can be correlated with current status, start with lsdrv [1]. Paste the output in your reply with word wrap turned off. That'll at least give us a correlation between device name and serial number. > e.g. before I had: > {{{ > /dev/sd[nmlpiokj]1 > }}} FWIW, it is not safe to use square bracket notation when order matters. > , and now I have: > {{{ > /dev/sd[abcdefghi]1 > }}} The linux 'sd' driver has never guaranteed consistent device names. It's merely an artifact of boot timing that makes it look that way. Which is why array members have superblocks that record the roles. You absolutely *must* have accurate role numbers to get your data back. Show complete 'mdadm -E' output for all of your member partitions as they stand now. > Unfortunately I don't have any smartctl output saved from the previous > server and I can't find a way to map device drive label to serial numbers. > Any thoughts how I could do this based on the data I have saved in that > forum post? Please show current 'smartctl -x' output for all of these devices, too. Just paste it all in your reply (with word wrap turned off). Phil [1] https://github.com/pturmel/lsdrv -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html