Re: unused space before data offset mismatch
From: NeilBrown <hidden>
Date: 2013-11-21 03:33:30
Attachments
- signature.asc [application/pgp-signature] 828 bytes
From: NeilBrown <hidden>
Date: 2013-11-21 03:33:30
On Wed, 20 Nov 2013 20:46:21 +0100 kustep [off-list ref] wrote:
Hello Everyone, is there an option to specifiy the "Unused Space : before=...." Superblock information in mdadm -C ....?
--data-offset=.... or --data-offset=variable ... /dev/foo:16K /dev/foo2:32K .... You probably need mdadm 3.3. NeilBrown
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 only difference left is: old layout: Unused Space : before=257456 sectors, after=197632 sectors new layout: Unused Space : before=257448 sectors, after=197632 sectors Is there an option to change that or anything else I can do to make the layouts identical? The assembled raid refuses to mount, and I suspect this difference to be the reason. Thanks in advance Stephan -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html