Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Lustre 2.13.0 Manual
-
None
-
9223372036854775807
Description
Add documentation to the manual for the mdt.*.readonly parameter added in patch https://review.whamcloud.com/33892 "LU-11811 mdt: Add a proc entry to set MDT to readonly" to allow the MDT to be set read-only in case of misbehaving clients. From the patch description:
It is sometimes desirable to be able to mark the filesystem read-only directly on the server, rather than remounting the clients and setting the option there. This can be useful if there is a rogue client that is deleting files, or when decommissioning a system to prevent already-mounted clients from modifying it anymore.
Add the mdt.*.readonly parameter to allow setting the MDT read-only immediately if set to 1. All future MDT access will immediately return -EROFS until the parameter is set to 0 again.