Re: nilfs_cleanerd cannot open nilfs on device that exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux