[lustre-discuss] ost doesn't mount

Strikwerda, Ger g.j.c.strikwerda at rug.nl
Thu May 11 01:34:28 PDT 2017


Hi Colin,

[root at umcg-storage03 ~]# tunefs.lustre --print /dev/dm-2
checking for existing Lustre data: found
Reading CONFIGS/mountdata

   Read previous values:
Target:     umcgst08-OST0002
Index:      2
Lustre FS:  umcgst08
Mount type: ldiskfs
Flags:      0x2
              (OST )
Persistent mount opts:
,errors=remount-ro,context=unconfined_u:object_r:user_tmp_t:s0,context=unconfined_u:object_r:tmp_t:s0
Parameters:  mgsnode=172.23.34.214 at tcp:172.23.34.213 at tcp




   Permanent disk
data:

Target:
umcgst08-OST0002

Index:
2

Lustre FS:
umcgst08

Mount type:
ldiskfs

Flags:
0x2

              (OST
)

Persistent mount opts:
,errors=remount-ro,context=unconfined_u:object_r:user_tmp_t:s0,context=unconfined_u:object_r:tmp_t:s0

Parameters:  mgsnode=172.23.34.214 at tcp:172.23.34.213 at tcp



exiting before disk write.

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





On Wed, May 10, 2017 at 5:59 PM, Colin Faber <colin.faber at seagate.com>
wrote:

> 22 == invalid argument.
>
> Unrecognized mount option "context=unconfined_u:object_r:user_tmp_t:s0"
> or missing value
>
> tunefs.lustre --print <ost>
>
> Do you have this option set within your mount options list?
>
> -cf
>
>
> On Wed, May 10, 2017 at 7:19 AM, Strikwerda, Ger <g.j.c.strikwerda at rug.nl>
> wrote:
>
>> Hi all,
>>
>> On a OSS with SElinux disabled we get a strange probably selinux related
>> error when we want to mount the OST:
>>
>> [root at umcg-storage03 /]# cat /etc/selinux/config
>> SELINUX=disabled
>>
>> # mount -t lustre /dev/dm-3 /mnt/umcgst08-01
>>
>> dmesg log:
>>
>> Lustre: Lustre: Build Version: 2.8.0-RC5--PRISTINE-2.6.32-573
>> .12.1.el6_lustre.x86_64
>>
>> LDISKFS-fs (dm-3): Unrecognized mount option
>> "context=unconfined_u:object_r:user_tmp_t:s0" or missing value
>> LustreError: 3266:0:(osd_handler.c:6305:osd_mount())
>> umcgst08-OST0001-osd: can't mount /dev/mapper/360080e50002d4076000003ca52240901:
>> -22
>> LustreError: 3266:0:(obd_config.c:578:class_setup()) setup
>> umcgst08-OST0001-osd failed (-22)
>> LustreError: 3266:0:(obd_mount.c:203:lustre_start_simple())
>> umcgst08-OST0001-osd setup error -22
>> LustreError: 3266:0:(obd_mount_server.c:1764:server_fill_super()) Unable
>> to start osd on /dev/mapper/360080e50002d4076000003ca52240901: -22
>> LustreError: 3266:0:(obd_mount.c:1426:lustre_fill_super()) Unable to
>> mount  (-22)
>>
>> What does a -22 Unable to mount exactly means? And how can we get rid of
>> the unrecognized mount options?
>>
>>
>> --
>>
>> Vriendelijke groet,
>>
>> Ger StrikwerdaChef Special
>> Rijksuniversiteit Groningen
>> Centrum voor Informatie Technologie
>> Unit Pragmatisch Systeembeheer
>>
>> Smitsborg
>> Nettelbosje 1
>> 9747 AJ Groningen
>> Tel. 050 363 9276
>> "God is hard, God is fair
>>  some men he gave brains, others he gave hair"
>>
>>
>> _______________________________________________
>> lustre-discuss mailing list
>> lustre-discuss at lists.lustre.org
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lu
>> stre.org_listinfo.cgi_lustre-2Ddiscuss-2Dlustre.org&d=
>> DwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=x9pM59OqndbWw-lPPdr8w1Vud2
>> 9EZigcxcNkz0uw5oQ&m=QjWbp50LlCVPLX6V9kTVUlp20HagxUa85u2p35Lj
>> IO8&s=MwEH6wfs9JdiGbyrPBWzeGVdjSVk5BXb0m9A2UbNZh8&e=
>>
>>
>


-- 

Vriendelijke groet,

Ger StrikwerdaChef Special
Rijksuniversiteit Groningen
Centrum voor Informatie Technologie
Unit Pragmatisch Systeembeheer

Smitsborg
Nettelbosje 1
9747 AJ Groningen
Tel. 050 363 9276
"God is hard, God is fair
 some men he gave brains, others he gave hair"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20170511/4edbfe10/attachment.htm>


More information about the lustre-discuss mailing list