[email protected] wrote: > Full_Name: Jason Aten > Version: LMDB 0.9.14 > OS: ubuntu 12.04 / amd64 > URL: > Submission from: (NULL) (2001:4807:2:104:d959:722c:ad90:ee70) > > > > There may have been version skew, because the mdb_load command does not > understand the output of the mdb_dump command. See the following error in the > context below.
Works as designed. This message is not an error, otherwise the situation would not be "ignored." > "mdb_load: line 6: unrecognized keyword ignored: db_pagesize" The mdb_dump format is a copy of BDB's db_dump format, which needs the db_pagesize. Closing this ITS. > > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ mdb_stat > var/lmdb_data > Status of Main DB > Tree depth: 1 > Branch pages: 0 > Leaf pages: 1 > Overflow pages: 0 > Entries: 1 > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ mdb_stat -V > var/lmdb_data > LMDB 0.9.14: (September 15, 2014) > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ which > mdb_stat > /usr/local/bin/mdb_stat > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ ls -al > `which > mdb_stat` > -rwxr-xr-x 1 root root 275324 Sep 18 03:17 /usr/local/bin/mdb_stat > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ mdb_dump > var/lmdb_data/ > VERSION=3 > format=bytevalue > type=btree > mapsize=20971520 > maxreaders=126Ûdb_pagesize=4096 > HEADER=END > 00016d796b6579 > 6a61736f6e207761732068657265 > DATA=END > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ mdb_dump > var/lmdb_data/ | mdb_load > usage: mdb_load dbpath [-V] [-f input] [-n] [-s name] [-N] [-T] > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ mdb_dump > var/lmdb_data/ | mdb_load var/lmdb_data > mdb_load: line 6: unrecognized keyword ignored: db_pagesize > jaten@cutlass01:~/go/src/github.com/siddontang/ledisdb/store/mdb$ > > -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
