Iām not sure if there is something you can do on the server side for this but I think you can remount read only on the clients fairly easily without disruption:
# mount -t lustre 192.x.x.x@tcp:/hpfs-fsl/ /mnt # touch /mnt/test # mount -t lustre -o remount,ro 192.x.x.x@tcp:/hpfs-fsl/ /mnt # touch /mnt/test2 touch: cannot touch ā/mnt/test2ā: Read-only file system # -----Original Message----- From: lustre-discuss <[email protected]> on behalf of Riccardo Veraldi <[email protected]> Date: Wednesday, July 12, 2017 at 4:20 PM To: "[email protected]" <[email protected]> Subject: [lustre-discuss] set OSTs read only ? Hello, on one of my lustre FS I need to find a solution so that users can still access data on the FS but cannot write new files on it. I have hundreds of clients accessing the FS so remounting it ro is not really easily feasible. Is there an option on the OSS side to allow OSTs to be accessed just to read data and not to store new data ? tunefs.lustre could do that ? thank you Rick _______________________________________________ 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
