Errno 22 invalid argument ext3 to FAT32 in Ubuntu 8.04

View: New views
3 Messages — Rating Filter:   Alert me  

Errno 22 invalid argument ext3 to FAT32 in Ubuntu 8.04

by Elliott Yates-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

I'm trying to set up rdiff-backup to copy a set of directories (eventually, my entire Linux system) from several ext3 partitions to a single FAT32 external USB drive (so I can recover files easily to other operating systems). I'm using Ubuntu 8.04 and rdiff-backup 1.1.15, but when I run the following command:

it copies some of the files and then aborts with the error '[Errno 22] Invalid argument' described in detail below.

When I try to open the error log, I get the following message:
gzip: /home/elliott/.fr-2SRY2D/error_log.2008-10-12;08418;05808;05835-07;05800.data.gz: unexpected end of file

So I am including only what's displayed in the terminal.

Any help would be much appreciated.

Thank you kindly,
Elliott.

Terminal output:
...
Sun Oct 12 18:11:30 2008  Making directory /media/EEXTFAT32/rdiff-backup-elliott-laptop-home/;068ocuments/;085;066;067/;083;083;072;082;067 application 2009-2010
Sun Oct 12 18:11:30 2008  Exception '[Errno 22] Invalid argument: '/media/EEXTFAT32/rdiff-backup-elliott-laptop-home/;068ocuments/;085;066;067/;083;083;072;082;067 application 2009-2010 '' raised of class '<type 'exceptions.OSError'>':
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup
    backup.Mirror(rpin, rpout)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch
    ITR(diff.index, diff)
  File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 284, in __call__
    branch.start_process(*args)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 616, in start_process
    if diff_rorp.isdir(): self.prepare_dir(diff_rorp, self.base_rp)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 644, in prepare_dir
    base_rp.mkdir()
  File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 894, in mkdir
    self.conn.os.mkdir(self.path)

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main
    try: Main(arglist)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main
    take_action(rps)
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 344, in Backup
    backup.Mirror(rpin, rpout)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 225, in patch
    ITR(diff.index, diff)
  File "/var/lib/python-support/python2.5/rdiff_backup/rorpiter.py", line 284, in __call__
    branch.start_process(*args)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 616, in start_process
    if diff_rorp.isdir(): self.prepare_dir(diff_rorp, self.base_rp)
  File "/var/lib/python-support/python2.5/rdiff_backup/backup.py", line 644, in prepare_dir
    base_rp.mkdir()
  File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 894, in mkdir
    self.conn.os.mkdir(self.path)
OSError: [Errno 22] Invalid argument: '/media/EEXTFAT32/rdiff-backup-elliott-laptop-home/;068ocuments/;085;066;067/;083;083;072;082;067 application 2009-2010 '


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@...
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Re: Errno 22 invalid argument ext3 to FAT32 in Ubuntu 8.04

by Andrew Ferguson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 12, 2008, at 9:27 PM, Elliott Yates wrote:
> Hello all,
>
> I'm trying to set up rdiff-backup to copy a set of directories  
> (eventually, my entire Linux system) from several ext3 partitions to  
> a single FAT32 external USB drive (so I can recover files easily to  
> other operating systems). I'm using Ubuntu 8.04 and rdiff-backup  
> 1.1.15, but when I run the following command:

Hi Elliott,

It looks like you have a space at the end of the folder named "SSHRC  
Application 2009-2010 ".

Spaces at the *end* of a file or folder name are not allowed on FAT  
filesystems (although they are allowed elsewhere in the name). If you  
remove the space from the end of the name of that folder, you'll be  
fine.

I'll look into adding support for escaping spaces at the end of the  
filename so that rdiff-backup can workaround this FAT32 limitation.


Andrew


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@...
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Re: Errno 22 invalid argument ext3 to FAT32 in Ubuntu 8.04

by Elliott Yates-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrew -- that did the trick!
Thanks, and sorry not to get back to you right away.
Keep up the great work (and prompt assistance), I really appreciate it.
Elliott.

On Tue, Oct 14, 2008 at 9:26 AM, Andrew Ferguson <owsla@...> wrote:
On Oct 12, 2008, at 9:27 PM, Elliott Yates wrote:
Hello all,

I'm trying to set up rdiff-backup to copy a set of directories (eventually, my entire Linux system) from several ext3 partitions to a single FAT32 external USB drive (so I can recover files easily to other operating systems). I'm using Ubuntu 8.04 and rdiff-backup 1.1.15, but when I run the following command:

Hi Elliott,

It looks like you have a space at the end of the folder named "SSHRC Application 2009-2010 ".

Spaces at the *end* of a file or folder name are not allowed on FAT filesystems (although they are allowed elsewhere in the name). If you remove the space from the end of the name of that folder, you'll be fine.

I'll look into adding support for escaping spaces at the end of the filename so that rdiff-backup can workaround this FAT32 limitation.


Andrew


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@...
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
LightInTheBox - Buy quality products at wholesale price!