Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278599 - sys-libs/gdbm "Block size error" with specific xfs mount option largeio and swidth
Summary: sys-libs/gdbm "Block size error" with specific xfs mount option largeio and s...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 18:06 UTC by andcycle-gentoo.bugs
Modified: 2011-09-19 04:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andcycle-gentoo.bugs 2009-07-21 18:06:33 UTC
it looks like the gdbm takes the wrong way to allocate file.
if xfs mount with largeio and swidth with 3 times of sunit,
gdbm cannot create db

Reproducible: Always

Steps to Reproduce:
here is the console output about how I produce this problem,
and have the error message

51G ~ # cd /tmp
51G tmp # dd if=/dev/zero of=empty count=1000000
51G tmp # mkfs.xfs empty
51G tmp # mkdir tt
51G tmp # mount -o loop -o defaults,largeio,sunit=8,swidth=24 empty tt/
51G tmp # cd tt
51G tt # python -c "import gdbm;gdbm.open('test.db', 'n')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
gdbm.error: Block size error
51G tt #

Actual Results:  
gdbm.error: Block size error

Expected Results:  
gdbm successful create the db