<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style id="owaParaStyle" type="text/css"><!--P {margin-top:0;margin-bottom:0;}--></style>
</head>
<body ocsi="0" fpstyle="1" dir="ltr">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">The snarky reply would be to use Emacs.<br>
<br>
More seriously:<br>
<br>
When I see something like ?????? in the attributes for a file, my first thought is that the group_upcall on the filesystem is not correct, so permissions are broken.  If you can log on as root, you may be able to see it clearly.<br>
<br>
If that doesn't work, you may have to run an fsck on the MDT (which may take minutes to hours depending on the size of your MDT)<br>
<br>
If that doesn't work, follow the procedure for running an lfsck (which will take a long time, and require quite a bit of storage to execute)<br>
<br>
-Ben Evans<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF976654"><font color="#000000" face="Tahoma" size="2"><b>From:</b> lustre-discuss-bounces@lists.lustre.org [lustre-discuss-bounces@lists.lustre.org] on behalf of Alfonso Pardo [alfonso.pardo@ciemat.es]<br>
<b>Sent:</b> Thursday, March 07, 2013 10:09 AM<br>
<b>To:</b> lustre-discuss@lists.lustre.org; wc-discuss@whamcloud.com<br>
<b>Subject:</b> [Lustre-discuss] delete a "undeletable" file<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div style="font-family:'Calibri'; color:#000000; font-size:12pt">
<div>Hello,</div>
<div> </div>
<div>I have a corrupt file than I can’t delete.</div>
<div> </div>
<div>This is my file:</div>
<div> </div>
<div>>ls –la .viminfo</div>
<div><em><font size="2">-?????????   ? ?       ?        ?            ? .viminfo</font></em></div>
<div><em><font size="2">>lfs getstripe .viminfo</font></em></div>
<div><em><font size="2">.viminfo</font></em></div>
<div><em><font size="2">lmm_stripe_count:   6</font></em></div>
<div><em><font size="2">lmm_stripe_size:    1048576</font></em></div>
<div><em><font size="2">lmm_layout_gen:     0</font></em></div>
<div><em><font size="2">lmm_stripe_offset:  18</font></em></div>
<div><em><font size="2">        obdidx           objid          objid            group</font></em></div>
<div><em><font size="2">            18         1442898       0x160452                0</font></em></div>
<div><em><font size="2">            22              48           0x30                0</font></em></div>
<div><em><font size="2">            19         1442770       0x1603d2                0</font></em></div>
<div><em><font size="2">            21              49           0x31                0</font></em></div>
<div><em><font size="2">            23              48           0x30                0</font></em></div>
<div><em><font size="2">            20              50           0x32                0</font></em></div>
<div> </div>
<div>And these are my OST:</div>
<div> </div>
<div><font size="2"><em>>lctl dl</em></font></div>
<div><font size="2"><em>  0 UP mgc MGC192.168.11.9@tcp f6d5b76f-a7e0-61ca-b389-cb3896b86186 5</em></font></div>
<div><font size="2"><em>  1 UP lov cetafs-clilov-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 4</em></font></div>
<div><font size="2"><em>  2 UP lmv cetafs-clilmv-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 4</em></font></div>
<div><font size="2"><em>  3 UP mdc cetafs-MDT0000-mdc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>  4 UP osc cetafs-OST0000-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>  5 UP osc cetafs-OST0001-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>  6 UP osc cetafs-OST0002-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>  7 UP osc cetafs-OST0003-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>  8 UP osc cetafs-OST0004-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>  9 UP osc cetafs-OST0005-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>10 UP osc cetafs-OST0006-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>11 UP osc cetafs-OST0007-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>12 UP osc cetafs-OST0012-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>13 UP osc cetafs-OST0013-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>14 UP osc cetafs-OST0008-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>15 UP osc cetafs-OST000a-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>16 UP osc cetafs-OST0009-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>17 UP osc cetafs-OST000b-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>18 UP osc cetafs-OST000c-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>19 UP osc cetafs-OST000d-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>20 UP osc cetafs-OST000e-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>21 UP osc cetafs-OST000f-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>22 UP osc cetafs-OST0010-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>23 UP osc cetafs-OST0011-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>24 UP osc cetafs-OST0018-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>25 UP osc cetafs-OST0015-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>26 UP osc cetafs-OST0016-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div><font size="2"><em>27 UP osc cetafs-OST0017-osc-ffff88009816e400 a7ba6783-6ed8-2197-4ffc-fecbff9860a5 5</em></font></div>
<div> </div>
<div> </div>
<div>When I try to delete the file I got the next menssage:</div>
<div> </div>
<div><em><font size="2">> rm .viminfo</font></em></div>
<div><em><font size="2">rm: cannot remove `.viminfo': Invalid argument</font></em></div>
<div> </div>
<div> </div>
<div> </div>
<div>How can I do to delete the file?</div>
<div> </div>
<div>THANKS!</div>
<div style="font-family:'Calibri'; color:#000000; font-size:12pt">
<p><i><span style="font-family:century gothic,sans-serif"><font size="2"></font></span></i> </p>
<p><i><span style="font-family:century gothic,sans-serif"><font size="2"></font></span></i> </p>
<p><i><span style="font-family:century gothic,sans-serif"><font size="2"></font></span></i> </p>
<p><i><span style="font-family:century gothic,sans-serif"><font size="2"></font></span></i> </p>
<p><i><span style="font-family:century gothic,sans-serif"><font size="2">Alfonso Pardo Díaz<br>
</font></span></i><font size="2"><b><i><span style="font-family:century gothic,sans-serif">Researcher / System Administrator at CETA-Ciemat
</span></i></b><br>
<i><span style="font-family:century gothic,sans-serif">c/ Sola nº 1; 10200 Trujillo, ESPAÑA</span></i><br>
<i><span style="font-family:century gothic,sans-serif">Tel: +34 927 65 93 17 Fax: +34 927 32 32 37</span></i>
</font></p>
<p><span><a href="http://www.ceta-ciemat.es/" target="_blank"><img alt="CETA-Ciemat logo" src="http://www.ceta-ciemat.es/images/image001.png" border="0" height="76" width="383"></a></span></p>
</div>
</div>
</div>
---------------------------- Confidencialidad: Este mensaje y sus ficheros adjuntos se dirige exclusivamente a su destinatario y puede contener informaci�n privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci�n,
 divulgaci�n y/o copia sin autorizaci�n est� prohibida en virtud de la legislaci�n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente respondiendo al mensaje y proceda a su destrucci�n. Disclaimer: This message and
 its attached files is intended exclusively for its recipients and may contain confidential information. If you received this e-mail in error you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited and
 may be unlawful. In this case, please notify us by a reply and delete this email and its contents immediately. ----------------------------
</div>
</div>
</div>
</body>
</html>