[lustre-discuss] lfs migrate of hard links

Scott Wood woodystrash at hotmail.com
Tue May 28 17:01:05 PDT 2019

Thanks, Andreas,

Tested.  Working.  Happy.  My cluster users thank you for saving us from an outage.


From: Andreas Dilger <adilger at whamcloud.com>
Sent: Tuesday, 28 May 2019 2:28 PM
To: Scott Wood
Cc: lustre-discuss at lists.lustre.org
Subject: Re: [lustre-discuss] lfs migrate of hard links

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190529/66459227/attachment.html>

More information about the lustre-discuss mailing list