On Fri, 16 Mar 2012 07:21:39 -0700 (PDT), Sven-Göran_Bergh wrote:
> Hi dexen,
> 
> thank you for a prompt reply.
> 
> 
> 
> >>  I am in the process of migrating an embedded project from
> >>  ext2 to nilfs2 and have a problem with nilfs_cleanerd. It
> >>  does not start on mount and I cannot start it manually.
> >>  (...)
> > 
> > Relevant snippet from strace of my nilfs_cleanerd (version nilfs-
> > utils-2.0.23):
> ...
> > 864   statfs("/dev/shm", {f_type=0x1021994, f_bsize=4096, 
> > f_blocks=86016, 
> > f_bfree=86010, f_bavail=86010, f_files=754077, f_ffree=754075, f_fsid={0, 
> > 0}, 
> > f_namelen=255, f_frsize=4096}
> > ) = 0
> > 864   futex(0x7f551010d31c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
> > 864   open("/dev/shm/sem.nilfs-cleaner-2067", O_RDWR|O_NOFOLLOW) = -1 
> > ENOENT 
> > (No such file or directory)
> > 864   lstat("/dev/shm/sem.qLTneb", 0x7fffff54fb70) = -1 ENOENT (No 
> > such file or 
> > directory)
> > 864   open("/dev/shm/sem.qLTneb", O_RDWR|O_CREAT|O_EXCL, 0700) = 6
> 
> Hmmm, quite different.

Could you confirm whether /dev/shm is mounted on /run/shm (or
/var/run/shm) ?

Some systems don't mount /dev/shm, and posix semaphores do not work in
such systems.


Regards,
Ryusuke Konishi
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to