<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks Rick a lot. You save me from keeping reinstalling Lustre/troubleshooting why it is in RO. :)</div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Sorry, I am new to Lustre. I am trying to setup and test two functions below. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
1) Use Lustre's identity feature to create users on the client side, and require user to be authenticated at Lustre server n before allowing them to access the file system.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
2) Enable the nodemap feature to enforce user data isolation; Create Tenant A and Tenant B, and ensure that each tenant can only mount and see data within their respective subdirectories of the file system.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
For test 1), per research , looks like there is a need to install Lustre_id at client side but I just cannot find it.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);" class="elementToProof">
<span style="font-size: 12pt;">For test 2), per research , ChatGPT asked me to create two sub directories (for examples, mkdir /mnt/mdt/{tenantA,tenantB}) under mount point of MDT (</span><span style="font-size: 11pt;">/mnt/mdt</span><span style="font-size: 12pt;">)
 on MDS server but since it is RO mode, I am not allowed to do so. That's where I have been stuck for test 2). (:</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Not sure if you can share your ideas on these.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Environment:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
3 Rocky8.10 VMs (MDS+MGS on server1, the other two are OSS). Two Ubuntu VMs (22.04) as client. All is running Lustre 2.15.7.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks again. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Ran</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg">
<div style="direction: ltr; font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<b>From:</b> Mohr, Rick <mohrrf@ornl.gov><br>
<b>Sent:</b> Wednesday, August 6, 2025 2:16 AM<br>
<b>To:</b> Ran Mo <HenryMo2012@outlook.com>; lustre-discuss@lists.lustre.org <lustre-discuss@lists.lustre.org><br>
<b>Subject:</b> Re: [EXTERNAL] [lustre-discuss] mdt and mgt are always in RO mode</div>
<div style="direction: ltr;"> </div>
</div>
<div style="font-size: 11pt;">Ran,<br>
<br>
This is normal.  The MGTs/MDTs/OSTs will always show up as read-only in the output from the "mount" command, even when the lustre file system is writable.<br>
<br>
--Rick<br>
<br>
<br>
<br>
On 8/5/25, 1:15 PM, "lustre-discuss on behalf of Ran Mo via lustre-discuss" <lustre-discuss-bounces@lists.lustre.org <<a class="OWAAutoLink" id="OWA964aa028-0c38-283a-5a5d-3c012c4a43b1" href="mailto:lustre-discuss-bounces@lists.lustre.org">mailto:lustre-discuss-bounces@lists.lustre.org</a>>
 on behalf of lustre-discuss@lists.lustre.org <<a class="OWAAutoLink" id="OWAfa0b5d38-e7f1-cfcd-e6e7-6b2e276979da" href="mailto:lustre-discuss@lists.lustre.org">mailto:lustre-discuss@lists.lustre.org</a>>> wrote:<br>
<br>
<br>
Greenings,<br>
<br>
I tried installed Lustre many time (both 2.15.6 and 2.15.7) but mdt and mgt are always under read only mode.<br>
=====<br>
[root@mds_node ~]# mount | grep nvme<br>
/dev/nvme0n1p1 on /boot type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)<br>
/dev/nvme0n2 on /mnt/mgt type lustre (ro,svname=MGS,nosvc,mgs,osd=osd-ldiskfs,user_xattr,errors=remount-ro)<br>
/dev/nvme0n3 on /mnt/mdt type lustre (ro,svname=lustrefs-MDT0000,mgsnode=192.168.31.20@tcp0:192.168.31.20@tcp,osd=osd-ldiskfs,user_xattr,errors=remount-ro,_netdev)<br>
[root@mds_node ~]#<br>
<br>
I tried umount and mount and other methods, but unfortunately, cannot get it into RW mode.<br>
<br>
Can you give me a hint please? Thanks,<br>
<br>
Ran<br>
<br>
<br>
<br>
</div>
</body>
</html>