Re: alignment of metadata 1.2 and mkfs.ext4

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

 



On Wed, 2011-07-06 at 15:20 +0600, Roman Mamedov wrote:
> On Wed, 06 Jul 2011 08:11:16 +0100
> "Tyler J. Wagner" <tyler@xxxxxxxxxxx> wrote:
> 
> > Metadata 1.2 puts the data 4K from the start of the device/partition.
> 
> This is not correct. See mdadm -E /dev/sdX.
> 
> $ sudo mdadm -E /dev/sdc3
> /dev/sdc3:
> ...
>         Version : 1.2
> ...
>     Data Offset : 2048 sectors
> ...

That is very interesting. The mdadm man page, and everything I've seen
online, all say "The different sub-versions store the superblock at
different locations on the device, either at the end (for 1.0), at the
start (for 1.1) or 4K from the start (for 1.2)."

Regards,
Tyler

-- 
"Religion is the opiate of the masses, so long as the masses are straight. 
However, amass a bunch of lesbians and you're going to need actual drugs."
   -- OKCupid Blog, with apologies to Karl Marx
      http://blog.okcupid.com/index.php/gay-sex-vs-straight-sex/

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