[lustre-discuss] set OSTs read only ?

Vicker, Darby (JSC-EG311) darby.vicker-1 at nasa.gov
Wed Jul 12 14:30:05 PDT 2017


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 at tcp:/hpfs-fsl/ /mnt
# touch /mnt/test
# mount -t lustre -o remount,ro 192.x.x.x at tcp:/hpfs-fsl/ /mnt
# touch /mnt/test2
touch: cannot touch ‘/mnt/test2’: Read-only file system
#

-----Original Message-----
From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> on behalf of Riccardo Veraldi <Riccardo.Veraldi at cnaf.infn.it>
Date: Wednesday, July 12, 2017 at 4:20 PM
To: "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
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
lustre-discuss at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org




More information about the lustre-discuss mailing list