linux-nilfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Piotr Szymaniak <szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.org>
To: Ryusuke Konishi
	<konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>
Cc: Vyacheslav Dubeyko
	<slava-yeENwD64cLxBDgjK7y7TUQ@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 16:07:11 +0200	[thread overview]
Message-ID: <20120710140711.GY1478@wloczykij> (raw)
In-Reply-To: <20120710.200937.163315083.konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]

On Tue, Jul 10, 2012 at 08:09:37PM +0900, Ryusuke Konishi wrote:
> On Tue, 10 Jul 2012 14:38:55 +0400, Vyacheslav Dubeyko wrote:
> > I think after analysis of strace output that Piotr Szymaniak has the
> > same problem. But maybe I wrong. 
> 
> According to the log, his problem looks different.
> 
> cleanerd fails with ENOENT error (No such file or directory)
> if it couldn't find the given device in /proc/mounts.
> 
> His /proc/mounts looks:
> 
> rootfs / rootfs rw 0 0
> /dev/root / nilfs2 rw 0 0
> ..
> 
> And, the strace log shows that /dev/root didn't exist.
> 
> I guess the problem would be fixed if a proper symbolic link pointing
> to the real device is created as /dev/root.

Yes, it seems so. Just after I wrote my amateur strace analysis I tried
to fix it by hand. Made a symlink from /dev/root to /dev/sda2 and
remounted /. nilfs_cleanerd started fine.

But why is it failing on /dev/root anyway? It's started with
/dev/disk/by-uuid/uuid pointing to a proper device (sda2). Do we really
need /dev/root?

Also, maybe there's a reason to remove /dev/root? I will try later with
some older udev to see if it is created.


Piotr Szymaniak.
-- 
<kow`> "There are 10 types of people in the world... those who
understand binary and those who don't."
<SpaceRain> That's only 2 types of people, kow.
<SpaceRain> STUPID
  -- bash.org

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2012-07-10 14:07 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 [this message]
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
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=20120710140711.GY1478@wloczykij \
    --to=szarpaj-tbom9ca2r9grdjvtcaxf/a@public.gmane.org \
    --cc=konishi.ryusuke-Zyj7fXuS5i5L9jVzuh4AOg@public.gmane.org \
    --cc=linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=slava-yeENwD64cLxBDgjK7y7TUQ@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).