[chord] Can't insert folder - DHASH_ERR

Alex Buie abuie at kwdservices.com
Mon Jan 23 02:03:03 EST 2012


I'm trying to set up CFS, and I keep running into an issue where I
can't insert a filesystem. All of the data blocks are successfully
inserted, but then the final one causes a DHASH_ERR state.

root at wcd:~/sfsnet/sfsrodb# ./sfsrodb -d /root/files -s
/root/sfs-fdabek/what_cfs_key -v
export directory : /root/files
SK keyfile       : /root/sfs-fdabek/what_cfs_key
sfsrodb: 0, sec/1k 0
sfsrodb: Database good from:
 Mon Jan 23 01:59:00 2012
until:
 Tue Jan 24 01:59:00 2012
sfsrodb: exported file system under 391a90148ece7e7562b2bd5c3fb48377864edbaa
sfsrodb: identical blocks:   0
sfsrodb: identical sindirs:  0
sfsrodb: identical dindirs:  0
sfsrodb: identical tindirs:  0
sfsrodb: identical dirs:     0
sfsrodb: identical inodes:   0
sfsrodb: identical symlinks: 0
sfsrodb: Database contents:
sfsrodb: Regular inodes:      2
sfsrodb: Symlink inodes:      0
sfsrodb: Directory blocks     1
sfsrodb: File data blocks:    640
sfsrodb: Single indir blocks: 3
sfsrodb: Double indir blocks: 1
sfsrodb: Triple indir blocks: 0
sfsrodb: identical fh's overall : 0
sfsrodb: unique fh's overall    : 647


sfsrodb: dhashclient::insert failed (2):
391a90148ece7e7562b2bd5c3fb48377864edbaa: DHASH_ERR
sfsrodb: Could not store block 391a90148ece7e7562b2bd5c3fb48377864edbaa
root at wcd:~/sfsnet/sfsrodb#



Here's the output from the log file:
[snip about 500 "fragment/block store ok lines]
1327297770.370585 dhashcli: fragment/block store ok:
2059260f62d8f4cffa4f50d854a31035212572fe fragment 0/3 at
4a4e11b69e75f47
3fd215ea4610aafcba80e7cdf
1327297770.370736 dhashcli: fragment/block store ok:
2059260f62d8f4cffa4f50d854a31035212572fe fragment 1/3 at
7ea38719be5ab71
d72d6365bc29af181bbe5778b
1327297770.370871 dhashcli: fragment/block store ok:
2059260f62d8f4cffa4f50d854a31035212572fe fragment 2/3 at
83b44ea3144b36f
a471e5763e9e959a32df483dd
1327297770.388984 dhashcli: fragment/block store failed:
391a90148ece7e7562b2bd5c3fb48377864edbaa fragment 0/5: DHASH_STALE
1327297770.389930 dhashcli: fragment/block store failed:
391a90148ece7e7562b2bd5c3fb48377864edbaa fragment 2/5: DHASH_RETRY
1327297770.390125 dhashcli: fragment/block store failed:
391a90148ece7e7562b2bd5c3fb48377864edbaa fragment 1/5: DHASH_RETRY
1327297770.390189 dhashcli: fragment/block store failed:
391a90148ece7e7562b2bd5c3fb48377864edbaa fragment 4/5: DHASH_RETRY
1327297770.390304 dhashcli: fragment/block store failed:
391a90148ece7e7562b2bd5c3fb48377864edbaa fragment 3/5: DHASH_RETRY
1327297770.390330 dhashcli: e2bc61b00b22ad98df1f916b69e35b5236d909e5:
store (391a90148ece7e7562b2bd5c3fb48377864edbaa): only
stored 0 of 5 encoded.
1327297770.390347 dhashcli: e2bc61b00b22ad98df1f916b69e35b5236d909e5:
store (391a90148ece7e7562b2bd5c3fb48377864edbaa): faile
d; insufficient frags/blocks stored.


If you have any ideas as to how to fix this, they're much appreciated.

--
Alex Buie
Network Coordinator / Server Engineer
KWD Services, Inc
Media and Hosting Solutions
+1(703)445-3391
+1(480)253-9640
+1(703)919-8090
abuie at kwdservices.com
ज़रा



More information about the chord mailing list