rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Problem with CIFS and Hard Links


From: Doug Renfrew
Subject: [rdiff-backup-users] Problem with CIFS and Hard Links
Date: Thu, 1 Mar 2007 12:25:11 -0500

Hi,

I have a Buffalo TeraStation Pro (small linux based NAS) [1] connected through a hub to my Fedora Core 6 file server. The TeraStation (TS) uses Samba to share files and I have the backup directory on the TS mounted to /backup of my file server the using the following line in my /etc/fstab file [2].

//111.222.333.444/backup  /backup cifs defaults,username=backup,password=12345678 0 0

I can read and write to the drive just fine. However when I try to run rdiff-backup, I get the following error. Rdiff-backup between other directories works fine. Rdiff-backup was installed via the yum utility.

# rdiff-backup --force -v9 /root/rdiffbackup/ /backup
Thu Mar  1 12:19:11 2007  Unable to import module xattr.
Extended attributes not supported on filesystem at /root/rdiffbackup
Thu Mar  1 12:19:11 2007  Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /root/rdiffbackup
Thu Mar  1 12:19:11 2007  -----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Thu Mar  1 12:19:11 2007  Making directory /backup/rdiff-backup-data/rdiff-backup.tmp.1
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/foo
Thu Mar  1 12:19:11 2007  Deleting /backup/rdiff-backup-data/rdiff-backup.tmp.1/foo
Thu Mar  1 12:19:11 2007  Making directory /backup/rdiff-backup-data/rdiff-backup.tmp.1/hl
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/hardlinked_file1
Thu Mar  1 12:19:11 2007  Hard linking /backup/rdiff-backup-data/rdiff-backup.tmp.1/hl/hardlinked_file2 to /backup/rdiff-backup-data/rdiff-backup.tmp.1/hardlinked_file1
Thu Mar  1 12:19:11 2007  Warning: hard linking not supported by filesystem at /backup/rdiff-backup-data
Thu Mar  1 12:19:11 2007  Directories on file system at /backup/rdiff-backup-data/rdiff-backup.tmp.1 are not fsyncable.
Assuming it's unnecessary.
Thu Mar  1 12:19:11 2007  Unable to import module xattr.
Extended attributes not supported on filesystem at /backup/rdiff-backup-data/rdiff-backup.tmp.1
Thu Mar  1 12:19:11 2007  Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /backup/rdiff-backup-data/rdiff-backup.tmp.1
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/dir_inc_check
Thu Mar  1 12:19:11 2007  Deleting /backup/rdiff-backup-data/rdiff-backup.tmp.1/dir_inc_check
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/regfile
Thu Mar  1 12:19:11 2007  Deleting /backup/rdiff-backup-data/rdiff-backup.tmp.1/regfile
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/high_perms
Thu Mar  1 12:19:11 2007  Deleting /backup/rdiff-backup-data/rdiff-backup.tmp.1/high_perms
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/5-_ a.snapshot.gz
Thu Mar  1 12:19:11 2007  Deleting /backup/rdiff-backup-data/rdiff-backup.tmp.1/5-_ a.snapshot.gz
Thu Mar  1 12:19:11 2007  Touching /backup/rdiff-backup-data/rdiff-backup.tmp.1/A
Thu Mar  1 12:19:11 2007  Deleting /backup/rdiff-backup-data/rdiff-backup.tmp.1/a
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 285, in Main
    take_action(rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 255, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 296, in Backup
    backup_set_fs_globals(rpin, rpout)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 418, in backup_set_fs_globals
    dest_fsa = rpout.conn.fs_abilities.get_fsabilities_readwrite(
  File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 415, in get_fsabilities_readwrite
    return FSAbilities(desc_string).init_readwrite(
  File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 162, in init_readwrite
    if override_chars_to_quote is None: self.set_chars_to_quote(subdir)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 274, in set_chars_to_quote
    if is_case_sensitive():
  File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line 245, in is_case_sensitive
    assert not upper_a.lstat()
AssertionError

It appears that there is a problem with hard linking. Any help is greatly appreciated, thanks in advance. Adding the --no-hard-links flag doesn't change the output.

[1] http://www.buffalo-technology.com/products/product-detail.php?productid=146&categoryid=19
[2] Not real IP, username, or password
--
---------------------------------------------
P. Douglas Renfrew
Graduate Student
Molecular and Cellular Biophysics Program
Dept. Biochemistry and Biophysics
Unv. of North Carolina at Chapel Hill
---------------------------------------------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]