SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Error message with Extended Attributes
Author Message
Post Error message with Extended Attributes 
Hi All

Odd error as can be seen by the output below. Is it just me being stupid
(again!) or what :-)

Any help/pointers appreciated.

Basically rdiff-backup is reporting different EA abilities for the same
filesystem..........I run a test from one local directory to another and
this is what I get. This was first detected in a test from to a remote
host. Seems to be the same on a local filesystem.

Cheers

Paul C

# rdiff-backup -V
rdiff-backup 1.0.0

# mount
/dev/md/2 on / type ext3 (rw,noatime,acl)

# rdiff-backup -v 4 /tmp/backup /tmp/backup1
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Access control lists On
Extended attributes On
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Warning: ownership cannot be changed on filesystem at
/tmp/backup1/rdiff-backup-data
Extended attributes not supported by filesystem at
/tmp/backup1/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
Characters needing quoting ''
Ownership changing Off
Hard linking On
fsync() directories On
Directory inc permissions On
Access control lists On
Extended attributes Off
Mac OS X style resource forks Off
Mac OS X Finder information Off
-----------------------------------------------------------------
Starting increment operation /tmp/backup to /tmp/backup1

Post Error message with Extended Attributes 
Paul Cuttriss <paul < at > propugn.co.uk>
wrote the following on Wed, 24 Aug 2005 18:33:59 +0100

Basically rdiff-backup is reporting different EA abilities for the
same filesystem..........I run a test from one local directory to
another and this is what I get. This was first detected in a test
from to a remote host. Seems to be the same on a local filesystem.
...
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Extended attributes On
...
Detected abilities for destination (read/write) file system:
Extended attributes Off

rdiff-backup checks to see if it can read and write EAs on the
destination filesystem, but only tries to list one on the source.
Here is the relevant code:

xattr.listxattr(rp.path)
if write:
xattr.setxattr(rp.path, "user.test", "test val")
assert xattr.getxattr(rp.path, "user.test") == "test val"

So if you want to see what is going on you could try testing xattr's
listxattr, setxattr, and getxattr from the python interpreter.


--
Ben Escoto

Post Error message with Extended Attributes 
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
Extended attributes On
...
Detected abilities for destination (read/write) file system:
Extended attributes Off

rdiff-backup checks to see if it can read and write EAs on the
destination filesystem, but only tries to list one on the source.
Here is the relevant code:


So if you want to see what is going on you could try testing xattr's
listxattr, setxattr, and getxattr from the python interpreter.


On the nail Ben

I had the filesystem mounted with the acl option, but not the user_xattr option.

Once I remounted the filesystem with 'all' the necessary options it worked a treat.
/dev/mapper/vg-backup on /backup type ext3 (rw,noatime,acl,user_xattr)

Thanks

Paul C

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB