Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   ls reports input/output error - strange file (http://www.linux-archive.org/red-hat-linux/1369-ls-reports-input-output-error-strange-file.html)

"Mertens, Bram" 11-20-2007 02:39 PM

ls reports input/output error - strange file
 
Hi,

A colleague of mine tried to ungzip a file but encountered an error
becuase there wasn't enough disk space available.

A directory listing now reports:
$ ll |grep 11.18-09-2007
?


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

--------- ? ? ? ? ?
mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
-rw-r--r-- 1 root root 19745998 Sep 18 16:50
mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar.gz

When running ls on the "unzipped" file I get:
$ ll mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
ls: mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar: Input/output
error

Any idea what happened here? And how to remove this strange file?

Kind regards

Bram

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Dr Alan J Bartlett 11-20-2007 03:24 PM

ls reports input/output error - strange file
 
Bram,

To remove it, you'll need to know exactly what its name is. I guess there are some non-ASCII characters in its name.

Try /bin/ls | cat -vet and see what's there. Then catch the output of /bin/ls in foo_file, edit foo_file so that it contains an entry/entries for what you don't want in that directory, surrounded by quotation marks ("), one per line. Next rm $(cat foo_file).

Hope this helps.
Alan.

----------------------------------------
> From: mertensb@mazdaeur.com
> Date: Tue, 20 Nov 2007 16:39:34 +0100
> To: redhat-list@redhat.com
> Subject: ls reports input/output error - strange file
>
> Hi,
>
> A colleague of mine tried to ungzip a file but encountered an error
> becuase there wasn't enough disk space available.
>
> A directory listing now reports:
> $ ll |grep 11.18-09-2007
> ?
>
>
> Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
> VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB
>
> --------- ? ? ? ? ?
> mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
> -rw-r--r-- 1 root root 19745998 Sep 18 16:50
> mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar.gz
>
> When running ls on the "unzipped" file I get:
> $ ll mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
> ls: mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar: Input/output
> error
>
> Any idea what happened here? And how to remove this strange file?
>
> Kind regards
>
> Bram
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
__________________________________________________ _______________
Feel like a local wherever you go.
http://www.backofmyhand.com

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Herta Van den Eynde" 11-20-2007 03:32 PM

ls reports input/output error - strange file
 
On 20/11/2007, Dr Alan J Bartlett <stxsl_ajb@hotmail.com> wrote:
>
> Bram,
>
> To remove it, you'll need to know exactly what its name is. I guess there are some non-ASCII characters in its name.
>
> Try /bin/ls | cat -vet and see what's there. Then catch the output of /bin/ls in foo_file, edit foo_file so that it contains an entry/entries for what you don't want in that directory, surrounded by quotation marks ("), one per line. Next rm $(cat foo_file).
>
> Hope this helps.
> Alan.
>
> ----------------------------------------
> > From: mertensb@mazdaeur.com
> > Date: Tue, 20 Nov 2007 16:39:34 +0100
> > To: redhat-list@redhat.com
> > Subject: ls reports input/output error - strange file
> >
> > Hi,
> >
> > A colleague of mine tried to ungzip a file but encountered an error
> > becuase there wasn't enough disk space available.
> >
> > A directory listing now reports:
> > $ ll |grep 11.18-09-2007
> > ?
> >
> >
> > Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
> > VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB
> >
> > --------- ? ? ? ? ?
> > mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
> > -rw-r--r-- 1 root root 19745998 Sep 18 16:50
> > mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar.gz
> >
> > When running ls on the "unzipped" file I get:
> > $ ll mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
> > ls: mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar: Input/output
> > error
> >
> > Any idea what happened here? And how to remove this strange file?
> >
> > Kind regards
> >
> > Bram
> >

Alternatively, try "rm -i "*Willebroek*"

Kind regards,

Herta

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

"Mertens, Bram" 11-21-2007 08:42 AM

ls reports input/output error - strange file
 
> On 20/11/2007, Dr Alan J Bartlett <stxsl_ajb@hotmail.com> wrote:
> >


Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB

----------------------------------------
> > > From: mertensb@mazdaeur.com
> > > Date: Tue, 20 Nov 2007 16:39:34 +0100
> > > To: redhat-list@redhat.com
> > > Subject: ls reports input/output error - strange file
> > >
> > > Hi,
> > >
> > > A colleague of mine tried to ungzip a file but encountered an
error
> > > becuase there wasn't enough disk space available.
> > >
> > > A directory listing now reports:
> > > $ ll |grep 11.18-09-2007
> > > ?
> > >
> > >
> > > Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830
Willebroek
> > > VAT BE 406.024.281, RPR Mechelen, ING 310-0092504-52, IBAN : BE64
3100 0925 0452, SWIFT : BBRUBEBB
> > >
> > > --------- ? ? ? ? ?
> > > mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
> > > -rw-r--r-- 1 root root 19745998 Sep 18 16:50
> > > mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar.gz
> > >
> > > When running ls on the "unzipped" file I get:
> > > $ ll mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar
> > > ls: mappsacc.mle.mazdaeur.com-access_log.11.18-09-2007.tar:
Input/output
> > > error
> > >
> > > Any idea what happened here? And how to remove this strange file?
> > >
[reformatted to make it more legible]
> > Bram,
> >
> > To remove it, you'll need to know exactly what its name is. I guess
there are some non-ASCII characters in its name.
> >
> > Try /bin/ls | cat -vet and see what's there. Then catch the output
of /bin/ls in foo_file, edit foo_file so that it contains an
entry/entries for what you don't want in that directory, surrounded by
quotation marks ("), one per line. Next rm $(cat foo_file).
> >
> > Hope this helps.
> > Alan.
> >
>
> Alternatively, try "rm -i "*Willebroek*"
>
> Kind regards,
>
> Herta

Thanks for the suggestions.

In the end I choose for another approach though, I renamed the directory
containing these files. Then moved all the "good" files to a new
directory and
removed the entire directory containing the reference to this file.

I'd still like to know what happened here.

Kind regards

Bram

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 08:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.