Re: unused space before data offset mismatch
From: Phil Turmel <hidden>
Date: 2013-11-21 03:25:55
On 11/20/2013 02:46 PM, kustep wrote:
Hello Everyone, is there an option to specifiy the "Unused Space : before=...." Superblock information in mdadm -C ....?
I don't know about this, but ...
My Raid crashed due to a controller error, but I was able to make the new superblock almost identical to the old one (using mdadm -C --assume-clean --level=6 --raid-devices=11 --chunk=256K --metadata=1.2 --bitmap=None --size=195328588 --data-offset=128768 /dev/md0 /dev/mapper/disk[cdefmbjkh] missing). Looking at mdadm --examine the
This almost certainly didn't do what you think--square brackets in the shell don't maintain the order of the letters given. The device order actually given to mdadm would have been [bcdefhjkm]. The bracket notation will also leave out devices that don't actually exist. You need to use curly braces with commas to maintain a specific order. FWIW, Phil