Bug 763081 (GLUSTER-1349) - dotfiles do not get distributed evenly
Summary: dotfiles do not get distributed evenly
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-1349
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.0.5
Hardware: All
OS: All
medium
medium
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-12 22:16 UTC by Vikas Gorur
Modified: 2015-09-01 23:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Vikas Gorur 2010-08-12 22:16:50 UTC
Files whose names begin with a dot (".foo") do not get distributed among the subvolumes. All of them end up on the same subvolume.

This happens with any distribute setup. My test environment is:

4-subvolume distribute over storage/posix

# cd /mnt
# mkdir dot nodot

# cd nodot
# for i in {1..64}; do touch file.$i; done

This created files on the four subvolumes:

subvol 1: 19
subvol 2: 14
subvol 3: 14
subvol 4: 17

# cd dot
# for i in {1..64}; do touch .file.$i; done

subvol 1: 64
subvol 2: 0
subvol 3: 0
subvol 4: 0

This is 100% reproducible. min-free-disk is not a factor. There is ample disk space available, and all four subvolumes reside on the same disk.

Comment 1 Anand Avati 2010-08-13 03:28:57 UTC
This is a feature, not a bug.

See dht-hashfn.c:55:#define MAKE_RSYNC_FRIENDLY_NAME ...


Note You need to log in before you can comment on or make changes to this bug.