Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Every one, good evening.... i am using dd tool to copy data from one linux machine to another linux machine. in place of output file i am giving the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2008
    Posts
    4

    dd tool usage help


    Hi Every one,

    good evening....

    i am using dd tool to copy data from one linux machine to another linux machine.

    in place of output file i am giving the second Linux machine ip adress and directory wher i wanted to copy data.but dd command is not identifying the second Linux machine path .

    i have mounted the second Linux machine from first one and its successful.

    we can see the same below from mount command

    172.16.110.1:/E on /media/usbsdisk type nfs (rw,noexec,nosuid,nodev,hard,udp,lock,intr,wsize=8 192,rsize=8192,addr=172.16.110.1)


    i am using the following command.


    dd if=/home/uce_ins/tmp/records of=172.16.110.1:/E

    here 172.16.110.1 is the second Llinux machine ip asddress and the E is the directory i wanted to copy data from first Llinux machine.
    but dd tool is recognized the the second linux machine

    i have observed the foolowing error message
    =====================================

    dd if=/home/uce_ins/tmp/records of=172.16.110.1/E/
    dd: opening `172.16.110.1/E/': No such file or directory


    kindly give a suggestion how to copy data from one Linux machine to another linux machine using dd tool.it's very urgent.

    with best: regards,
    Srinu.

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,272
    Hello mannam srinivas!

    Pardon me if I dare suggest but since you were able to mount the second HD, maybe there is no need to put the IP address on the output file but put instead of=/dev/hdxxx.

    I'm just making a guess. Good luck!
    nujinini
    Linux User #489667

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Yes, if it's a mounted filesystem, you should use the path to the mount point, ie, /media/usbsdisk it looks like in your case, not the network address. I don't think dd is network aware.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •