Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QDB error: (4 Items)
   
QDB error  
Hi,

I have used cifs to mount the windows shared directory on the "/". Then created "/db" directory for the QDB.
I am geting disk io error.

 # qdb -c /db/qdb.cfg -v -Otempstore=/fs/tmpfs -Rset
qdb: processing [mme_library]/db/mme_library.sql - disk I/O error

I tried with "/tmp/mme_library.sql" and /tmp/mme_library". I am getting the same error.

I tried before on some other board where Nand flash was there. It works there.

Any idea what is the issue?
Is it that it can't work with CIFS file system?

- Venkat 
Re: QDB error  
On Mon, 1 Jun 2009, Venkatarao Patnaik Balivada wrote:

>Hi,
>
>I have used cifs to mount the windows shared directory on the "/". Then created "/db" directory for the QDB.
>I am geting disk io error.

This should probably be extended to include cifs as well:

Database directory

The QDB database directory can be on any QNX or POSIX filesystem with
read/write access (including memory-based filesystems, such as tmp-fs). QDB
can run from QNX filesystems visible via Qnet, but can not run from an NFS
filesystem.


Peter

>
> # qdb -c /db/qdb.cfg -v -Otempstore=/fs/tmpfs -Rset
>qdb: processing [mme_library]/db/mme_library.sql - disk I/O error
>
>I tried with "/tmp/mme_library.sql" and /tmp/mme_library". I am getting
>the same error.
>
>I tried before on some other board where Nand flash was there. It works
>there.
>
>Any idea what is the issue?
>Is it that it can't work with CIFS file system?
>
>- Venkat
>
>_______________________________________________
>General
>http://community.qnx.com/sf/go/post30423
>
>
Re: QDB error  
Thanks Peter. Earlier I tried /dev/shmem, it didn't work. It works with tmpfs!
Re: QDB error  
On Tue, 2 Jun 2009, Venkatarao Patnaik Balivada wrote:

>Thanks Peter. Earlier I tried /dev/shmem, it didn't work. It works with tmpfs!

Glad to help. We updated the docs to explictly mention cifs as well as nfs
now as a location that can't be used for the database.

The docs should already cover /dev/shmem not working.

Peter

>
>_______________________________________________
>General
>http://community.qnx.com/sf/go/post30496
>
>