dd | remsh dd under AIX 1.2

dd | remsh dd under AIX 1.2

Post by J.E.Wa » Thu, 11 Apr 1991 07:34:06



I have tried several times and ways today to do something I've done on
lots of other machines with no problem, essentially:

dd bs=1024k if=/dev/rmt0 | remsh HostWithTapeDrive dd bs=1024k of=/dev/rmt0

This aborts in the following manner under AIX 1.2:

AIX instfe 1.2> dd bs=1024k if=/dev/rmt0 | remsh rt dd bs=1024k of=/dev/rmt0
dd write error: Invalid argument

3+0 records in
2+0 records out

Can anyone tell me why this doesn't work?  As I said before, I've done
this sort of thing in the past on other systems with no problem.
Thanks in advance...


Confucious say...
He was so narrow-minded he could see through a keyhole with both eyes.

 
 
 

dd | remsh dd under AIX 1.2

Post by Dwight Tov » Fri, 12 Apr 1991 00:18:16



>I have tried several times and ways today to do something I've done on
>lots of other machines with no problem, essentially:

>dd bs=1024k if=/dev/rmt0 | remsh HostWithTapeDrive dd bs=1024k of=/dev/rmt0

>This aborts in the following manner under AIX 1.2:

>AIX instfe 1.2> dd bs=1024k if=/dev/rmt0 | remsh rt dd bs=1024k of=/dev/rmt0
>dd write error: Invalid argument

>3+0 records in
>2+0 records out

>Can anyone tell me why this doesn't work?  As I said before, I've done
>this sort of thing in the past on other systems with no problem.
>Thanks in advance...

I just tried it on my machine, going both directions (dd from local device
to remote and from remote device to local) and the only problem I had was
when I forgot to write enable the floppy I was using.  I don't know why you
had problems with it.  Could there be a problem with the tape drive on
the remote site?
        /dwight

--
I didn't claw my way to the top of the food chain to eat vegetables.
        Dwight Tovey

The views I express are entirely my own and do not in any way represent

 
 
 

dd | remsh dd under AIX 1.2

Post by John F Haugh » Sat, 13 Apr 1991 05:44:04



>I have tried several times and ways today to do something I've done on
>lots of other machines with no problem, essentially:

>dd bs=1024k if=/dev/rmt0 | remsh HostWithTapeDrive dd bs=1024k of=/dev/rmt0

[ stuff deleted ]

Quote:>Can anyone tell me why this doesn't work?  As I said before, I've done
>this sort of thing in the past on other systems with no problem.
>Thanks in advance...

The read by "dd" on the remote side isn't reading 1024K most likely,
so when the third record rolls around, it writes some odd amount.

Try the following -

dd bs=1024k if=/dev/rmt0 | \
        remsh HostWithTapeDrive 'cat | dd ibs=1b obs=1024k of=/dev/rmt0'

I've used this in the past on random collections of AIX systems and it
works just fine.
--
John F. Haugh II      |      I've Been Moved     |    MaBellNet: (512) 838-4340
SneakerNet: 809/1D064 |          AGAIN !         |      VNET: LCCB386 at AUSVMQ
BangNet: ..!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)

 
 
 

1. Changing all date fields from mm/dd/yy to dd/mm/yy

Please, I'm looking for a way to change all date fields in a specified
file, like this:

solaris> cat file

05/23/06      03/12/06

07/10/06                   11/12/06           09/20/06

      03/11/06

I need change all date field from mm/dd/yy to dd/mm/yy, like this:

solaris> ./script < cat file

23/05/06        12/03/06

10/07/06                 12/11/06             20/09/06

       11/03/06

Thanks !

2. File not found problem

3. dd command: extract single files out of a dd-file

4. Advantages of 2.0.0 and how to switch to it?

5. To dd or not to dd that is the question!

6. inittab!

7. dd command fails when used with remsh

8. USB Floppy (no laughing)

9. AIX 1.2 is dead (was X server for PS/2 XGA under AIX 1.2)

10. AIX 4.3.3 panics with dd

11. AIX end-of-tape/dd (aka HELP!!!!)

12. AIX 4.3.2 and dd

13. dd on AIX 3.2