bugrdiff-backup - Bugs: bug #22361, rdiff-backup to sshfs doesn't work

 
 

bug #22361: rdiff-backup to sshfs doesn't work

Submitter:  None
Submitted:  Tue 19 Feb 2008 08:38:55 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 10 Jun 2008 03:00:43 PM UTC, comment #1: 

I don't believe this is an rdiff-backup bug since it is so similar to the CIFS case documented in the FAQ -- http://www.nongnu.org/rdiff-backup/FAQ.html#cifs

My suspicion is that the remote filesystem is case insensitive, but sshfs is not helping us determine that. ('diskstation' is the clue to that...)

This fix is to add '-o noauto_cache' to the sshfs command. That was the default behavior in sshfs until version 1.5.

Andrew Ferguson <owsla>
Group administrator
Tue 19 Feb 2008 08:38:55 AM UTC, original submission:  

root@jernst-desktop:/mnt# rdiff-backup --version
rdiff-backup 1.1.15

root@jernst-desktop:/mnt# python --version
Python 2.5.2a0

root@jernst-desktop:/mnt# sshfs --version
SSHFS version 1.7
FUSE library version: 2.7.2
fusermount version: 2.7.2
using FUSE kernel interface version 7.8

root@jernst-desktop:/mnt# uname -a
Linux jernst-desktop 2.6.24-8-generic #1 SMP Thu Feb 14 20:13:27 UTC 2008 x86_64 GNU/Linux

root@jernst-desktop:/mnt# sshfs diskstation:/volume1/backuppc /mnt/backuppc/ -o workaround=rename
root@jernst-desktop:/mnt# rdiff-backup -v5 /etc/ /mnt/backuppc/etc/
Using rdiff-backup version 1.1.15
Unable to import module xattr.
Extended attributes not supported on filesystem at /etc
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /etc
escape_dos_devices not required by filesystem at /etc
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Case sensitivity                             On
  Escape DOS devices                           Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Exception '' raised of class '<type 'exceptions.AssertionError'>':
  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 332, in Backup
    rpout.conn.fs_abilities.backup_set_globals(rpin, force)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 746, in backup_set_globals
    dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 148, in init_readwrite
    self.set_case_sensitive_readwrite(subdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 288, in set_case_sensitive_readwrite
    assert not upper_a.lstat()

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 332, in Backup
    rpout.conn.fs_abilities.backup_set_globals(rpin, force)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 746, in backup_set_globals
    dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 148, in init_readwrite
    self.set_case_sensitive_readwrite(subdir)
  File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 288, in set_case_sensitive_readwrite
    assert not upper_a.lstat()
AssertionError


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by owsla (Posted a comment)
  • -email is unavailable- added by jernst (CCing me (the reporter))
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-06-10 owsla StatusNone Invalid
        Open/ClosedOpen Closed
    2008-02-19 jernst Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code