[lustre-discuss] Stop writes for users

Mohr Jr, Richard Frank (Rick Mohr) rmohr at utk.edu
Tue May 14 08:25:07 PDT 2019

> On May 13, 2019, at 6:51 PM, Fernando Pérez <fperez at icm.csic.es> wrote:
> Is there a way to stop file writes for all users or for groups without using quotes?
> We have a lustre filesystem with corrupted quotes and I need to stop the write for all users (or for some users).

There are ways to deactivate OSTs, but those are intended to stop creation of new file objects on those OSTs and don’t actually stop writes to existing files.  I don’t think that mounting OSTs read-only  (with “mount -t lustre -o ro …”) works because Lustre updates some info when it mounts the target (but this might be based on old info so I could be wrong).  You could remount all the clients read-only, but I don’t know if this is practical for you.

The only other option I can think of would be if there was a client-side parameter that could be set via “lctl conf_param” that might cause the clients to treat all the targets as read-only.  But if there is such a parameter, I am not familiar with it.

Rick Mohr
Senior HPC System Administrator
National Institute for Computational Sciences

More information about the lustre-discuss mailing list