Messages in this thread | | | Date | Mon, 28 Jun 1999 10:55:43 +0200 | From | Thierry Danis <> | Subject | Re: cpio trouble with 2.2.10-ac4 SMP |
| |
On Sat, Jun 26, 1999 at 05:37:49PM +0200, Thierry Danis wrote: > > Hello, > > I have observed a strange behaviour using cpio on a 2.2.10-ac4 SMP box. > > strichnine is the SMP box. > dgps6 is a 2.2.10-ac4 UP box. > willy is a 2.2.10-ac4 UP box. > > >From dgps6, as root : > # rsh strichnine 'cd /usr; find . -depth -print | cpio -ovB' >/dev/null > > The command ends up prematuraly (in the middle of X11R6). No log on either > machine. > > # rsh strichnine 'cd /usr; tar cvf - .' >/dev/null > > The command completes normally. > > > >From dgps6, as root : > # rsh willy 'cd /usr; find . -depth -print | cpio -ovB' >/dev/null > > The command completes normally. > > > To summary, a cpio on an SMP box sent to /dev/null through the network dies. > As a consequence, it is impossible to backup the SMP box using cpio. > > A+, > -- > Thierry Danis > Poste : 53 53 danis@spmo.sagem.fr >
Some more info :
From strichnine as root : # cd /usr; find . -depth -print | cpio -ovB | rsh dgps6 dd of=/dev/null
The command completes normally.
From dgps6 as root : rsh strichnine 'cd /usr; find -depth | cpio -ovB' | dd of=/dev/null
The command stops very early (as mentionned in the first post). But :
rsh strichnine 'cd /usr; find -depth | strace -o/tmp/cpio.output cpio -ovB' | dd of=/dev/null
The command continues a bit further and then stops (without ending).
So, having added 'strace -o/tmp/cpio.output' (or strace -o/dev/null) makes things apparently go better, but now hangs after a few Mo of data transferred.
30221 root 0 0 388 388 312 S 0 0.0 0.3 0:00 find 30222 root 4 0 492 492 396 S 0 0.0 0.3 0:03 strace 30223 root 2 0 424 424 348 T 0 0.0 0.3 0:01 cpio
I have to kill the command with a ^Z + kill -9 %1.
A+, -- Thierry Danis Poste : 53 53 danis@spmo.sagem.fr
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |