Bacula-users

[Bacula-users] [2.5b2 BUG?] backups fail when xattrsupport=yes set

2009-03-30 01:41:37
Subject: [Bacula-users] [2.5b2 BUG?] backups fail when xattrsupport=yes set
From: Craig Ringer <craig AT postnewspapers.com DOT au>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Mon, 30 Mar 2009 13:37:49 +0800
Hi

I have a reproducible failure when backing up a Linux client (running a
2.5b2 fd) with a 2.5b2 director/sd using the following FileSet:

FileSet {
  Name = AccessNtProfiles
  Include {
    Options {
      signature = MD5
      compression = gzip
      onefs = yes
      # Samba uses ACLs on these files
      aclsupport = yes
      # Needed because Samba stores hidden etc in user xattrs
      xattrsupport = yes
    }
    # TODO: excludes
    File = /ntprofiles
  }
}

The failure:

> 30-Mar 13:18 backup-sd JobId 419: Sending spooled attrs to the Director. 
> Despooling 1,610,833 bytes ...
> 30-Mar 13:16 access.localnet-fd JobId 419: Fatal error: backup.c:944 Network 
> send error to SD. ERR=Connection reset by peer
> 30-Mar 13:18 backup-dir JobId 419: Error: Bacula backup-dir 2.5.42-b2 
> (16Mar09): 30-Mar-2009 13:18:49

does not occur if I comment out "xattrsupport = yes" in the FileSet.

It affects both full and incremental backups.

I've attached the full director log of the failed backup, as well as a
log of the sd's stderr output taken with -d300 .

The only oddity that leaps out at me is:

> backup-sd: fd_cmds.c:160-419 <filed: 4946 3 /ntprofiles/greg/hdrive/PROPOSED 
> EMPLOYMENT RATES.docxbackup-sd: fd_cmds.c:173-419 <filed: Command not found: 
> 4946 3 /ntprofiles/greg/hdrive/PROPOSED EMPLOYMENT RATES.docx

For completeness, here are the attributes on the file mentioned:

> access:/ntprofiles/greg/hdrive# getfattr -d PROPOSED\ EMPLOYMENT\ RATES.docx 
> # file: PROPOSED\040EMPLOYMENT\040RATES.docx
> user.DOSATTRIB="0x20"
> 
> access:/ntprofiles/greg/hdrive# getfacl -d PROPOSED\ EMPLOYMENT\ RATES.docx 
> # file: PROPOSED\040EMPLOYMENT\040RATES.docx
> # owner: greg
> # group: users

Almost all the files in the /ntprofiles mount have the user.DOSATTRIB
attribute, and most have the value 0x20 for it (not that that should
matter).

In case it matters, the file system is:

> /dev/mapper/ACCESS-ntprofiles on /ntprofiles type ext3 
> (rw,noatime,acl,user_xattr)

IOW, a normal ext3 volume on top of LVM (not that that matters for
this), mounted with ACLs and user xattrs enabled.

--
Craig Ringer

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] [2.5b2 BUG?] backups fail when xattrsupport=yes set, Craig Ringer <=