Re: Alignment of RAID on specific boundary

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

 



On Mon, Jan 4, 2010 at 11:30 AM, Khelben Blackstaff
<eye.of.the.8eholder@xxxxxxxxx> wrote:

He's using SDDs with 128KByte erase blocks.

> Is there a way to make the RAID data start at a particular offset ?
> (In my case 512 sectors) ?
>
> Thank you for your time.
> --

You want the RAID data chunks aligned so that they start on a 512byte
sector address that fulfills (sector & 0xFF) == 0.

As far as I am aware, using metadata 0.90 OR 1.0 will start the actual
data at the beginning of the partition, reserve some space near the
end, and use the very end for the metadata.

Format 1.1 will reserve the space at the beginning, and I have just checked;

00000400  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00003000  (LVM2 header)

It starts the LVM2 header after 0x3000 bytes (64K chunk size); I'd
hope to see it around 0x10000.

It looks like the data isn't padded up to the desired offset.

I agree, it would be useful to have an option to specify the offset of
the first data chunk.
--
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