All of lore.kernel.org
 help / color / mirror / Atom feed
* nilfs_cleanerd from nilfs-utils shutdown on version 2.0 and 2.1 does not fail but says nothing and does not clean the old checkpoints nor newer (actually older) ones.
@ 2011-12-03  0:33 Zahid Chowdhury
       [not found] ` <053D39D3D76C474EB2D2A284AA6BA3181F26A4F05D-ZjuI7xOJlFPnaE3xbIMyWkCiaQ3SRT3KFkJ40O1dFu8@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Zahid Chowdhury @ 2011-12-03  0:33 UTC (permalink / raw)
  To: linux-nilfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hello,
  If I move the system date forward, have some checkpoints created and then move the date backward a 2.0 cleanerd daemon fails on this error:
    Nov 30 14:39:37 nilfs_cleanerd[5789]: start
    Nov 30 14:39:38 kernel: nilfs_ioctl_move_inode_block: conflicting data             
        buffer: ino=4, cno=0, offset=0, blocknr=665655, vblocknr=566462
    Nov 30 14:39:38 kernel: NILFS: GC failed during preparation: cannot read 
        source blocks: err=-17
    Nov 30 14:39:38 nilfs_cleanerd[5789]: cannot clean segments: File exists
    Nov 30 14:39:38 nilfs_cleanerd[5789]: shutdown

I cannot ever start up the daemon. If I move to a 2.1 daemon, then it logs no errors, but it cleans no old or newer (really older) checkpoints - it just sits in a do-nothing mode (strace(1) shows he is hung on a mq_timedreceive syscall).

On one date change I did receive this message from the 2.0 daemon (the 2.1 daemon never says anything):
    Nov 30 13:45:30 nilfs_cleanerd[1642]: protection time rewinded: old
      period >= 1322747210, new period >= 1322689515

The fix around this is to umount the nilfs partition, move the date to after the lscp(1) future checkpoints, mount nilfs with the cleanerd, get the checkpoints cleaned up, umount nilfs, move the date back, and then mount nilfs.

Has anybody seen this error or are there any other workarounds to this error. Thanks a lot.

Zahid


--
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

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

end of thread, other threads:[~2011-12-09 22:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-03  0:33 nilfs_cleanerd from nilfs-utils shutdown on version 2.0 and 2.1 does not fail but says nothing and does not clean the old checkpoints nor newer (actually older) ones Zahid Chowdhury
     [not found] ` <053D39D3D76C474EB2D2A284AA6BA3181F26A4F05D-ZjuI7xOJlFPnaE3xbIMyWkCiaQ3SRT3KFkJ40O1dFu8@public.gmane.org>
2011-12-03 12:34   ` dexen deVries
     [not found]     ` <201112031334.30221.dexen.devries-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-12-05 19:05       ` Zahid Chowdhury
2011-12-04 14:56   ` Ryusuke Konishi
     [not found]     ` <20111204.235640.258486441.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-12-04 17:26       ` Ryusuke Konishi
2011-12-05 22:15       ` Zahid Chowdhury
     [not found]         ` <053D39D3D76C474EB2D2A284AA6BA3181F26A4F1F5-ZjuI7xOJlFPnaE3xbIMyWkCiaQ3SRT3KFkJ40O1dFu8@public.gmane.org>
2011-12-08  1:43           ` Zahid Chowdhury
     [not found]             ` <053D39D3D76C474EB2D2A284AA6BA3181F26A4F56B-ZjuI7xOJlFPnaE3xbIMyWkCiaQ3SRT3KFkJ40O1dFu8@public.gmane.org>
2011-12-09  4:22               ` Ryusuke Konishi
     [not found]                 ` <20111209.132225.33374267.ryusuke-sG5X7nlA6pw@public.gmane.org>
2011-12-09 22:39                   ` Zahid Chowdhury

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.