All of lore.kernel.org
 help / color / mirror / Atom feed
* nilfs_cleanerd on root partition
@ 2009-06-20 21:19 James Erickson
       [not found] ` <20090620211939.GA5937-SsamVeerapxB2jdCq39ADS3k8SM3+oTIrE5yTffgRl4@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: James Erickson @ 2009-06-20 21:19 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg

i am new to nilfs2 so i am sorry to ask such a simple question. how do i
get nilfs_cleanerd to run on my root partition? my disk is a 64 GB intel
ssd and it is completely full of checkpoints. my system is originally 4
GB in size. it is gentoo amd64 running linux-2.6.30-gentoo-r1. it has
nilfs2 support compiled in the kernel, not as a module. i thought that
nilfs_cleanerd would run when the root patition is mounted but i guess i
was wrong. i will gladly post any requested data. thank you for any help
you can offer in this matter.

^ permalink raw reply	[flat|nested] 14+ messages in thread
* nilfs_cleanerd shutdown
@ 2009-06-21 19:10 sh1v4_0h-/E1597aS9LQAvxtiuMwx3w
       [not found] ` <280074.80083.qm-klR48C3JjEDrNpU5RS+xBlZ8N9CAUha/QQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: sh1v4_0h-/E1597aS9LQAvxtiuMwx3w @ 2009-06-21 19:10 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg


When I mount nilfs filesystems, nilfs_cleanerd does something like this:

Jun 21 19:44:06 localhost mount.nilfs2: WARNING! - The NILFS on-disk format may change at any time.
Jun 21 19:44:06 localhost mount.nilfs2: WARNING! - Do not place critical data on a NILFS filesystem.
Jun 21 19:44:07 localhost nilfs_cleanerd[4120]: start
Jun 21 19:44:07 localhost nilfs_cleanerd[4120]: cannot create cleanerd on /dev/mapper/system-root
Jun 21 19:44:07 localhost nilfs_cleanerd[4120]: shutdown


but if I run 'nilfs_cleanerd' without any arguments as root everything works just fine and nilfs_cleanerd seems to find the mounted device automatically and frees space on it:

Jun 21 20:27:50 localhost nilfs_cleanerd[7704]: start

Is there someting I can do so nilfs_cleanerd will work with mount.nilfs2?

^ permalink raw reply	[flat|nested] 14+ messages in thread
* nilfs_cleanerd won't run on root
@ 2009-11-05 17:41 Andrew Benton
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew Benton @ 2009-11-05 17:41 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-11-06 12:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-20 21:19 nilfs_cleanerd on root partition James Erickson
     [not found] ` <20090620211939.GA5937-SsamVeerapxB2jdCq39ADS3k8SM3+oTIrE5yTffgRl4@public.gmane.org>
2009-06-21  9:39   ` Ryusuke Konishi
     [not found]     ` <20090621.183937.71761103.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-06-21 13:44       ` Sami Liedes
     [not found]         ` <20090621134418.GA4836-7bsdmvTMBDzHOG6cAo2yLw@public.gmane.org>
2009-06-21 14:02           ` Sami Liedes
     [not found]             ` <20090621140234.GB4836-7bsdmvTMBDzHOG6cAo2yLw@public.gmane.org>
2009-06-21 14:37               ` Sami Liedes
     [not found]                 ` <20090621143708.GC4836-7bsdmvTMBDzHOG6cAo2yLw@public.gmane.org>
2009-06-21 16:05                   ` Ryusuke Konishi
     [not found]                     ` <20090622.010510.133415216.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-06-21 18:00                       ` Ryusuke Konishi
2009-11-06  5:41                   ` nilfs_cleanerd won't run on root Jiro SEKIBA
     [not found]                     ` <87639oqkfb.wl%jir-27yqGEOhnJbQT0dZR+AlfA@public.gmane.org>
2009-11-06 11:43                       ` Andrew Benton
2009-11-06 12:17                       ` Andrew Benton
  -- strict thread matches above, loose matches on Subject: below --
2009-06-21 19:10 nilfs_cleanerd shutdown sh1v4_0h-/E1597aS9LQAvxtiuMwx3w
     [not found] ` <280074.80083.qm-klR48C3JjEDrNpU5RS+xBlZ8N9CAUha/QQ4Iyu8u01E@public.gmane.org>
     [not found]   ` <20090622.030037.34127637.ryusuke-sG5X7nlA6pw@public.gmane.org>
2009-06-22  1:01     ` Jiro SEKIBA
2009-06-22  1:09     ` nilfs_cleanerd on root partition Jiro SEKIBA
2009-11-05 17:41 nilfs_cleanerd won't run on root Andrew Benton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.