Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th September 2004, 08:50 AM
mattma Offline
Registered User
 
Join Date: Sep 2004
Posts: 4
cpio input/output error

hello,

I'm trying to migrate an entire partition (~50gb) from one server (rh9) to another (fedora core 2). What I'm doing is mounting the old partition from the old server on the new server using samba. then i use

find /mnt -depth -print | cpio -pdmvu .

this file copy command has always worked for me in the past and it gets all the hidden .something files as well.

However, after a while, I end up with a

"Input/output error" on the console. Any ideas?

I'm not married to cpio, if anyone has another good way of migrating a large amount of files across the network with all hidden files intact, I'd be happy to hear it.

On the other hand, is having this error a sign that something is amiss on my new server?

Some other info that might be useful: The kernel I am using is the one that ships with fedora core 2. selinux was installed but /etc/sysconfig/selinux is marked as disabled - but I've read that a bug in the distro version of the kernel (my version) makes it enabled anyway, but permissive. The partition i am copying to is a software raid 5 (via fedora) with 3 disks.

thanks in advance,

matt ma
---------------------------
Lightspoke: Free web-based database
Web Applications in 60 Seconds
Reply With Quote
  #2  
Old 11th September 2004, 01:24 PM
mattma Offline
Registered User
 
Join Date: Sep 2004
Posts: 4
actually a samba problem

actually, just took a look at the logs and realized it was a smb problem. but still don't know why this is happening. below are my logs. thanks.

Sep 10 19:46:15 gobi kernel: smb_proc_readdir_long: error=-512, breaking
Sep 10 19:49:40 gobi kernel: smb_proc_readdir_long: error=-512, breaking
Sep 10 19:50:30 gobi kernel: smb_proc_readdir_long: error=-512, breaking
Sep 10 19:54:23 gobi kernel: smb_lookup: find include/adovbs.inc,v failed, error=-512
Sep 10 19:55:39 gobi kernel: smb_proc_readdir_long: error=-512, breaking
Sep 10 19:58:38 gobi kernel: smb_add_request: request [0e17bd80, mid=5755] timed out!
Sep 10 19:59:06 gobi sshd(pam_unix)[3753]: session opened for user root by (uid=0)
Sep 10 19:59:16 gobi kernel: smb_add_request: request [0e17bd80, mid=6904] timed out!
Sep 10 19:59:50 gobi kernel: smb_add_request: request [0e17bd80, mid=7692] timed out!
Sep 10 20:00:25 gobi kernel: smb_add_request: request [0e17b080, mid=8535] timed out!
Sep 10 20:03:15 gobi kernel: smb_add_request: request [0e17b080, mid=17574] timed out!
Sep 10 20:04:12 gobi kernel: smb_add_request: request [0e17b080, mid=19888] timed out!
Sep 10 20:04:49 gobi kernel: smb_add_request: request [0e17b080, mid=21019] timed out!
Sep 10 20:05:29 gobi kernel: smb_add_request: request [0e17b080, mid=22375] timed out!
Sep 10 20:06:29 gobi kernel: smb_add_request: request [0e17b080, mid=24604] timed out!
Sep 10 20:07:00 gobi kernel: smb_add_request: request [0e17b080, mid=25832] timed out!
Sep 10 20:08:07 gobi kernel: smb_add_request: request [0e17b080, mid=28414] timed out!
Sep 10 20:09:32 gobi kernel: smb_add_request: request [0e17b080, mid=31721] timed out!
Sep 10 20:09:32 gobi kernel: smb_proc_readdir_long: error=-5, breaking
Sep 10 20:32:15 gobi kernel: smb_add_request: request [0e17b080, mid=15897] timed out!
Sep 10 20:32:51 gobi kernel: smb_add_request: request [0e17b080, mid=17160] timed out!
Sep 10 20:34:39 gobi kernel: smb_add_request: request [0e17b080, mid=21918] timed out!
Sep 10 20:35:29 gobi kernel: smb_add_request: request [0e17b080, mid=23805] timed out!
Sep 10 20:36:16 gobi kernel: smb_add_request: request [0e17b080, mid=25545] timed out!
Sep 10 20:37:27 gobi kernel: smb_add_request: request [0e17b080, mid=28366] timed out!
Sep 10 20:37:29 gobi kernel: smb_get_length: Invalid NBT packet, code=63
Sep 10 20:37:59 gobi kernel: smb_add_request: request [0e17b080, mid=29028] timed out!
Sep 10 20:37:59 gobi kernel: smb_proc_readdir_long: error=-5, breaking
Sep 10 20:38:54 gobi kernel: smb_add_request: request [0e17bd80, mid=30694] timed out!
Sep 10 20:39:28 gobi kernel: smb_add_request: request [0e17be80, mid=31592] timed out!
Sep 10 20:39:28 gobi kernel: smb_lookup: find HOWTO/SCSI-2.4-HOWTO failed, error=-5
Sep 10 20:39:29 gobi kernel: smb_receive_header: short packet: 13
Sep 10 20:39:59 gobi kernel: smb_add_request: request [0e17b080, mid=32053] timed out!
Sep 10 20:39:59 gobi kernel: smb_proc_readdir_long: error=-5, breaking
Sep 10 20:39:59 gobi kernel: smb_add_request: request [0e17be80, mid=32054] timed out!
Sep 10 20:40:09 gobi kernel: smb_get_length: Invalid NBT packet, code=2
Sep 10 20:40:38 gobi kernel: smb_add_request: request [0e17b080, mid=32698] timed out!
Sep 10 21:59:49 gobi kernel: smb_add_request: request [04c73d80, mid=37975] timed out!
Sep 10 22:01:09 gobi kernel: smb_add_request: request [04c73d80, mid=42076] timed out!
Sep 10 22:02:23 gobi kernel: smb_add_request: request [04c73d80, mid=45569] timed out!
Sep 10 22:03:30 gobi kernel: smb_add_request: request [04c73d80, mid=48740] timed out!
Sep 10 22:04:08 gobi kernel: smb_add_request: request [04c73d80, mid=50010] timed out!
Sep 10 22:05:11 gobi kernel: smb_add_request: request [04c73080, mid=52544] timed out!
Sep 10 22:07:32 gobi kernel: smb_add_request: request [04c73e80, mid=59113] timed out!
Sep 10 22:08:02 gobi kernel: smb_add_request: request [04c73e80, mid=60194] timed out!
Sep 10 22:16:36 gobi kernel: smb_add_request: request [04c73e80, mid=17405] timed out!
Sep 10 22:31:24 gobi kernel: smb_add_request: request [04c73080, mid=49435] timed out!
Sep 10 22:32:03 gobi kernel: smb_add_request: request [04c73080, mid=50250] timed out!
Sep 10 22:32:34 gobi kernel: smb_add_request: request [04c73080, mid=50926] timed out!
Sep 10 22:33:12 gobi kernel: smb_add_request: request [04c73080, mid=51641] timed out!
Sep 10 22:33:50 gobi kernel: smb_add_request: request [04c73080, mid=52580] timed out!
Sep 10 22:35:02 gobi kernel: smb_add_request: request [04c73d80, mid=55955] timed out!
Sep 10 22:35:39 gobi kernel: smb_add_request: request [04c73d80, mid=56964] timed out!
Sep 10 22:36:00 gobi kernel: smb_receive_header: short packet: 0
Sep 10 22:36:30 gobi kernel: smb_add_request: request [04c73d80, mid=58788] timed out!
Sep 10 22:36:30 gobi kernel: smb_add_request: request [04c73080, mid=58789] timed out!
Sep 10 22:37:02 gobi kernel: smb_get_length: Invalid NBT packet, code=2c
Sep 10 22:37:32 gobi kernel: smb_add_request: request [04c73d80, mid=60605] timed out!
Sep 10 22:37:32 gobi kernel: smb_get_length: Invalid NBT packet, code=b9
Sep 10 22:38:02 gobi kernel: smb_add_request: request [04c73d80, mid=61264] timed out!
Sep 10 22:38:02 gobi kernel: smb_proc_readdir_long: error=-5, breaking
Sep 10 22:39:04 gobi kernel: smb_add_request: request [04c73080, mid=1239] timed out!
Sep 10 22:39:48 gobi kernel: smb_add_request: request [04c73e80, mid=2605] timed out!
Sep 10 22:41:27 gobi kernel: smb_add_request: request [04c73e80, mid=6946] timed out!
Sep 10 22:41:58 gobi kernel: smb_add_request: request [04c73e80, mid=7543] timed out!
Sep 10 22:41:58 gobi kernel: smb_lookup: find HOWTO/Bash-Prog-Intro-HOWTO-8.html failed, error=-5
Sep 10 22:42:37 gobi kernel: smb_add_request: request [04c73e80, mid=8792] timed out!
Sep 10 22:43:15 gobi kernel: smb_add_request: request [04c73e80, mid=9819] timed out!
Sep 10 22:43:15 gobi kernel: smb_lookup: find HOWTO/Webcam-HOWTO failed, error=-5
Sep 10 22:43:27 gobi kernel: smb_get_length: Invalid NBT packet, code=18
Sep 10 22:43:57 gobi kernel: smb_add_request: request [04c73e80, mid=11111] timed out!
Reply With Quote
  #3  
Old 12th September 2004, 05:11 AM
mattma Offline
Registered User
 
Join Date: Sep 2004
Posts: 4
problem solved...

ok, I figured it out. The find command was timing out while waiting for cpio to complete copying all those files. It times out because it tries to hold on to a samba connection for hours. So the solution is simple, separate the commands -

find /mnt -depth -print > tmp.log
cat tmp.log | cpio -pdmvu .
Reply With Quote
  #4  
Old 17th November 2004, 03:19 PM
stefano_fornari
Guest
 
Posts: n/a
Does it really copy hidden file?
If I run find . -depth -print I cannot see any dot file returned....
How can this be fixed/worked around?
Reply With Quote
Reply

Tags
cpio, error, input or output

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/ttyS0 input/output error axaf Using Fedora 2 11th August 2006 03:36 PM
input/output error talkstock888 Hardware & Laptops 4 17th May 2006 10:54 PM
error: failed to open /etc/mtab: Input/output error shatter Using Fedora 0 17th March 2006 02:16 AM


Current GMT-time: 07:27 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat