All of lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Szymaniak <szarpaj-TbOm9Ca2r9GrDJvtcaxF/A@public.gmane.org>
To: Vyacheslav Dubeyko <slava-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
Cc: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: nilfs_cleanerd cannot open nilfs on device that exists
Date: Wed, 12 Dec 2012 22:20:18 +0100	[thread overview]
Message-ID: <20121212212018.GH3064@wloczykij> (raw)
In-Reply-To: <7A92569A-D56B-45B0-9305-EBC2EDF90913-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>

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

On Wed, Dec 12, 2012 at 11:43:40PM +0300, Vyacheslav Dubeyko wrote:
> 
> On Dec 12, 2012, at 7:10 PM, Piotr Szymaniak wrote:
> 
> > On Wed, Dec 12, 2012 at 03:54:55PM +0100, Piotr Szymaniak wrote:
> >> On Wed, Dec 12, 2012 at 03:51:16PM +0100, Piotr Szymaniak wrote:
> >>> Hello,
> >>> 
> >>> I got a power failure today and after power restore there's a weird
> >>> issue with nilfs_cleanerd:
> >>> 
> >>> wloczykij ~ # ll /dev/sda3
> >>> brw-rw---- 1 root disk 8, 3 Dec 12 08:35 /dev/sda3
> >>> 
> >>> wloczykij ~ # mount | grep nilfs
> >>> /dev/root on / type nilfs2 (rw,relatime)
> >>> /dev/mapper/backup on /mnt/home_backup type nilfs2 (rw,gcpid=2995)
> >>> /dev/sda3 on / type nilfs2 (rw,noatime,nodiratime,gcpid=5333)
> >>> 
> >>> But when I try to run the cleaner:
> 
> Sorry, I slightly confused. As I understand, mount output shows that you have mounted /dev/sda3 with started nilfs_cleanerd (gcpid=5333). Why do you try to start nilfs_cleanerd by hands? Or I misunderstand something?

It's not running. I got similar message on boot:
Dec 12 08:35:23 wloczykij nilfs_cleanerd[1689]: start
Dec 12 08:35:23 wloczykij nilfs_cleanerd[1689]: cannot open nilfs on
/dev/sda3: No such file or directory
Dec 12 08:35:23 wloczykij nilfs_cleanerd[1689]: cannot create cleanerd
on /dev/sda3: No such file or directory
Dec 12 08:35:23 wloczykij nilfs_cleanerd[1689]: shutdown



> As I can see from strace, there is such error message:
> 
> futex(0xbff37f24, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, b7547940) = -1 EAGAIN (Resource temporarily unavailable)
> 
> I think that it is the reason of failing nilfs_cleanerd start.
> 
> Maybe, do you have working or failed nilfs_cleanerd for /dev/sda3 in background? Do you have any NILFS2-related messages in system log?

ps ax shows only one nilfs_cleanerd process (at different drive).


Piotr Szymaniak.
-- 
 Podejrzane!  No,  yhm!  Takem  sobie  pomyślał!  Jezus  jakby  się  o tym
zwiedział, toby wtrząchnął puszkę fasoli!
  -- Stephen King, "The Dark Half"

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

  parent reply	other threads:[~2012-12-12 21:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 14:51 nilfs_cleanerd cannot open nilfs on device that exists Piotr Szymaniak
2012-12-12 14:54 ` Piotr Szymaniak
2012-12-12 16:10   ` Piotr Szymaniak
2012-12-12 20:43     ` Vyacheslav Dubeyko
     [not found]       ` <7A92569A-D56B-45B0-9305-EBC2EDF90913-yeENwD64cLxBDgjK7y7TUQ@public.gmane.org>
2012-12-12 21:20         ` Piotr Szymaniak [this message]
     [not found]           ` <CAB7xdinBgjcLuKL6+Ydtz1mADDGv1kbw+wZ1Y=hOO1VF++iS1A@mail.gmail.com>
     [not found]             ` <CAB7xdinBgjcLuKL6+Ydtz1mADDGv1kbw+wZ1Y=hOO1VF++iS1A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-03 10:44               ` Vyacheslav Dubeyko
2012-12-12 22:28 ` Piotr Szymaniak

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=20121212212018.GH3064@wloczykij \
    --to=szarpaj-tbom9ca2r9grdjvtcaxf/a@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 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.