From: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
To: Piotr Szymaniak <szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.org>
Cc: dexen deVries
<dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: nilfs2 weird issue - snapshots are gone, cleanerd not running
Date: Tue, 10 Jul 2012 12:34:42 +0400 [thread overview]
Message-ID: <1341909282.1973.3.camel@slavad-ubuntu-11> (raw)
In-Reply-To: <20120710075131.GV1478@wloczykij>
Hi Piotr,
Could you send your output of "strace -f"? I guess that it is problem
with semaphore opening as I can see in my reproduction. But it needs to
compare our cases.
Thanks,
Vyacheslav Dubeyko.
On Tue, 2012-07-10 at 09:51 +0200, Piotr Szymaniak wrote:
> On Mon, Jul 09, 2012 at 11:33:13AM +0200, dexen deVries wrote:
> > On Monday 09 of July 2012 09:33:00 you wrote:
> > >(...)
> > > Where to go from this point? How to debug nilfs_cleanerd issue?
> >
> > using strace -f on the nilfs_cleanerd should give you a clue what causes the
> > exit. it may exit if can't connect to syslogd.
>
> Hi list,
>
> I will try to sort information from few messages together here.
>
> Attached strace output from my "nilfs_cleanerd" for rootfs. The script
> is in /etc/local.d (again, Gentoo Linux) and it looks like this (removed
> commented parts and empty lines):
> CONFILE="/etc/nilfs_cleanerd_rootfs.conf"
> TARGETDISK="/dev/disk/by-uuid/1aa9e6fb-cf7d-45bd-bbfb-08110a8840b7"
> /sbin/nilfs_cleanerd -c "${CONFILE}" "${TARGETDISK}"
>
> And here's the mentioned nilfs_cleanerd_rootfs.conf:
> protection_period 3600
> min_clean_segments 13%
> max_clean_segments 25%
> clean_check_interval 10
> selection_policy timestamp # timestamp in ascend order
> nsegments_per_clean 2
> mc_nsegments_per_clean 4
> cleaning_interval 5
> mc_cleaning_interval 1
> retry_interval 60
> use_mmap
> log_priority info
>
>
> > if `lscp' reports no checkpoints, try `lscp -a' -- should show even minor
> > checkpoints (which are checkpoints created by GC, AFAIK).
>
> That's right, lscp -a gives some more output:
> maszyn ~ # lscp -a | wc -l
> 1428
>
> Running nilfs_cleanerd with more verbose output (log_priority debug)
> gives me this:
> Jul 10 09:45:26 [nilfs_cleanerd] start
> Jul 10 09:45:26 [nilfs_cleanerd] cannot open nilfs on /dev/sda2: No such
> file or directory
> Jul 10 09:45:26 [nilfs_cleanerd] cannot create cleanerd on /dev/sda2: No
> such file or directory
> Jul 10 09:45:26 [nilfs_cleanerd] shutdown
>
>
> maszyn ~ # ll /dev/sda2
> brw-rw---- 1 root disk 8, 2 lip 10 2012 /dev/sda2
>
> maszyn ~ # ll /dev/disk/by-uuid/1aa9e6fb-cf7d-45bd-bbfb-08110a8840b7
> lrwxrwxrwx 1 root root 10 lip 10 2012
> /dev/disk/by-uuid/1aa9e6fb-cf7d-45bd-bbfb-08110a8840b7 -> ../../sda2
>
>
> Piotr Szymaniak.
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-07-10 8:34 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 7:33 nilfs2 weird issue - snapshots are gone, cleanerd not running Piotr Szymaniak
2012-07-09 9:28 ` Vyacheslav Dubeyko
2012-07-09 16:56 ` Piotr Szymaniak
2012-07-09 18:55 ` Vyacheslav Dubeyko
[not found] ` <51D5FCEA-7103-4D4A-BADA-99A9780D9B68-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
2012-07-10 1:53 ` Ryusuke Konishi
[not found] ` <20120710.105315.33988123.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2012-07-10 7:18 ` Vyacheslav Dubeyko
2012-07-10 8:51 ` Ryusuke Konishi
[not found] ` <20120710.175131.21311203.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2012-07-10 10:38 ` Vyacheslav Dubeyko
2012-07-10 11:09 ` Ryusuke Konishi
[not found] ` <20120710.200937.163315083.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2012-07-10 14:07 ` Piotr Szymaniak
2012-07-10 16:40 ` Ryusuke Konishi
[not found] ` <20120711.014049.157490457.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
2012-07-12 11:42 ` Piotr Szymaniak
2012-07-09 9:33 ` dexen deVries
2012-07-09 9:49 ` Vyacheslav Dubeyko
2012-07-10 7:51 ` Piotr Szymaniak
2012-07-10 8:34 ` Vyacheslav Dubeyko [this message]
2012-07-10 9:50 ` Piotr Szymaniak
2012-07-10 10:43 ` Vyacheslav Dubeyko
2012-07-10 9:52 ` Piotr Szymaniak
-- strict thread matches above, loose matches on Subject: below --
2012-07-09 10:31 Vyacheslav Dubeyko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1341909282.1973.3.camel@slavad-ubuntu-11 \
--to=slava-yeenwd64clxbdgjk7y7tuq@public.gmane.org \
--cc=dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).