<div dir="ltr"><div dir="ltr">Thanks Andreas ! All is work perfectly now.<div><br></div><div><br></div><div>Cheers,<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 18, 2018 at 5:28 AM Andreas Dilger &lt;<a href="mailto:adilger@whamcloud.com">adilger@whamcloud.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sep 17, 2018, at 20:40, Camilo Núnez Fernández &lt;<a href="mailto:camilo.nunezf@sansano.usm.cl" target="_blank">camilo.nunezf@sansano.usm.cl</a>&gt; wrote:<br>
&gt; <br>
&gt; Dear All,<br>
&gt; <br>
&gt; 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.<br>
&gt; <br>
&gt; My first step was created the mgs in my first MDS node:<br>
&gt; <br>
&gt; [root@CASSACA-MDS-01 ~] mkfs.lustre --reformat --mgs  \<br>
&gt; --servicenode=10.10.0.19@o2ib \<br>
&gt; --servicenode=10.10.0.20@o2ib \<br>
&gt;  /dev/vg_mgs/lv_mgs<br>
&gt; <br>
&gt; Then, I created the two different MDT (all in the same node):<br>
&gt; <br>
&gt; [root@CASSACA-MDS-01 ~] mkfs.lustre --reformat --mdt\<br>
&gt;  --fsname=chivoacc \<br>
&gt;  --index=0 \<br>
&gt;  --mgsnode=10.10.0.19@o2ib \<br>
&gt;  --mgsnode=10.10.0.20@o2ib  \<br>
&gt;  --failnode=10.10.0.20@o2ib \<br>
&gt; /dev/vg_mdtmgt_01/lv_mdtmgt_01<br>
&gt; <br>
&gt; Finally I mounted the the mgs and the two mdt without any problem.<br>
&gt; <br>
&gt; [root@CASSACA-MDS-01 ~] mkfs.lustre --reformat --mdt\<br>
&gt;  --fsname=chivodp \<br>
&gt;  --index=1 \<br>
&gt;  --mgsnode=10.10.0.19@o2ib \<br>
&gt;  --mgsnode=10.10.0.20@o2ib  \<br>
&gt;  --failnode=10.10.0.20@o2ib \<br>
&gt;  /dev/vg_mdtmgt_02/lv_mdtmgt_02<br>
<br>
This second filesystem&#39;s MDT is using index=1 when it should be using index=0. Each different filesystem needs to have MDT0000 present for the root inode, even if they are on the same MDS. See the error below.<br>
<br>
&gt; I get this from the kernel log:<br>
&gt; <br>
&gt; [1382151.599809] Lustre: Mounted chivoacc-client<br>
&gt; [1382192.901603] Lustre: Unmounted chivoacc-client<br>
&gt; [1382201.442196] LustreError: 2324:0:(lmv_obd.c:525:lmv_check_connect()) chivodp-clilmv-ffff97659ab28000: no target configured for index 0.<br>
&gt; [1382201.442646] LustreError: 2324:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to chivodp-clilmv-ffff97659ab28000: rc = -22<br>
&gt; [1382201.443206] LustreError: 2324:0:(lov_obd.c:878:lov_cleanup()) chivodp-clilov-ffff97659ab28000: lov tgt 0 not cleaned! deathrow=0, lovrc=1<br>
&gt; [1382201.443633] LustreError: 2324:0:(lov_obd.c:878:lov_cleanup()) Skipped 5 previous similar messages<br>
&gt; [1382201.448571] LustreError: 2324:0:(obd_mount.c:1582:lustre_fill_super()) Unable to mount  (-22)<br>
&gt; [1382206.435767] LustreError: 2349:0:(lmv_obd.c:525:lmv_check_connect()) chivodp-clilmv-ffff976594d8a800: no target configured for index 0.<br>
<br>
^^^^^ This is the main problem during the mount.<br>
<br>
&gt; [1382206.436180] LustreError: 2349:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to chivodp-clilmv-ffff976594d8a800: rc = -22<br>
&gt; [1382206.436740] LustreError: 2349:0:(lov_obd.c:878:lov_cleanup()) chivodp-clilov-ffff976594d8a800: lov tgt 0 not cleaned! deathrow=0, lovrc=1<br>
&gt; [1382206.437150] LustreError: 2349:0:(lov_obd.c:878:lov_cleanup()) Skipped 5 previous similar messages<br>
&gt; [1382206.442102] LustreError: 2349:0:(obd_mount.c:1582:lustre_fill_super()) Unable to mount  (-22)<br>
&gt; [1459793.596446] LustreError: 514:0:(lmv_obd.c:525:lmv_check_connect()) chivodp-clilmv-ffff976592149000: no target configured for index 0.<br>
&gt; [1459793.596868] LustreError: 514:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to chivodp-clilmv-ffff976592149000: rc = -22<br>
&gt; [1459793.597428] LustreError: 514:0:(lov_obd.c:878:lov_cleanup()) chivodp-clilov-ffff976592149000: lov tgt 0 not cleaned! deathrow=0, lovrc=1<br>
&gt; [1459793.597823] LustreError: 514:0:(lov_obd.c:878:lov_cleanup()) Skipped 5 previous similar messages<br>
&gt; [1459793.601939] Lustre: Unmounted chivodp-client<br>
&gt; [1459793.601944] Lustre: Skipped 2 previous similar messages<br>
&gt; [1459793.603495] LustreError: 514:0:(obd_mount.c:1582:lustre_fill_super()) Unable to mount  (-22)<br>
&gt; [1459901.084661] Lustre: Mounted chivoacc-client<br>
&gt; [1459913.603465] Lustre: Unmounted chivoacc-client<br>
&gt; [1460294.892333] LustreError: 996:0:(lmv_obd.c:525:lmv_check_connect()) chivodp-clilmv-ffff976594d8a800: no target configured for index 0.<br>
&gt; [1460294.892748] LustreError: 996:0:(llite_lib.c:276:client_common_fill_super()) cannot connect to chivodp-clilmv-ffff976594d8a800: rc = -22<br>
&gt; [1460294.893319] LustreError: 996:0:(lov_obd.c:878:lov_cleanup()) chivodp-clilov-ffff976594d8a800: lov tgt 0 not cleaned! deathrow=0, lovrc=1<br>
&gt; [1460294.893728] LustreError: 996:0:(lov_obd.c:878:lov_cleanup()) Skipped 5 previous similar messages<br>
&gt; [1460294.897711] Lustre: Unmounted chivodp-client<br>
&gt; [1460294.898708] LustreError: 996:0:(obd_mount.c:1582:lustre_fill_super()) Unable to mount  (-22)<br>
&gt; <br>
&gt; I don&#39;t know why i have this error. Any suggestion can help me.<br>
&gt; <br>
&gt; Cheers !<br>
&gt; --<br>
&gt; Camilo Esteban Cañas Fernández<br>
&gt; Ayudante de Investigación<br>
&gt; Chilean Virtual Observatory<br>
&gt; Ayudante Coordinador CSJ, IWI-131<br>
&gt; Universidad Técnica Federico Santa María<br>
&gt; <a href="mailto:camilo.nunezf@sansano.usm.cl" target="_blank">camilo.nunezf@sansano.usm.cl</a><br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; lustre-discuss mailing list<br>
&gt; <a href="mailto:lustre-discuss@lists.lustre.org" target="_blank">lustre-discuss@lists.lustre.org</a><br>
&gt; <a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" rel="noreferrer" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
<br>
Cheers, Andreas<br>
---<br>
Andreas Dilger<br>
CTO Whamcloud<br>
<br>
<br>
<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" 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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8px"><u>Camilo Esteban Cañas Fernández</u><br></div><div><font size="1">Ayudante de Investigación</font></div><div><span style="font-size:x-small">Chilean Virtual Observatory</span></div><div><span style="font-size:x-small">Ayudante Coordinador CSJ, IWI-131<br></span></div><div style="font-size:12.8px"><font size="1">Universidad Técnica Federico Santa María</font></div><div style="font-size:12.8px"><font size="1"><a href="mailto:camilo.nunezf@sansano.usm.cl" target="_blank">camilo.nunezf@sansano.usm.cl</a></font></div></div><div style="font-size:12.8px"><br></div><div><img src="https://www.usm.cl/assets/img/header-usm.png" width="200" height="20"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>