bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cp giving input/output error


From: Campbell Smith, Peter
Subject: cp giving input/output error
Date: Tue, 26 Jul 2005 12:49:29 +0100

I am trying to copy a file using cp, and cp consistently returns status 256 and 
error message 'input/output error'.  It also takes much longer than I would 
expect -- about 30 seconds -- and produces the error message at the end of that 
time.

The file being copied is in an smbfs-mounted directory. The file is about 
5Mbyte long and is a Microsoft Access database (R2M.mdb).  I can copy any other 
file from the directory without error messages.  

Although I get the error message, the file is copied correctly; the copied file 
is precisely the same length as the original and appears to be an exact copy.

I have tried copying it from its source directory to /dev/null and the behavior 
is exactly the same.  However, if I copy it to a native Linux folder (/tmp) I 
do get the error, but if I then copy it from /tmp, it copies without error in a 
fraction of a second.  So the problem would seem to be some interaction between 
cp and the smbfs file system.

I am using Linux from Debian release 3.1.  I previously used an ancient version 
of Linux to do this, and it worked without problems.

This is not a major problem in that the operation does work, but I'd rather not 
get the error message.

Thanks
Peter

 ~ http://public.logicacmg.com/~campbellp/BusinessCard.htm ~



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]