Bugzilla – Bug 113406
database version mismatch in open-iscsi
Last modified: 2005-09-08 08:02:07 UTC
There seems to be a mismatch regarding the database version. It can't read the database files it just created: linux:~ # rm /var/db/iscsi/* linux:~ # openiscsiadm -m discovery --type=sendtargets --portal=137.65.59.163:3260 [0d5ab0] 137.65.59.163:3260,1 iqn.2002-10.edu.unh.iol.iscsi.draft20-target:0 [00e1b0] 137.65.59.163:860,1 iqn.2002-10.edu.unh.iol.iscsi.draft20-target:0 linux:~ # ls -l /var/db/iscsi/ total 64 drwxr-xr-x 2 root root 104 Aug 26 12:07 . drwxr-xr-x 3 root root 72 Aug 26 11:05 .. -rw-r--r-- 1 root root 16384 Aug 26 12:07 discovery.db -rw-r--r-- 1 root root 53248 Aug 26 12:07 node.db linux:~ # openiscsiadm -m discovery iscsiadm: idbm: dbversion mismatch: 0.2 != 0.3: expecting v.0.3, exiting... iscsiadm: Sorry! We are currently do not support an upgrade option.
As of version 0.3rc6-4, and configuring things via /etc/sysconfig, I still see a similar problem when I do "iscsiadm -m discovery".
Works with the latest version (RC1). I've checked in a new version for RC2 (with the latest fixes from open-iscsi svn); you might want to wait for that.