Re: unused space before data offset mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux