[GLLUG] Link two RAIDs in one LVM?

John Edwards john at cornerstonelinux.co.uk
Mon May 11 18:40:19 UTC 2020


Hi


On Mon, May 11, 2020 at 01:15:55PM +0100, James Courtier-Dutton via GLLUG wrote:
<snip> 
> If you have a separate data from the OS partition:
> you could "rsync -avpP"  the data/image/picture/whatever files over to
> the new disks on top of LVM.
> You could handle the OS partition offline.
> You can then do a final "catch up" rsync of the data in offline mode.
<snip>

Can I add a suggestion to use '-H' ('--hard-links') to the list of
rsync options to make sure that files which are hard links are not
copied as separate non-linked files?

This is important for the OS partitions, where several deb packages
install the same file under different names (eg bzip2).

It does have the downside of being slightly slower as it has to check
for hard links, so might be skipped for those filesystems where you
know there are no hard links.


-- 
#---------------------------------------------------------#
|    John Edwards   Email: john at cornerstonelinux.co.uk    |
#---------------------------------------------------------#



More information about the GLLUG mailing list