[lustre-discuss] One MGS for two different MDT - Can't mount the second fs

Camilo Núnez Fernández camilo.nunezf at sansano.usm.cl
Mon Sep 17 19:40:33 PDT 2018


Dear All,

I am trying to make two different file system, in an simple environment,
with two MDS (in failover) and two OSS (in failover). But i get an error
when i try to mount the second filesystem.

My first step was created the mgs in my first MDS node:

[root at CASSACA-MDS-01 ~] mkfs.lustre --reformat --mgs  \
--servicenode=10.10.0.19 at o2ib \
--servicenode=10.10.0.20 at o2ib \
 /dev/vg_mgs/lv_mgs

Then, I created the two different MDT (all in the same node):

[root at CASSACA-MDS-01 ~] mkfs.lustre --reformat --mdt\
 --fsname=chivoacc \
 --index=0 \
 --mgsnode=10.10.0.19 at o2ib \
 --mgsnode=10.10.0.20 at o2ib  \
 --failnode=10.10.0.20 at o2ib \
/dev/vg_mdtmgt_01/lv_mdtmgt_01

Finally I mounted the the mgs and the two mdt without any problem.

[root at CASSACA-MDS-01 ~] mkfs.lustre --reformat --mdt\
 --fsname=chivodp \
 --index=1 \
 --mgsnode=10.10.0.19 at o2ib \
 --mgsnode=10.10.0.20 at o2ib  \
 --failnode=10.10.0.20 at o2ib \
 /dev/vg_mdtmgt_02/lv_mdtmgt_02

My second step was created the 3 ost for the fsname=chivoacc and 6 ost for
the fsname=chivodp in my first OSS:

[root at CASSACA-OSS-01 ~]# mkfs.lustre --ost --index=0 --fsname=chivoacc
--reformat --failnode=10.10.0.22 at o2ib --mgsnode=10.10.0.19 at o2ib
--mgsnode=10.10.0.20 at o2ib /dev/ost000vgchivoacc/ost0000vchivoacc
(the same for the other two ost)

[root at CASSACA-OSS-01 ~]#mkfs.lustre --ost --index=0 --fsname=chivodp
--reformat --failnode=10.10.0.22 at o2ib --mgsnode=10.10.0.19 at o2ib
--mgsnode=10.10.0.20 at o2ib /dev/ost000vgchivodp/ost0000vchivodp
(the same for the other five ost)

Finally, I mounted the three ost for the fsname=chivoacc and the six ost
for the fsname=chivodp without any problem.

My third step was mounted the fsname chivoacc in a client without any
problem, but, when a try to mount  the fsname chivodp in a client, i get
this error:

[root at CASSACA-cl-01 ~] mount -t lustre 10.10.0.19 at o2ib:10.10.0.20 at o2ib:/chivodp
/mnt/new_archive
mount.lustre: mount 10.10.0.19 at o2ib:10.10.0.20 at o2ib:/chivodp at
/mnt/new_archive failed: Invalid argument
This may have multiple causes.
Is 'chivodp' the correct filesystem name?
Are the mount options correct?
Check the syslog for more info.


I get this from the kernel log:

[1382151.599809] Lustre: Mounted chivoacc-client
[1382192.901603] Lustre: Unmounted chivoacc-client
[1382201.442196] LustreError: 2324:0:(lmv_obd.c:525:lmv_check_connect())
chivodp-clilmv-ffff97659ab28000: no target configured for index 0.
[1382201.442646] LustreError:
2324:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to
chivodp-clilmv-ffff97659ab28000: rc = -22
[1382201.443206] LustreError: 2324:0:(lov_obd.c:878:lov_cleanup())
chivodp-clilov-ffff97659ab28000: lov tgt 0 not cleaned! deathrow=0, lovrc=1
[1382201.443633] LustreError: 2324:0:(lov_obd.c:878:lov_cleanup()) Skipped
5 previous similar messages
[1382201.448571] LustreError: 2324:0:(obd_mount.c:1582:lustre_fill_super())
Unable to mount  (-22)
[1382206.435767] LustreError: 2349:0:(lmv_obd.c:525:lmv_check_connect())
chivodp-clilmv-ffff976594d8a800: no target configured for index 0.
[1382206.436180] LustreError:
2349:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to
chivodp-clilmv-ffff976594d8a800: rc = -22
[1382206.436740] LustreError: 2349:0:(lov_obd.c:878:lov_cleanup())
chivodp-clilov-ffff976594d8a800: lov tgt 0 not cleaned! deathrow=0, lovrc=1
[1382206.437150] LustreError: 2349:0:(lov_obd.c:878:lov_cleanup()) Skipped
5 previous similar messages
[1382206.442102] LustreError: 2349:0:(obd_mount.c:1582:lustre_fill_super())
Unable to mount  (-22)
[1459793.596446] LustreError: 514:0:(lmv_obd.c:525:lmv_check_connect())
chivodp-clilmv-ffff976592149000: no target configured for index 0.
[1459793.596868] LustreError:
514:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to
chivodp-clilmv-ffff976592149000: rc = -22
[1459793.597428] LustreError: 514:0:(lov_obd.c:878:lov_cleanup())
chivodp-clilov-ffff976592149000: lov tgt 0 not cleaned! deathrow=0, lovrc=1
[1459793.597823] LustreError: 514:0:(lov_obd.c:878:lov_cleanup()) Skipped 5
previous similar messages
[1459793.601939] Lustre: Unmounted chivodp-client
[1459793.601944] Lustre: Skipped 2 previous similar messages
[1459793.603495] LustreError: 514:0:(obd_mount.c:1582:lustre_fill_super())
Unable to mount  (-22)
[1459901.084661] Lustre: Mounted chivoacc-client
[1459913.603465] Lustre: Unmounted chivoacc-client
[1460294.892333] LustreError: 996:0:(lmv_obd.c:525:lmv_check_connect())
chivodp-clilmv-ffff976594d8a800: no target configured for index 0.
[1460294.892748] LustreError:
996:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to
chivodp-clilmv-ffff976594d8a800: rc = -22
[1460294.893319] LustreError: 996:0:(lov_obd.c:878:lov_cleanup())
chivodp-clilov-ffff976594d8a800: lov tgt 0 not cleaned! deathrow=0, lovrc=1
[1460294.893728] LustreError: 996:0:(lov_obd.c:878:lov_cleanup()) Skipped 5
previous similar messages
[1460294.897711] Lustre: Unmounted chivodp-client
[1460294.898708] LustreError: 996:0:(obd_mount.c:1582:lustre_fill_super())
Unable to mount  (-22)

I don't know why i have this error. Any suggestion can help me.

Cheers !
-- 
*Camilo Esteban Cañas Fernández*
Ayudante de Investigación
Chilean Virtual Observatory
Ayudante Coordinador CSJ, IWI-131
Universidad Técnica Federico Santa María
camilo.nunezf at sansano.usm.cl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20180917/2f834c9d/attachment.html>


More information about the lustre-discuss mailing list