[NILFS users] nilfs_cleanerd shutdown
ryusuke at osrg.net
Tue Jun 23 10:53:11 JST 2009
On Mon, 22 Jun 2009 14:09:39 -0700 (PDT), shiva onassis wrote:
> Hello and thank you for your answer
> --- On Mon, 6/22/09, Jiro SEKIBA <jir at unicus.jp> wrote:
> > The recent patch against nilfs-utils works find for me and
> > cleanerd now
> > automaticaly starats when mount the nilfs partition.
> > It would be worth
> > for you to apply it.
> If the patch is in the git I'll wait for the next version. I'm on archlinux, switching to another version is easy for me, but I don't know how to make a package with git-sources.
> If the patch is already in 2.0.13, it still does not work for me.
The patch is already in 2.0.13.
> Jun 22 22:47:57 localhost nilfs_cleanerd: start
> Jun 22 22:47:57 localhost nilfs_cleanerd: cannot open nilfs on /dev/mapper/system-root: Invalid argument
The partition was mounted with a read-write mount. Is this right?
Cleanerd cannot operates on the read-only mount.
> But maybe it's just how I do things:
> At system start for some reason there is no /etc/mtab. So I do a remount of / after all the others init scripts as a workaround. Only after the remount I see the volume mounted.
> mount -t nilfs2 -o remount,rw /dev/mapper/system-root /
> kind regards.
Ah, it might be due to lack of /proc mount.
The clearner daemon does not see /etc/mtab, instead it scans
/proc/mounts. The nilfs library function looks to fail if the
/proc/mounts is not there.
More information about the users