[lustre-discuss] lfs migrate of hard links
Andreas Dilger
adilger at whamcloud.com
Mon May 27 21:28:53 PDT 2019
You may be able to just copy the lfs_migrate script from a 2.12.x client, I don't think it has any dependencies on kernel or lfs features in the 2.12 release.
I would of course recommend that you test it is working properly on some test hard-linked files before running it on the whole filesystem.
On May 27, 2019, at 19:02, Scott Wood <woodystrash at hotmail.com> wrote:
>
> Hi folks,
>
> I am in the process of draining a dozen OSTs in a 2.10.3 environment (all servers and clients) for replacement and it turns out they have many files with multiple hard links to them. We can't leave these files behind, as we need to replace the OSTs, but we can't let them " be split into multiple separate files" by lfs_migrate as that would break things.
>
> From my reading of the changelogs and the new lfs_migrate script, it seems that these are now handled more elegantly. If I were to upgrade the lustre client to 2.12.1 on a dozen clients, would the new client side lfs_migrate in 2.12.1 work with 2.10.3 servers, or will I need a system wide outage to upgrade all clients and servers?
>
> Cheers!
> Scott
Cheers, Andreas
--
Andreas Dilger
Principal Lustre Architect
Whamcloud
More information about the lustre-discuss
mailing list