If you have already stopped file creation on the MDTs with max_create_count=0, 
and migrated all of the objects off the OSTs, then deactivating the OSC devices 
on the clients should be a no-op since the clients should not be accessing them 
anyway.

The main effect of this is that the devices will not appear in "lfs df" and if 
the clients try to access them for any reason they will immediately return an 
error instead of waiting for the RPC to complete.

Cheers, Andreas

On May 29, 2025, at 16:50, Scott Wood via lustre-discuss 
<[email protected]> wrote:


Hi folks,

I have followed 
https://doc.lustre.org/lustre_manual.xhtml#lustremaint.remove_ost dozens of 
times to remove old OSTs but have always done so when the system is not mounted 
by clients.  I have another couple dozen OSTs ready to be removed.  Can I 
safely run the "mgs# lctl conf_param ost_name.osc.active=0" step while clients 
are mounted and the file system is active?

Cheers!
Scott
_______________________________________________
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