Jump to content

Recommended Posts

Posted

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

 

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

 

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

Posted
You are rysncing to a different machine aren't you? rsyncing within a file system is an interesting idea - it will very quickly fill.
Posted
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
Posted
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/'.
Posted

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 :oops:

 

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

Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...