[lustre-discuss] Can OSTs be removed while the system is mounted?
Andreas Dilger
adilger at ddn.com
Fri May 30 22:23:59 PDT 2025
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 <lustre-discuss at lists.lustre.org> 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
lustre-discuss at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20250531/ef190e1c/attachment.htm>
More information about the lustre-discuss
mailing list