[opensuse] Rsync from Linux box to external VFAT drive over CIFS
I hate it when I have to admit defeat but I'm having trouble finding out a resolution to this issue. I'm trying to set up rsync from my linux box to an external drive mounted on a windows box. I mount the drive to /mnt/smb and can access it just fine. But when I attempt to rsync files, it looks like anything beyond one level of sub-directory gives me a permission denied error. At this point I'm trying a simple directory with a few files and some sub-directories in it. Here's the output: anthony@dell:~> rsync --verbose --progress --compress --recursive --delete-after --modify-window=1 /home/anthony/Documents/ /mnt/smb/ANTHONY/Dell/ building file list ... 34 files to consider .directory 1119 100% 0.00kB/s 0:00:00 (xfer#1, to-check=32/34) New Document.odt 0 100% 0.00kB/s 0:00:00 (xfer#2, to-check=31/34) New Spreadsheet.ods 2496 100% 2.38MB/s 0:00:00 (xfer#3, to-check=30/34) Xen_user.pdf 274633 100% 4.59MB/s 0:00:00 (xfer#4, to-check=29/34) virtualbox_1.6_UserManual.pdf 4171553 100% 6.41MB/s 0:00:00 (xfer#5, to-check=28/34) Open Suse Documentation/ Open Suse Documentation/opensuse103.zip 32231072 100% 6.45MB/s 0:00:04 (xfer#6, to-check=26/34) Open Suse Documentation/pdfdoc/ rsync: recv_generator: mkdir "/mnt/smb/ANTHONY/Dell/Open Suse Documentation/pdfdoc" failed: Permission denied (13) *** Skipping everything below this failed directory *** sent 36300507 bytes received 220 bytes 5584727.23 bytes/sec total size is 75139177 speedup is 2.07 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] anthony@dell:~> I've tried several different rsync strings, and get pretty much the same problems regardless of what I do. Anyone have any idea what the problem might be? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 8 Jun 2008 18:52:49 -0500 (GMT-05:00) va.linuxguy@gmail.com wrote:
I hate it when I have to admit defeat but I'm having trouble finding out a resolution to this issue. I'm trying to set up rsync from my linux box to an external drive mounted on a windows box. I mount the drive to /mnt/smb and can access it just fine. But when I attempt to rsync files, it looks like anything beyond one level of sub-directory gives me a permission denied error.
At this point I'm trying a simple directory with a few files and some sub-directories in it. Here's the output:
anthony@dell:~> rsync --verbose --progress --compress --recursive --delete-after --modify-window=1 /home/anthony/Documents/ /mnt/smb/ANTHONY/Dell/ building file list ... 34 files to consider .directory 1119 100% 0.00kB/s 0:00:00 (xfer#1, to-check=32/34) New Document.odt 0 100% 0.00kB/s 0:00:00 (xfer#2, to-check=31/34) New Spreadsheet.ods 2496 100% 2.38MB/s 0:00:00 (xfer#3, to-check=30/34) Xen_user.pdf 274633 100% 4.59MB/s 0:00:00 (xfer#4, to-check=29/34) virtualbox_1.6_UserManual.pdf 4171553 100% 6.41MB/s 0:00:00 (xfer#5, to-check=28/34) Open Suse Documentation/ Open Suse Documentation/opensuse103.zip 32231072 100% 6.45MB/s 0:00:04 (xfer#6, to-check=26/34) Open Suse Documentation/pdfdoc/ rsync: recv_generator: mkdir "/mnt/smb/ANTHONY/Dell/Open Suse Documentation/pdfdoc" failed: Permission denied (13) *** Skipping everything below this failed directory ***
sent 36300507 bytes received 220 bytes 5584727.23 bytes/sec total size is 75139177 speedup is 2.07 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] anthony@dell:~>
I've tried several different rsync strings, and get pretty much the same problems regardless of what I do. Anyone have any idea what the problem might be?
The problem is not rsync, but how you mounted the drive. Try looking at
setting the username and password. (I am assuming that you have sharing
turned on.
--
--
Jerry Feldman
On Sunday 08 June 2008 07:52:49 pm va.linuxguy@gmail.com wrote:
I hate it when I have to admit defeat but I'm having trouble finding out a resolution to this issue. I'm trying to set up rsync from my linux box to an external drive mounted on a windows box. I mount the drive to /mnt/smb and can access it just fine. But when I attempt to rsync files, it looks like anything beyond one level of sub-directory gives me a permission denied error.
At this point I'm trying a simple directory with a few files and some sub-directories in it. Here's the output:
anthony@dell:~> rsync --verbose --progress --compress --recursive --delete-after --modify-window=1 /home/anthony/Documents/ /mnt/smb/ANTHONY/Dell/ building file list ...
Is this directory name too long for the destination, maybe ?? If so then it will not copy the rest of the directory also, maybe a shorter name would work...
rsync: recv_generator: mkdir "/mnt/smb/ANTHONY/Dell/Open Suse Documentation/pdfdoc" failed: Permission denied (13) *** Skipping everything below this failed directory ***
sent 36300507 bytes received 220 bytes 5584727.23 bytes/sec total size is 75139177 speedup is 2.07 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] anthony@dell:~>
I've tried several different rsync strings, and get pretty much the same problems regardless of what I do. Anyone have any idea what the problem might be?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
va.linuxguy@gmail.com wrote:
I hate it when I have to admit defeat but I'm having trouble finding out a resolution to this issue. I'm trying to set up rsync from my linux box to an external drive mounted on a windows box. I mount the drive to /mnt/smb and can access it just fine. But when I attempt to rsync files, it looks like anything beyond one level of sub-directory gives me a permission denied error.
At this point I'm trying a simple directory with a few files and some sub-directories in it. Here's the output:
anthony@dell:~> rsync --verbose --progress --compress --recursive --delete-after --modify-window=1 /home/anthony/Documents/ /mnt/smb/ANTHONY/Dell/ building file list ... 34 files to consider .directory 1119 100% 0.00kB/s 0:00:00 (xfer#1, to-check=32/34) New Document.odt 0 100% 0.00kB/s 0:00:00 (xfer#2, to-check=31/34) New Spreadsheet.ods 2496 100% 2.38MB/s 0:00:00 (xfer#3, to-check=30/34) Xen_user.pdf 274633 100% 4.59MB/s 0:00:00 (xfer#4, to-check=29/34) virtualbox_1.6_UserManual.pdf 4171553 100% 6.41MB/s 0:00:00 (xfer#5, to-check=28/34) Open Suse Documentation/ Open Suse Documentation/opensuse103.zip 32231072 100% 6.45MB/s 0:00:04 (xfer#6, to-check=26/34) Open Suse Documentation/pdfdoc/ rsync: recv_generator: mkdir "/mnt/smb/ANTHONY/Dell/Open Suse Documentation/pdfdoc" failed: Permission denied (13) *** Skipping everything below this failed directory ***
sent 36300507 bytes received 220 bytes 5584727.23 bytes/sec total size is 75139177 speedup is 2.07 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] anthony@dell:~>
I've tried several different rsync strings, and get pretty much the same problems regardless of what I do. Anyone have any idea what the problem might be?
Backup to vfat with rsync is totally doable. I used to back up to a Win 95 box from my server. (It was an old IBM PC that would not boot from a floppy) Take Jerry's advise and use a username/password with the mount and you will be fine. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
David C. Rankin
-
Jerry Feldman
-
ka1ifq
-
va.linuxguy@gmail.com