Re: [lustre-discuss] lfs migrate of hard links
Thanks, Andreas, Tested. Working. Happy. My cluster users thank you for saving us from an outage. Cheers! Scott From: Andreas Dilger Sent: Tuesday, 28 May 2019 2:28 PM To: Scott Wood Cc: lustre-discuss@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 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 ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
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 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 ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
[lustre-discuss] lfs migrate of hard links
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 ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org