<div dir="ltr"><div>To answer my own question:<br><br># tunefs.lustre --mountfsoptions=" ,errors=remount-ro" /dev/dm-2<br><br># 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<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<br>Parameters:  mgsnode=172.23.34.214@tcp:172.23.34.213@tcp<br><br></div>volumes are now able to mount, with SElinux disabled!<br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 10:34 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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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=<wbr>unconfined_u:object_r:user_<wbr>tmp_t:s0,context=unconfined_u:<wbr>object_r:tmp_t:s0<br>Parameters:  mgsnode=172.23.34.214@tcp:172.<wbr>23.34.213@tcp<br>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                   <br>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                   <br>   Permanent disk data:                         <wbr>                              <wbr>                              <wbr>                               <br>Target:     umcgst08-OST0002              <wbr>                              <wbr>                              <wbr>                              <wbr>       <br>Index:      2                             <wbr>                              <wbr>                              <wbr>                              <wbr>       <br>Lustre FS:  umcgst08                      <wbr>                              <wbr>                              <wbr>                              <wbr>       <br>Mount type: ldiskfs                       <wbr>                              <wbr>                              <wbr>                              <wbr>       <br>Flags:      0x2                           <wbr>                              <wbr>                              <wbr>                              <wbr>       <br>              (OST )                             <wbr>                              <wbr>                              <wbr>                              <br>Persistent mount opts: ,errors=remount-ro,context=<wbr>unconfined_u:object_r:user_<wbr>tmp_t:s0,context=unconfined_u:<wbr>object_r:tmp_t:s0             <wbr>  <br>Parameters:  mgsnode=172.23.34.214@tcp:172.<wbr>23.34.213@tcp                 <wbr>                              <wbr>                              <wbr>      <br>                              <wbr>                              <wbr>                              <wbr>                              <wbr>                   <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="HOEnZb"><div class="h5"><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><div><br></div><div>Unrecognized mount option "context=unconfined_u:object_r<wbr>: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="m_8795159538482617960h5">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="m_8795159538482617960h5"><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_8795159538482617960m_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-2<wbr>Ddiscuss-2Dlustre.org&d=DwICAg<wbr>&c=IGDlg0lD0b-nebmJJ0Kp8A&r=<wbr>x9pM59OqndbWw-lPPdr8w1Vud29EZi<wbr>gcxcNkz0uw5oQ&m=QjWbp50LlCVPLX<wbr>6V9kTVUlp20HagxUa85u2p35LjIO8&<wbr>s=MwEH6wfs9JdiGbyrPBWzeGVdjSVk<wbr>5BXb0m9A2UbNZh8&e=</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="m_8795159538482617960gmail_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>
</div></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>