[CentOS] Flash Drive problem?

Thu Jul 2 20:18:45 UTC 2009
Ron Blizzard <rb4centos at gmail.com>

On Thu, Jul 2, 2009 at 2:27 PM, Ryan Pugatch<rpug at tripadvisor.com> wrote:
> Ron Blizzard wrote:
>> I've been having an odd problem lately. When I drag files from the
>> computer to a flash drive, they appear to copy, but when I try to use
>> the files I find that only the name was copied (file size of 0). When
>> I copy the same files to the same flash drive, from the terminal,
>> everything seems to work.
>>
>> Has anyone else experienced a problem like this? It's starting to get
>> a little frustrating.
>>
>
>
> Anything weird being logged to /var/log/messages?  Probably the first
> place I'd check..

Yes, there is. I didn't know to look there -- a lot to learn.

Jul  1 03:54:26 localhost kernel: Buffer I/O error on device sda1,
logical block 519
Jul  1 03:54:26 localhost kernel: lost page write due to I/O error on sda1
Jul  1 03:54:26 localhost kernel: Buffer I/O error on device sda1,
logical block 520
Jul  1 03:54:26 localhost kernel: lost page write due to I/O error on sda1
Jul  1 03:54:26 localhost kernel: sd 8:0:0:0: rejecting I/O to device
being removed
Jul  1 03:54:26 localhost kernel: Buffer I/O error on device sda1,
logical block 18439
Jul  1 03:54:26 localhost kernel: lost page write due to I/O error on sda1
Jul  1 03:54:26 localhost kernel: sd 8:0:0:0: rejecting I/O to device
being removed
Jul  1 03:54:26 localhost kernel: Buffer I/O error on device sda1,
logical block 18441
Jul  1 03:54:26 localhost kernel: lost page write due to I/O error on sda1
Jul  1 03:54:26 localhost kernel: Buffer I/O error on device sda1,
logical block 18442
Jul  1 03:54:26 localhost kernel: lost page write due to I/O error on sda1
Jul  1 03:54:26 localhost hald[2450]: forcibly attempting to lazy
unmount /dev/sda1 as enclosing drive was disc
Jul  1 03:54:26 localhost hald: unmounted /dev/sda1 from '/media/disk'
on behalf of uid 0

It looks like I'm getting I/O errors for some reason. Maybe a problem
with the USB port itself?

-- 
RonB -- Using CentOS 5.3