DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-04-04 14:43:34

woody
Member
Registered: 2007-03-05
Posts: 31

rsync to dns-323

I'm trying to backup data from linux server to dns323 share.  I've mounted it on the server, and issued rsync

sudo rsync -av --exclude "lost+found" /mnt/backup/drivers/ /mnt/dns323_backup/drivers

I get a bunch of chown errors like

rsync: chown "/mnt/dns323_backup/drivers/smc1211/SCO" failed: Operation not permitted (1)

Is it because I mounted smbfs? 
$ mount
//dns323_1/backup on /mnt/dns323_backup type smbfs (rw)

Would it be better using NFS?  Does nfsd run by default?

Thanks
Woody

Offline

 

#2 2007-04-04 15:45:40

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: rsync to dns-323

woody wrote:

rsync: chown "/mnt/dns323_backup/drivers/smc1211/SCO" failed: Operation not permitted (1)
Is it because I mounted smbfs?

Yes, I think SMB is the problem. "rsync -a" tries chown and chmod which is not supported by plain SMB (there are some UNIX extensions, but I don't think D-Link's samba supports these, see e.g. http://www.itee.uq.edu.au/~emmerik/samba.html).

woody wrote:

Would it be better using NFS?  Does nfsd run by default?

The DNS-323 has no NFS support. But you can run your own NFS server. I'm using unfs3 myself all the time. But it has it's own problems when doing copies like your rsync. There's also the "user-nfs-server" shipped with ARM Debian - I don't know how well it works though (it's NFS version 2 with 2GB file size limit). I also tried kernel-based NFS (using both self-compiled modules and modules offered by others in this forum) without success - the 323 crashes sooner or later.

There's a third option: Run an rsync server on the DNS. I didn't try it myself, but it shouldn't be too hard and I expect it to work fine.

I have packages for unfs3 (needs portmap) and rsync on my site that you can try.

Offline

 

#3 2008-01-16 02:02:26

kokomosam
New member
Registered: 2008-01-16
Posts: 2

Re: rsync to dns-323

woody wrote:

I'm trying to backup data from linux server to dns323 share.  I've mounted it on the server, and issued rsync

sudo rsync -av --exclude "lost+found" /mnt/backup/drivers/ /mnt/dns323_backup/drivers

I get a bunch of chown errors like

rsync: chown "/mnt/dns323_backup/drivers/smc1211/SCO" failed: Operation not permitted (1)

Is it because I mounted smbfs? 
$ mount
//dns323_1/backup on /mnt/dns323_backup type smbfs (rw)

Would it be better using NFS?  Does nfsd run by default?

Thanks
Woody

Hello,

I am trying to setup some backup stuff from a Mac OS X 10.4 laptop to my DNS-323.   I would like to just crontap an rsync to happen at night.  Did you ever find a work around for this?

Thanks

Sam

Offline

 

#4 2008-01-16 05:28:16

blbrown
Member
Registered: 2007-11-02
Posts: 88
Website

Re: rsync to dns-323

fonz wrote:

There's a third option: Run an rsync server on the DNS. I didn't try it myself, but it shouldn't be too hard and I expect it to work fine.

I have packages for unfs3 (needs portmap) and rsync on my site that you can try.

Running Fonz's rsync server/daemon on the DNS-323 is definitely possible (and not too hard).  See this forum post: http://dns323.kood.org/forum/t1150-Tuto … night.html

I've also made a formal script to do this and send email status from the DNS-323.  It's available at http://backupnetclone.sourceforge.net/

Offline

 

#5 2008-01-19 19:29:48

kokomosam
New member
Registered: 2008-01-16
Posts: 2

Re: rsync to dns-323

blbrown wrote:

fonz wrote:

There's a third option: Run an rsync server on the DNS. I didn't try it myself, but it shouldn't be too hard and I expect it to work fine.

I have packages for unfs3 (needs portmap) and rsync on my site that you can try.

Running Fonz's rsync server/daemon on the DNS-323 is definitely possible (and not too hard).  See this forum post: http://dns323.kood.org/forum/t1150-Tuto … night.html

I've also made a formal script to do this and send email status from the DNS-323.  It's available at http://backupnetclone.sourceforge.net/

Thanks.   That helps.  I will let you know how it works.

Sam

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB