<div dir="ltr"><div>Hi Colin,<br><br>[root@umcg-storage03 ~]# tunefs.lustre --print /dev/dm-2 <br>checking for existing Lustre data: found<br>Reading CONFIGS/mountdata<br><br> Read previous values:<br>Target: umcgst08-OST0002<br>Index: 2<br>Lustre FS: umcgst08<br>Mount type: ldiskfs<br>Flags: 0x2<br> (OST )<br>Persistent mount opts: ,errors=remount-ro,context=unconfined_u:object_r:user_tmp_t:s0,context=unconfined_u:object_r:tmp_t:s0<br>Parameters: mgsnode=172.23.34.214@tcp:172.23.34.213@tcp<br> <br> <br> Permanent disk data: <br>Target: umcgst08-OST0002 <br>Index: 2 <br>Lustre FS: umcgst08 <br>Mount type: ldiskfs <br>Flags: 0x2 <br> (OST ) <br>Persistent mount opts: ,errors=remount-ro,context=unconfined_u:object_r:user_tmp_t:s0,context=unconfined_u:object_r:tmp_t:s0 <br>Parameters: mgsnode=172.23.34.214@tcp:172.23.34.213@tcp <br> <br>exiting before disk write. <br><br></div>So it looks like the mount options are inside the filesystem? How do we get rid of those SELinux options? We have no mountoptions for this filesystem set in /etc/fstab<br><br><br><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 10, 2017 at 5:59 PM, Colin Faber <span dir="ltr"><<a href="mailto:colin.faber@seagate.com" target="_blank">colin.faber@seagate.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">22 == invalid argument.<span class=""><div><br></div><div>Unrecognized mount option "context=unconfined_u:object_<wbr>r:user_tmp_t:s0" or missing value<br></div><div><br></div></span><div>tunefs.lustre --print <ost></div><div><br></div><div>Do you have this option set within your mount options list?</div><div><br></div><div>-cf</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, May 10, 2017 at 7:19 AM, Strikwerda, Ger <span dir="ltr"><<a href="mailto:g.j.c.strikwerda@rug.nl" target="_blank">g.j.c.strikwerda@rug.nl</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hi all,<br><br></div>On a OSS with SElinux disabled we get a strange probably selinux related error when we want to mount the OST:<br><br>[root@umcg-storage03 /]# cat /etc/selinux/config <br>SELINUX=disabled<br><br># mount -t lustre /dev/dm-3 /mnt/umcgst08-01<br><br></div><div>dmesg log:<br></div><div><br>Lustre: Lustre: Build Version: 2.8.0-RC5--PRISTINE-2.6.32-573<wbr>.12.1.el6_lustre.x86_64<br><br>LDISKFS-fs (dm-3): Unrecognized mount option "context=unconfined_u:object_r<wbr>:user_tmp_t:s0" or missing value<br>LustreError: 3266:0:(osd_handler.c:6305:osd<wbr>_mount()) umcgst08-OST0001-osd: can't mount /dev/mapper/360080e50002d40760<wbr>00003ca52240901: -22<br>LustreError: 3266:0:(obd_config.c:578:class<wbr>_setup()) setup umcgst08-OST0001-osd failed (-22)<br>LustreError: 3266:0:(obd_mount.c:203:lustre<wbr>_start_simple()) umcgst08-OST0001-osd setup error -22<br>LustreError: 3266:0:(obd_mount_server.c:176<wbr>4:server_fill_super()) Unable to start osd on /dev/mapper/360080e50002d40760<wbr>00003ca52240901: -22<br>LustreError: 3266:0:(obd_mount.c:1426:lustr<wbr>e_fill_super()) Unable to mount (-22)<br><br></div>What does a -22 Unable to mount exactly means? And how can we get rid of the unrecognized mount options?<br><br><br><div><div><div>-- <br><div class="m_3235398662986430494m_-1297568508059838795gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif"><font size="2">Vriendelijke groet, <br><br>Ger Strikwerda
</font></span><span style="font-family:arial,helvetica,sans-serif"><font size="2">Chef Special
Rijksuniversiteit Groningen
Centrum voor Informatie Technologie
Unit Pragmatisch Systeembeheer
Smitsborg
Nettelbosje 1
9747 AJ Groningen
Tel. 050 363 9276
<br>"God is hard, God is fair<br> some men he gave brains, others he gave hair"<br></font></span></pre></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
lustre-discuss mailing list<br>
<a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.or<wbr>g</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_listinfo.cgi_lustre-2Ddiscuss-2Dlustre.org&d=DwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=x9pM59OqndbWw-lPPdr8w1Vud29EZigcxcNkz0uw5oQ&m=QjWbp50LlCVPLX6V9kTVUlp20HagxUa85u2p35LjIO8&s=MwEH6wfs9JdiGbyrPBWzeGVdjSVk5BXb0m9A2UbNZh8&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=http-3A__lists.lu<wbr>stre.org_listinfo.cgi_lustre-<wbr>2Ddiscuss-2Dlustre.org&d=<wbr>DwICAg&c=IGDlg0lD0b-nebmJJ0Kp8<wbr>A&r=x9pM59OqndbWw-lPPdr8w1Vud2<wbr>9EZigcxcNkz0uw5oQ&m=QjWbp50LlC<wbr>VPLX6V9kTVUlp20HagxUa85u2p35Lj<wbr>IO8&s=MwEH6wfs9JdiGbyrPBWzeGVd<wbr>jSVk5BXb0m9A2UbNZh8&e=</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><pre cols="72"><span style="font-family:arial,helvetica,sans-serif"><font size="2">Vriendelijke groet, <br><br>Ger Strikwerda
</font></span><span style="font-family:arial,helvetica,sans-serif"><font size="2">Chef Special
Rijksuniversiteit Groningen
Centrum voor Informatie Technologie
Unit Pragmatisch Systeembeheer
Smitsborg
Nettelbosje 1
9747 AJ Groningen
Tel. 050 363 9276
<br>"God is hard, God is fair<br> some men he gave brains, others he gave hair"<br></font></span></pre></div></div></div></div></div></div></div></div></div></div></div></div>
</div>