From: Jiro SEKIBA Subject: Re: nilfs_cleanerd won't run on root Date: Fri, 06 Nov 2009 14:41:44 +0900 Message-ID: <87639oqkfb.wl%jir@sekiba.com> References: <4AF30E2C.1030104@gmail.com> Reply-To: NILFS Users mailing list Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4AF30E2C.1030104-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> <20090621143708.GC4836-7bsdmvTMBDzHOG6cAo2yLw@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: NILFS Users mailing list Hi, Andrew Which distribution are you using? What version of kernel and nilfs module are in the distro? How is your /proc/mounts like? It looks like you are using a bit older version. Older version of nilfs2-utils had the similar problem, but latest version would not have the issue. regards, -- Jiro SEKIBA At Thu, 05 Nov 2009 17:41:00 +0000, Andrew Benton wrote: > > Hello world, > I've installed linux on a 10gb nilfs2 root partition /dev/sda2. When I > boot into it nilfs_cleanerd won't run > > root:/home/andy# ps aux | grep nilfs_cleanerd > root 1497 0.0 0.0 5456 592 pts/0 S+ 17:18 0:00 grep nilfs_cleanerd > > If I start nilfs_cleanerd with a command it quits with no error message > at the command prompt but it leaves this in the system log > > Nov 5 17:18:05 eccles nilfs_cleanerd[1495]: start > Nov 5 17:18:05 eccles nilfs_cleanerd[1495]: cannot open nilfs on (null): No such file or directory > Nov 5 17:18:05 eccles nilfs_cleanerd[1495]: cannot create cleanerd on (null): No such file or directory > Nov 5 17:18:05 eccles nilfs_cleanerd[1495]: shutdown > > If I pass it different options the only thing that changes is the error it dumps in the system log > > root:/home/andy# nilfs_cleanerd / > > Nov 5 17:19:02 eccles nilfs_cleanerd[1503]: start > Nov 5 17:19:02 eccles nilfs_cleanerd[1503]: cannot open nilfs on /: Inappropriate ioctl for device > Nov 5 17:19:02 eccles nilfs_cleanerd[1503]: cannot create cleanerd on /: Inappropriate ioctl for device > Nov 5 17:19:02 eccles nilfs_cleanerd[1503]: shutdown > > root:/home/andy# nilfs_cleanerd /dev/sda2 > > Nov 5 17:19:26 eccles nilfs_cleanerd[1505]: start > Nov 5 17:19:26 eccles nilfs_cleanerd[1505]: cannot open nilfs on /dev/sda2: No such file or directory > Nov 5 17:19:26 eccles nilfs_cleanerd[1505]: cannot create cleanerd on /dev/sda2: No such file or directory > Nov 5 17:19:26 eccles nilfs_cleanerd[1505]: shutdown > > root:/home/andy# cat /etc/mtab > /dev/sda2 / nilfs2 rw,gcpid=1292 0 0 > proc /proc proc rw 0 0 > sysfs /sys sysfs rw 0 0 > devpts /dev/pts devpts rw,gid=4,mode=620 0 0 > shm /dev/shm tmpfs rw 0 0 > /dev/sda1 /mnt/windows ntfs rw,umask=0 0 0 > /dev/sda7 /home reiserfs rw 0 0 > /dev/sda3 /mnt/lfs btrfs rw 0 0 > > The only way I can get garbage collection to run is if I reboot into > a different partition and mount it from there. > > Andrew Benton > _______________________________________________ > users mailing list > users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org > https://www.nilfs.org/mailman/listinfo/users > > >