Hi Fernando,

To remove your old and empty OSTs during a maintenance: stop your filesystem, 
do the writeconf on all targets and remount your MGS/MDS and then all OSTs 
minus the old ones.

With shine, stop your filesystem, comment out the old OST lines in the fs model 
file and type “shine update”.

Doing so is _almost_ permanent, indeed care should be taken when reusing 
indexes of removed OSTs.

Good luck,
Stephane


> On Aug 13, 2016, at 12:27 PM, Fernando Pérez <[email protected]> wrote:
> 
> Dear all.
> 
> I have a lustre filesystem with one combined mdt / mgs, some old ldiskfs osts 
> and other new zfs osts.
> 
> I need to remove some old ldiskfs osts. Currently these osts are empty (I 
> deactivated these osts and then I migrated all the files before).
> 
> What is the correct way to permanent deactivate and remove these osts? 
> Deactivate them using lctl and then regenerate lustre configuration files 
> logs using tunefs according to chapter 14 in the lustre documentation?
> 
> My question is due to the zfs osts, Do I need to run tunefs.lustre —writeconf 
> on these zfs osts?
> 
> 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
> [email protected]
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to