Patent ID: 8909894

Claim:
A method of correcting a misalignment associated with a first partition included in a logical container, comprising: detecting one or more regions corresponding to one or more partitions included in the logical container; collecting statistical information associated with a plurality of potential misalignment correction amounts for a first region of the one or more regions, wherein the first region corresponds to the first partition, wherein collecting statistical information associated with the plurality of potential misalignment correction amounts for the first region includes: building a histogram associated with the plurality of potential misalignment correction amounts for the first region; and determining an amount of misalignment correction between a starting offset of the first partition and a physical storage block boundary of a storage system based at least in part on selecting a misalignment correction amount from the plurality of potential misalignment correction amounts for the first region based at least in part on the histogram; receiving a request associated with the first partition included in the logical container; and automatically translating an offset associated with the request by an amount determined based at least in part on the amount of misalignment correction between the starting offset of the first partition and the physical storage block boundary of the storage system.