Re: stride / stripe alignment on LVM ?

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

 



Janek Kozicki <janek_listy@xxxxx> writes:

> Doug Ledford said:     (by the date of Sat, 03 Nov 2007 14:40:48 -0400)
>
>> so you really only need to align the
>> lvm superblock so that data starts at 128K offset into the raid array.
>
> Sorry, I thought that it will be easier to figure this out
> experimentally - put LVM here or there, write 128k of data to the
> disc (inside LVM partition), then see (with hexedit) if this data is
> really split across several discs or not.
>
> In fact I even managed to find where LVM superblock starts inside
> RAID, the problem for me was that I wasn't sure where it ends, and
> where the actual data, starts, and *THAT* data has to be aligned on
> 128K offset. Now I know that I should simply look more carefully at
> LVM manuals, to see exactly what is the size of LVM superblock.

I would just check with "dmsetup table dev" to which byte offsets the
logical volume gets mapped to.

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