Skip to contentSkip to conversation

nilfs_cleanerd shutdown

DISCUSSION shiva onassis 2 participants 2 messages Jun 22, 2009 – Jun 23, 2009 1 message not in the archive NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

Hello and thank you for your answer

--- On Mon, 6/22/09, Jiro SEKIBA <[email protected]> wrote:
[...]

Quoted 5 lines

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.

Jun 22 22:47:57 localhost nilfs_cleanerd[4242]: start
Jun 22 22:47:57 localhost nilfs_cleanerd[4242]: cannot open nilfs on /dev/mapper/system-root: Invalid argument

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.

#2 lore raw
In reply to a message not in the archive

Hi,

Quoted 11 lines · shiva onassis

Hello and thank you for your answer

--- On Mon, 6/22/09, Jiro SEKIBA <[email protected]> wrote:
[...]

Quoted 5 lines

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.

Quoted 3 lines

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.

Quoted 2 lines
Jun 22 22:47:57 localhost nilfs_cleanerd[4242]: start
Jun 22 22:47:57 localhost nilfs_cleanerd[4242]: 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.

Quoted 6 lines

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.

Cheers,
Ryusuke Konishi