Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Patrick Farrell
es from experience. - Patrick From: Wahl, Edward [ew...@osc.edu] Sent: Thursday, May 28, 2015 9:46 AM To: Patrick Farrell; Lustre discussion; Jon Tegner Subject: RE: [lustre-discuss] Cannot remove file How is this type of corruption different than the dreaded "Ca

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Wahl, Edward
om: lustre-discuss [lustre-discuss-boun...@lists.lustre.org] on behalf of Patrick Farrell [p...@cray.com] Sent: Thursday, May 28, 2015 9:51 AM To: Lustre discussion; Jon Tegner Subject: Re: [lustre-discuss] Cannot remove file No - you'll have to take the file system offline to use debugfs in wri

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Mohr Jr, Richard Frank (Rick Mohr)
> On May 28, 2015, at 6:46 AM, Jon Tegner wrote: > > Hi, > > I have a few files which are listed (ls -l) with: > > "-? ? ? ? ??” If I were to match up all the question marks with the normal fields I expect to see from “ls -l”, then I would get this: -???

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Jon Tegner
it is not a UID/GID issue. From: lustre-discuss [lustre-discuss-boun...@lists.lustre.org] on behalf of Martin Hecht [he...@hlrs.de] Sent: Thursday, May 28, 2015 7:19 AM To: Jon Tegner Cc: Lustre discussion Subject: Re: [lustre-discuss] Cannot remove file Hi Jon, it might be an

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Patrick Farrell
it is not a UID/GID issue. From: lustre-discuss [lustre-discuss-boun...@lists.lustre.org] on behalf of Martin Hecht [he...@hlrs.de] Sent: Thursday, May 28, 2015 7:19 AM To: Jon Tegner Cc: Lustre discussion Subject: Re: [lustre-discuss] Cannot remove file

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Peter Kjellström
The ?-characters in the latter cols of the ls -l hints at this maybe being a case of uid/gid mismatch (servers needs to be synced to same uid/gid space or else there be ?-marks...). /Peter On Thu, 28 May 2015 12:46:52 +0200 Jon Tegner wrote: > Hi, > > I have a few files which are listed (ls -l

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Martin Hecht
Hi Jon, it might be an option to use debugfs for manually "repairing" the directory so that the file behaves "normal" again, but maybe someone else can answer if this is possible online, and if so, how the procedure looks like exactly. best regards, Martin On 05/28/2015 01:43 PM, Jon Tegner wrot

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Jon Tegner
Thanks! Tried the first suggestions, but cant bring the system down at the moment, so have to wait with the ldiskfs-level. Any other suggestions not involving stopping it? Best Regards, /jon On 05/28/2015 01:13 PM, Martin Hecht wrote: hi, if the file name starts with a dash, you should pr

Re: [lustre-discuss] Cannot remove file

2015-05-28 Thread Martin Hecht
hi, if the file name starts with a dash, you should prepend "./" to it when calling unlink. I'm not sure if it works with these broken files, which don't even have a proper name anymore. Also, you probably have to escape the question marks so that they don't act as wildcard in the shell (or better

[lustre-discuss] Cannot remove file

2015-05-28 Thread Jon Tegner
Hi, I have a few files which are listed (ls -l) with: "-? ? ? ? ??" I have tried to remove them, both with "rm" and with "ulink", but neither of these work (unlink: cannot unlink `file': Invalid argument). This really doesn't bother me, except for an error