|
From: Michal L. <mi...@lo...> - 2007-04-15 22:06:54
|
Tony Shadwick wrote:
> K, I feel like I'm not making progress here. :( With log debugging on,
> here's what happens when I go to run mkdir testdir:
>
> 2007-04-14 11:09:21 1338 mysqlfs_getattr("/testdir")
> 2007-04-14 11:09:21 1338 sql=SELECT t1.inode, t1.name, t1.parent,
> (SELECT COUNT(inode) FROM tree AS t2 WHERE t2.inode=t1.inode)
> AS nlinks FROM tree AS t0 LEFT JOIN tree AS t1 ON t0.inode =
> t1.parent WHERE t0.parent IS NULL AND t1.name = 'testdir'
> 2007-04-14 11:09:21 1338 mysqlfs_mkdir("/testdir", 040755)
> 2007-04-14 11:09:21 1338 sql=SELECT t1.inode, t1.name, t1.parent,
> (SELECT COUNT(inode) FROM tree AS t2 WHERE t2.inode=t1.inode)
> AS nlinks FROM tree AS t0 LEFT JOIN tree AS t1 ON t0.inode =
> t1.parent WHERE t0.parent IS NULL AND t1.name = 'testdir'
>
> and touch testfile
>
> 2007-04-14 11:11:29 1338 mysqlfs_getattr("/testfile")
> 2007-04-14 11:11:29 1338 sql=SELECT t1.inode, t1.name, t1.parent,
> (SELECT COUNT(inode) FROM tree AS t2 WHERE t2.inode=t1.inode)
> AS nlinks FROM tree AS t0 LEFT JOIN tree AS t1 ON t0.inode =
> t1.parent WHERE t0.parent IS NULL AND t1.name = 'testfile'
> 2007-04-14 11:11:29 1338 mysqlfs_getattr("/testfile")
> 2007-04-14 11:11:29 1338 sql=SELECT t1.inode, t1.name, t1.parent,
> (SELECT COUNT(inode) FROM tree AS t2 WHERE t2.inode=t1.inode)
> AS nlinks FROM tree AS t0 LEFT JOIN tree AS t1 ON t0.inode =
> t1.parent WHERE t0.parent IS NULL AND t1.name = 'testfile'
> 2007-04-14 11:11:29 1338 mysqlfs_mknod("/testfile", 100644): file
> 2007-04-14 11:11:29 1338 sql=SELECT t1.inode, t1.name, t1.parent,
> (SELECT COUNT(inode) FROM tree AS t2 WHERE t2.inode=t1.inode)
> AS nlinks FROM tree AS t0 LEFT JOIN tree AS t1 ON t0.inode =
> t1.parent WHERE t0.parent IS NULL AND t1.name = 'testfile'
>
> The console responds the same both ways - no such file or directory.
It doesn't do any INSERTs - weird. Have you imported the DB schema into
database 'mysqlfs'? Does user 'mysqlfs' have enough rights to read/write it?
Michal
|