Re: [lustre-discuss] Migrate MGS to ZFS
Thank you Andreas. I will try to migrate the MGS according my previous idea, based in the lustre operations manual section for separate a combined MDT/MGS. I agree that the dd backup of the current combined MDT/MGS is mandatory before try to perform the migration. Regards. = Fernando Pérez Institut de Ciències del Mar (CSIC) Departament Oceanografía Física i Tecnològica Passeig Marítim de la Barceloneta,37-49 08003 Barcelona Phone: (+34) 93 230 96 35 = On 2/20/19 4:33 AM, Andreas Dilger wrote: PS: it is always a good idea to make a backup of your MDT, since it is relatively small compared to the rest of the filesystem. A full-device "dd" copy doesn't take too long and is the most accurate backup for ldiskfs. Cheers, Andreas On Feb 19, 2019, at 19:31, Andreas Dilger wrote: Yes, it is possible to migrate the MGS files to another device as you propose. I don't think there is any particular difference if you move it to a separate ldiskfs or ZFS target. One caveat is that we don't test combined ZFS and ldiskfs targets on the same node, though in theory it would work. Migrating the MDT from ldiskfs to ZFS is also possible with newer versions of Lustre (2.12 for sure, I don't recall if it is in 2.10 or not). You need to follow a special process to do this, please see the Lustre Operations Manual for details. Cheers, Andreas On Feb 19, 2019, at 17:48, Fernando Pérez wrote: Dear lustre experts. Whats is the best way to migrate a MGS device to ZFS? Copy the CONFIGS/filesystem_name-* files from the old ldiskfs device to the new ZFS MGS device? Currently we have a combined MDT/MGT under ldiskfs with lustre 2.10.4. We want to upgrade to lustre 2.12.0 and then separate the combined MDT/MGT and migrate MDT and MGT to separate ZFS devices. Regards. = Fernando Pérez Institut de Ciències del Mar (CMIMA-CSIC) Departament Oceanografía Física i Tecnològica Passeig Marítim de la Barceloneta,37-49 08003 Barcelona Phone: (+34) 93 230 96 35 = ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
Re: [lustre-discuss] Migrate MGS to ZFS
PS: it is always a good idea to make a backup of your MDT, since it is relatively small compared to the rest of the filesystem. A full-device "dd" copy doesn't take too long and is the most accurate backup for ldiskfs. Cheers, Andreas > On Feb 19, 2019, at 19:31, Andreas Dilger wrote: > > Yes, it is possible to migrate the MGS files to another device as you > propose. I don't think there is any particular difference if you move it to a > separate ldiskfs or ZFS target. > > One caveat is that we don't test combined ZFS and ldiskfs targets on the same > node, though in theory it would work. > > Migrating the MDT from ldiskfs to ZFS is also possible with newer versions of > Lustre (2.12 for sure, I don't recall if it is in 2.10 or not). You need to > follow a special process to do this, please see the Lustre Operations Manual > for details. > > Cheers, Andreas > >> On Feb 19, 2019, at 17:48, Fernando Pérez wrote: >> >> Dear lustre experts. >> >> Whats is the best way to migrate a MGS device to ZFS? Copy the >> CONFIGS/filesystem_name-* files from the old ldiskfs device to the new ZFS >> MGS device? >> >> Currently we have a combined MDT/MGT under ldiskfs with lustre 2.10.4. >> >> We want to upgrade to lustre 2.12.0 and then separate the combined MDT/MGT >> and migrate MDT and MGT to separate ZFS devices. >> >> Regards. >> = >> Fernando Pérez >> Institut de Ciències del Mar (CMIMA-CSIC) >> Departament Oceanografía Física i Tecnològica >> Passeig Marítim de la Barceloneta,37-49 >> 08003 Barcelona >> Phone: (+34) 93 230 96 35 >> = >> >> ___ >> lustre-discuss mailing list >> lustre-discuss@lists.lustre.org >> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
Re: [lustre-discuss] Migrate MGS to ZFS
Yes, it is possible to migrate the MGS files to another device as you propose. I don't think there is any particular difference if you move it to a separate ldiskfs or ZFS target. One caveat is that we don't test combined ZFS and ldiskfs targets on the same node, though in theory it would work. Migrating the MDT from ldiskfs to ZFS is also possible with newer versions of Lustre (2.12 for sure, I don't recall if it is in 2.10 or not). You need to follow a special process to do this, please see the Lustre Operations Manual for details. Cheers, Andreas > On Feb 19, 2019, at 17:48, Fernando Pérez wrote: > > Dear lustre experts. > > Whats is the best way to migrate a MGS device to ZFS? Copy the > CONFIGS/filesystem_name-* files from the old ldiskfs device to the new ZFS > MGS device? > > Currently we have a combined MDT/MGT under ldiskfs with lustre 2.10.4. > > We want to upgrade to lustre 2.12.0 and then separate the combined MDT/MGT > and migrate MDT and MGT to separate ZFS devices. > > Regards. > = > Fernando Pérez > Institut de Ciències del Mar (CMIMA-CSIC) > Departament Oceanografía Física i Tecnològica > Passeig Marítim de la Barceloneta,37-49 > 08003 Barcelona > Phone: (+34) 93 230 96 35 > = > > ___ > lustre-discuss mailing list > lustre-discuss@lists.lustre.org > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org ___ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org