Linux - Input/output error - pink and green files in command line?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
cable_guy Offline
Senior Member
Posts: 295
Joined: Aug 2008
Reputation: 0
Location: England
Post: #1
Hi all,

I have a problem whereby a certain few episodes won't sort properly in Sickbeard, the error always being an i/o error.

So I decided to do an ls -l on the destination folder to see if permissions were a problem, however I found something I cannot explain.

Code:
xbmc@XBMCServer:~$ ls -l /mnt/Elements/TV\ Shows/New\ Girl/Season\ 01/
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x04 - Na                                                                                        ked.avi: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x05 - Ce                                                                                        ce Crashes.mkv: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x06 - Th                                                                                        anksgiving.mkv: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x07 - Be                                                                                        lls.mkv: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x08 - Ba                                                                                        d In Bed.avi: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x09 - Th                                                                                        e 23rd.avi: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x10 - Th                                                                                        e Story of the 50.avi: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x11 - Je                                                                                        ss and Julia.avi: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x12 - Th                                                                                        e Landlord.mkv: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x13 - Va                                                                                        lentine's Day.mkv: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x15 - In                                                                                        jured.avi: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x16 - Co                                                                                        ntrol.mp4: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x17 - Fa                                                                                        ncyman (1).mp4: Input/output error
ls: cannot access /mnt/Elements/TV Shows/New Girl/Season 01/New Girl - 1x18 - Fa                                                                                        ncyman (2).mp4: Input/output error
total 1794916
[color=#98FB98]-rwxrwxrwx 1 root root 738346801 2012-02-03 18:58 New Girl - 1x01 - Pilot.mkv
-rwxrwxrwx 1 root root 183721984 2012-02-03 19:50 New Girl - 1x02 - Kryptonite.a                                                                                        vi
-rwxrwxrwx 1 root root 183578624 2012-02-03 20:30 New Girl - 1x03 - Wedding.avi[/color]
[color=#FF1493]-????????? ? ?    ?            ?                ? New Girl - 1x04 - Naked.avi
-????????? ? ?    ?            ?                ? New Girl - 1x05 - Cece Crashes                                                                                        .mkv
-????????? ? ?    ?            ?                ? New Girl - 1x06 - Thanksgiving                                                                                        .mkv
-????????? ? ?    ?            ?                ? New Girl - 1x07 - Bells.mkv
-????????? ? ?    ?            ?                ? New Girl - 1x08 - Bad In Bed.a                                                                                        vi
-????????? ? ?    ?            ?                ? New Girl - 1x09 - The 23rd.avi
-????????? ? ?    ?            ?                ? New Girl - 1x10 - The Story of                                                                                         the 50.avi
-????????? ? ?    ?            ?                ? New Girl - 1x11 - Jess and Jul                                                                                        ia.avi[/color]
[color=#98FB98]-rwxrwxrwx 1 root root 183003256 2012-04-23 20:30 New Girl - 1x12 - The Landlord                                                                                        .avi[/color]
[color=#FF1493]-????????? ? ?    ?            ?                ? New Girl - 1x12 - The Landlord                                                                                        .mkv
-????????? ? ?    ?            ?                ? New Girl - 1x13 - Valentine's                                                                                         Day.mkv
-????????? ? ?    ?            ?                ? New Girl - 1x15 - Injured.avi
-????????? ? ?    ?            ?                ? New Girl - 1x16 - Control.mp4
-????????? ? ?    ?            ?                ? New Girl - 1x17 - Fancyman (1)                                                                                        .mp4[/color]
[color=#98FB98]-rwxrwxrwx 1 root root 183143320 2012-04-15 18:21 New Girl - 1x18 - Fancyman (2)                                                                                        .avi[/color]
[color=#FF1493]-????????? ? ?    ?            ?                ? New Girl - 1x18 - Fancyman (2)                                                                                        .mp4
[/color][color=#E0FFFF]-rwxrwxrwx 1 root root 183345190 2012-04-15 18:22 New Girl - 1x19 - Secrets.avi
-rwxrwxrwx 1 root root 182843650 2012-04-15 18:20 New Girl - 1x20 - Normal.avi[/color]
[/code
]

the above is how it is displayed in Putty, I can only see the green files in my Samba share, does anyone have any idea what is going on please?

thanks in advance.
sorry this post did not format correctly. Essentially the file names with loads of questionmarks where the permissions should be are in pink, and cannot be seen by Samba, and the ones with correct permissions e.g. -rwxrwxrwx are in green and I can see these properly through Samba.

Bedroom rig: HP N40L Microserver - 6GB DDR3, 250GB internal boot drive, 1TB internal storage drive, 2TB external USB storage drive with XBMC 12.3 XBMCbuntu & TVheadend

Lounge rig: Acer Aspire Revo R3610 - 2GB DDR2, 250GB internal boot drive XBMC OpenElec
(This post was last modified: 2012-04-23 21:46 by cable_guy.)
find quote
hojan Offline
Junior Member
Posts: 18
Joined: Sep 2009
Reputation: 0
Post: #2
What does the listing look like on the server where the files are located?
find quote
cable_guy Offline
Senior Member
Posts: 295
Joined: Aug 2008
Reputation: 0
Location: England
Post: #3
by listing, do you mean the result of ls -l? if so, that's what I did it on! I Putty'd to my server and did ls -l on the directory in question.

Is that what you mean? thanks for the response.

Bedroom rig: HP N40L Microserver - 6GB DDR3, 250GB internal boot drive, 1TB internal storage drive, 2TB external USB storage drive with XBMC 12.3 XBMCbuntu & TVheadend

Lounge rig: Acer Aspire Revo R3610 - 2GB DDR2, 250GB internal boot drive XBMC OpenElec
find quote
drivesoslow Offline
Fan
Posts: 470
Joined: Aug 2008
Reputation: 5
Post: #4
Have you tried settings the permissions on the ones with question marks?

http://stackoverflow.com/questions/54153...dirlisting
(This post was last modified: 2012-04-23 23:44 by drivesoslow.)
find quote
cable_guy Offline
Senior Member
Posts: 295
Joined: Aug 2008
Reputation: 0
Location: England
Post: #5
when I try to run "chmod -R 0777 "Season 01"" it says "input/output error" for the problem files (the pink ones)

Bedroom rig: HP N40L Microserver - 6GB DDR3, 250GB internal boot drive, 1TB internal storage drive, 2TB external USB storage drive with XBMC 12.3 XBMCbuntu & TVheadend

Lounge rig: Acer Aspire Revo R3610 - 2GB DDR2, 250GB internal boot drive XBMC OpenElec
find quote
drivesoslow Offline
Fan
Posts: 470
Joined: Aug 2008
Reputation: 5
Post: #6
Are you running the chmod through putty or locally? It shouldn't matter, but you may want to try changing the permissions locally.

Also is this an internal hard drive in your media center or an external drive?
find quote
cable_guy Offline
Senior Member
Posts: 295
Joined: Aug 2008
Reputation: 0
Location: England
Post: #7
(2012-04-24 23:05)drivesoslow Wrote:  Are you running the chmod through putty or locally? It shouldn't matter, but you may want to try changing the permissions locally.

Also is this an internal hard drive in your media center or an external drive?

I'll try locally tomorrow, thanks for the advice.

I'm trying to change the permissions through Putty.

It's an external drive.

Bedroom rig: HP N40L Microserver - 6GB DDR3, 250GB internal boot drive, 1TB internal storage drive, 2TB external USB storage drive with XBMC 12.3 XBMCbuntu & TVheadend

Lounge rig: Acer Aspire Revo R3610 - 2GB DDR2, 250GB internal boot drive XBMC OpenElec
find quote