<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div><br></div><div><div>Hi,</div><div><br></div><div>surely my action was to test environment, in a production environment, I would have placed</div><div>all the files before deleting the server OST1.</div><div>However, I tried to do:</div><div><br></div><div>unlink zero.dat</div><div><br></div><div>unlink: cannot unlink `zero.dat': Invalid argument</div><div><br></div><div>and then:</div><div><br></div><div>ls -lrt</div><div>total 12475308</div><div>?--------- ? ?    ?             ?            ? zero.dat</div><div>?--------- ? ?    ?             ?            ? ubuntu-9.10-dvd-i386.iso</div><div>?--------- ? ?    ?             ?            ? XXXXXXXXX_CentOS-5.4-x86_64-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? Windows_XP-Capodarco.iso</div><div>?--------- ? ?    ?             ?            ? UBUNTU_CentOS-5.4-x86_64-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? KK_CentOS-5.4-x86_64-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? FFFFF_CentOS-5.4-x86_64-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? CentOS-5.3-i386-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? BBBBB_CentOS-5.4-x86_64-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? BAK_CentOS-5.4-x86_64-bin-DVD.iso</div><div>?--------- ? ?    ?             ?            ? 2.iso</div><div><br></div><div>and the log messages:</div><div><br></div><div>Jun  3 14:05:29 mdt02prdpom kernel: LustreError: 16265:0:(lov_ea.c:248:lsm_unpackmd_v1()) OST index 1 missing</div><div>Jun  3 14:05:29 mdt02prdpom kernel: Lustre: 16265:0:(lov_pack.c:64:lov_dump_lmm_common()) objid 0x1b20017, magic 0x0bd10bd0, pattern 0x1</div><div>Jun  3 14:05:29 mdt02prdpom kernel: Lustre: 16265:0:(lov_pack.c:67:lov_dump_lmm_common()) stripe_size 1048576, stripe_count 1</div><div>Jun  3 14:05:29 mdt02prdpom kernel: Lustre: 16265:0:(lov_pack.c:84:lov_dump_lmm_objects()) stripe 0 idx 1 subobj 0x0/0x62</div><div><br></div><div>For the Kernel Panic console messages, I have them only as an image, I can attach to email ?</div><div><br></div><div>For the second problem:</div><div><br></div><div>doing tests with Quotas, when I go to run the command:</div><div><br></div><div>lfs quotacheck -ug /LUSTRE/</div><div>quotacheck failed: Input/output error</div><div><br></div><div><br></div><div>and the log say:</div><div><br></div><div>kernel: LustreError: 7103:0:(quota_check.c:251:lov_quota_check()) lov idx 1 inactive</div><div><br></div><div>Is there any suggestion ?</div><div><br></div><div>Thanks</div><div><br></div><div>Cheers, Stefano</div></div><div><br></div><div><br></div><div><br></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Ing. Stefano Elmopi</div><div>Gruppo Darco - Resp. ICT Sistemi</div><div>Via Ostiense 131/L Corpo B, 00154 Roma</div><div><br></div><div>cell. 3466147165</div><div>tel.  0657060500</div><div>email:<a href="mailto:stefano.elmopi@sociale.it">stefano.elmopi@sociale.it</a></div><div><br></div><div>"Ai sensi e per effetti della legge sulla tutela  della  riservatezza personale<br>(D.lgs n. 196/2003),  questa @mail e' destinata  unicamente alle persone sopra<br>indicate e le informazioni in essa contenute sono da considerarsi strettamente<br>riservate. E' proibito leggere, copiare, usare o diffondere il contenuto della<br>presente @mail  senza  autorizzazione. Se avete ricevuto  questo messaggio per<br>errore, siete pregati di rispedire la stessa al mittente. Grazie"</div></div></div></span></div></span></div> </div><br><div><div>Il giorno 28/mag/10, alle ore 21:34, Andreas Dilger ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 2010-05-27, at 04:15, Stefano Elmopi wrote:<br><blockquote type="cite">A clarification on what I wrote, the command that go server MGS/MDS in Kernel Panic is:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">My version of Lustre is 1.8.3<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">By testing, I tried to delete a OST and replace it with another OST<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and now the situation is this:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">cat /proc/fs/lustre/lov/lustre01-mdtlov/target_obd <br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">0: lustre01-OST0000_UUID ACTIVE<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">2: lustre01-OST0002_UUID ACTIVE<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">- first problem<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">lustre01-OST0001_UUID ACTIVE is the OST was canceled and it had files,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">which of course now there are not more:<br></blockquote></blockquote><br>Ideally, you should migrate files off the OST before deleting it.<br><br><blockquote type="cite"><blockquote type="cite">ls -lrt<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">total 12475312<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? zero.dat<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? ubuntu-9.10-dvd-i386.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? XXXXXXXXX_CentOS-5.4-x86_64-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? Windows_XP-Capodarco.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? UBUNTU_CentOS-5.4-x86_64-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? KK_CentOS-5.4-x86_64-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? FFFFF_CentOS-5.4-x86_64-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? CentOS-5.3-i386-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? BBBBB_CentOS-5.4-x86_64-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? BAK_CentOS-5.4-x86_64-bin-DVD.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">?--------- ? ?    ?             ?            ? 2.iso<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I to delete them, follow these steps:<br></blockquote></blockquote><br>You should be able to delete them from the client with "unlink zero.dat", which will return an ENOENT error, but the file should be gone.  No need to run lfsck at all.<br><br><blockquote type="cite"><blockquote type="cite">and the server MGS/MDS go to in Kernel Panic<br></blockquote></blockquote><br>What do the MDS console messages say?  That is the root of the problem.<br><br>Cheers, Andreas<br>--<br>Andreas Dilger<br>Lustre Technical Lead<br>Oracle Corporation Canada Inc.<br><br></div></blockquote></div><br></body></html>