[Bugs] [Bug 1156022] New: creating hardlinks with perl fails randomly

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 23 12:15:31 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1156022

            Bug ID: 1156022
           Summary: creating hardlinks with perl fails randomly
           Product: GlusterFS
           Version: 3.5.2
         Component: core
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: m.vernimmen at comparegroup.eu
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
While running BackupPC 3.3.0-2 on CentOS 6.5 where the data is stored on a
gluster mountpoint consisting of 2 nodes with 2 bricks each, in a distributed
setup, sometimes the creation of hardlinks fail.
When changing the perl 'link($from, $to)' style command to a shell command 'ln
$source $target', the links are created fine. Since the problem does not occur
when the data is stored on ext4, to me this seems like a problem of glusterfs.

Version-Release number of selected component (if applicable):
BackupPC-3.3.0-2.el6.x86_64
glusterfs-cli-3.5.2-1.el6.x86_64
glusterfs-api-3.5.2-1.el6.x86_64
glusterfs-server-3.5.2-1.el6.x86_64
glusterfs-libs-3.5.2-1.el6.x86_64
glusterfs-3.5.2-1.el6.x86_64
glusterfs-fuse-3.5.2-1.el6.x86_64

How reproducible:
run backuppc on a distributed gluster setup. possibly the same behaviour can be
reproduced by creating a random long list of hardlinks in a nested directory
structure.

Steps to Reproduce:
1. set up 2 gluster nodes
2. mount gluster as the storage location for backuppc
3. run a number of backups for a compressed pool

Actual results:
in /var/log/messages
Oct 23 13:12:32 md002 backuppc: 2014-10-23 13:12:27 BackupPC_link got error -3
when calling
MakeFileLink(/var/lib/BackupPC/pc/md001/587/f%2fexport/fopsview/fvar/frrd/fad008_fhlive02%252Ea/fCheck%2520Network%2520I%252FO%253A%2520bond0/ftxbitsec/fvalue.rrd,
926a46e5d8b938243c1bc55960115d2d, 1)
Oct 23 13:12:32 md002 backuppc: 2014-10-23 13:12:27 BackupPC_link got error -3
when calling
MakeFileLink(/var/lib/BackupPC/pc/md001/587/f%2fexport/fopsview/fvar/frrd/fad008_fhlive02%252Ea/fCheck%2520Network%2520I%252FO%253A%2520bond0/ftxbitsec/attrib,
7042031bf46ad1178cdbcc33684a87ab, 1)
Oct 23 13:12:32 md002 backuppc: 2014-10-23 13:12:27 BackupPC_link got error -3
when calling
MakeFileLink(/var/lib/BackupPC/pc/md001/587/f%2fexport/fopsview/fvar/frrd/fad008_fhlive02%252Ea/fCheck%2520Network%2520I%252FO%253A%2520eth2/frxbitsec/fvalue.rrd,
7739740ecf6d9ea7bc35b11fe3017dfa, 1)
Oct 23 13:12:32 md002 backuppc: 2014-10-23 13:12:27 BackupPC_link got error -3
when calling
MakeFileLink(/var/lib/BackupPC/pc/md001/587/f%2fexport/fopsview/fvar/frrd/fad008_fhlive02%252Ea/fCheck%2520Network%2520I%252FO%253A%2520eth2/frxbitsec/attrib,
22133a9045b317f7e3830383dc1f0ea8, 1)

Expected results:
no errors in /var/log/messages

Additional info:
I did not find any related information in the glusterfs logs. since I have now
a workaround implemented, the problem hopefully won't return.
I noticed the same hardlink would fail consistently to be made, while others
are created fine.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list