+ Post New Thread
Results 1 to 9 of 9
*nix Thread, Rsync errors in Technical; After being introduced to debian a little while ago I am getting more and mor adventurious. At present i am ...
  1. #1
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    704
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Rsync errors

    After being introduced to debian a little while ago I am getting more and mor adventurious. At present i am trying to set up directory mirroring using rsync, although i am running into a couple of problems.

    I am using the command

    Code:
    rsync --delete -p -r -t -e ssh /var/shares/ ipaddress:/var/shares/mirror/
    this runs fine for a little while but then I get an error
    No space left on device (28)
    but I am trying to copy about 15 gig to a drive with 150 gig free

    I also get this error

    Code:
    rsync: writefd_unbuffered failed to write 4092 bytes [generator]: Broken pipe (32) rsync error: error in rsync protocol data stream (code 12) at io.c(1122) [generator=2.6.9]
    could someone point me on the way to working this out please

  2. #2

    Join Date
    Sep 2005
    Location
    Handsworth Grammar School
    Posts
    147
    Thank Post
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    19

    Re: Rsync errors

    You are rysncing to a different machine aren't you? rsyncing within a file system is an interesting idea - it will very quickly fill.

  3. #3
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    704
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: Rsync errors

    Yes Im rsyncing to another linux machine one is a clarkconnect (CentOS Linux 4) machine that has all my photos and music and I was trying to mirror the directory on the other linux machine whuch is a debian etch machine. I'm doing this at home first so that I can get my head around it before I attempt this at school

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Rsync errors

    Are you sure there is room? Try the following. On the target machine run 'df -h'. On the other machine, run 'du -hs /var/shares/'.

  5. #5
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    704
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: Rsync errors

    Geoff you have hit the nail my space is on hda3 NOT hda1, but how do i place my share mirror on hda3, I told you I'm still learning linux ops:

    thanks


    du -h gives a result of

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda1 9.2G 9.2G 0 100% /
    tmpfs 252M 0 252M 0% /lib/init/rw
    udev 10M 52K 10M 1% /dev
    tmpfs 252M 0 252M 0% /dev/shm
    /dev/hda3 141G 188M 134G 1% /srv



    du -hs /var/shares/' gives a result of 6.3g /var/shares

  6. #6


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    340

    Re: Rsync errors

    change the path in /etc/rsyncd.conf on the server to point to somewhere on /srv and adjust your rsync command on the client accordingly

  7. #7
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    704
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: Rsync errors

    Got it cheers I was having a problem with access to hda3 not physically just could not understand how to get there via the path now I have just had a look at the drive config on the debian machine via webmin and I now can see how to get there.

    Wonderful thing learning you make so many silly mistakes along the way

  8. #8
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    704
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: Rsync errors

    Its all working now thanks for that,
    now I'm going to try and set it up so that it checks every x hours for differances

  9. #9
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    704
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: Rsync errors

    I have found a really good tutorial on mirroring with Rsync and thought it may be of use to others as it covers shared keys too. Take a look and see what you think

    Rsync Tutorial



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 2nd July 2007, 04:27 PM
  2. php no errors
    By browolf in forum Web Development
    Replies: 3
    Last Post: 23rd May 2007, 01:06 PM
  3. Ms word errors
    By Uraken in forum Educational Software
    Replies: 1
    Last Post: 1st February 2007, 09:48 AM
  4. sus errors
    By browolf in forum Windows
    Replies: 5
    Last Post: 19th January 2007, 11:34 AM
  5. EvE Run errors
    By Preston in forum Gaming
    Replies: 3
    Last Post: 27th April 2006, 01:03 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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