[CentOS] ext4, 4k sector alignment

Les Mikesell lesmikesell at gmail.com
Mon Jul 25 19:00:57 UTC 2011


On 7/25/2011 1:42 PM, Brian Mathis wrote:
>
> I've wondered many times, though haven't tried it, if the issues with
> hard links and backuppc could be solved by using a container file with
> a loopback mount, and then that file could be moved around as needed
> without running into hard-link issues.
>
> In this case, you could format the external drive in the optimal mode
> for 4k sectors, then create a container file and mount it using
> loopback.  Then add the loopback device to the mdraid and have it
> sync.

It doesn't really help with the problem as it stands, which is that the 
target disk (a swappable sata, not really external) has no extra space 
that would permit shifting the alignment.  It might work to shrink the 
existing size, then partition the new drives with the right offset, but 
I may just start from scratch and keep the old drives around in case I 
need the old history.

-- 
   Les Mikesell
    lesmikesell at gmail.com



More information about the CentOS mailing list