tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Can fsck change ctime of an inode?
@ 2003-02-10 11:48 Irene A. Shilikhina
  2003-02-11  5:10 ` [NO SUMMARY] " Irene A. Shilikhina
  0 siblings, 1 reply; 2+ messages in thread
From: Irene A. Shilikhina @ 2003-02-10 11:48 UTC (permalink / raw)



I suddenly discovered that old directories (older than 5 days) in 
/var/adm/syslog.dated remained where they were. I made sure that the 
crontab was submitted and it contained an appropriate line:

40 4 * * * find /var/adm/syslog.dated -depth -type d -ctime +5 -exec rm 
-rf {} \;

Then I ran 'find /var/adm/syslog.dated -type d -ctime +5' by hand and,
much to my surprise, the output was empty. But 'mtime' instead of 'ctime' 
gave what I expected. At this point it occured to me that this server had 
experienced crash (with panic 'kernel memory fault'). It happened 9 days 
ago. 

I removed them anyhow, and 'find' with -ctime +1, +2, +3 , +4 gives the 
right result.

Is it possible that fsck after the crash 'cured' these directories so that
ctime in their inodes changed? At boot time my eye had not enough time to
catch all the messages on the screen. 

Thanks,
Irene

*************************************************************************
*                                                                       *
*   Irene A. Shilikhina                 e-mail: irene@alpha.iae.nsk.su  *
*   System administrator,                                               *
*   Institute of Automation & Electrometry,                             *
*   Siberian Branch of Russian Academy of Sciences,                     *
*   Novosibirsk, Russia                                                 *
*                      http://www.iae.nsk.su/~irene                     *
*************************************************************************
*                                                                       *
*             The road to hell is paved with good intentions.           *
*                                                                       *
*************************************************************************



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

* [NO SUMMARY] Can fsck change ctime of an inode?
  2003-02-10 11:48 Can fsck change ctime of an inode? Irene A. Shilikhina
@ 2003-02-11  5:10 ` Irene A. Shilikhina
  0 siblings, 0 replies; 2+ messages in thread
From: Irene A. Shilikhina @ 2003-02-11  5:10 UTC (permalink / raw)



No replies [sigh...] Another case to say out a pity that no more on the
list a good Dr. File System's Home for Wayward Inodes (Alan Rollow's alias).

My original question follows under the signature.
Thanks

*************************************************************************
*                                                                       *
*   Irene A. Shilikhina                 e-mail: irene@alpha.iae.nsk.su  *
*   System administrator,                                               *
*   Institute of Automation & Electrometry,                             *
*   Siberian Branch of Russian Academy of Sciences,                     *
*   Novosibirsk, Russia                                                 *
*                      http://www.iae.nsk.su/~irene                     *
*************************************************************************
*                                                                       *
*             The road to hell is paved with good intentions.           *
*                                                                       *
*************************************************************************

On Mon, 10 Feb 2003, Irene A. Shilikhina wrote:

> 
> I suddenly discovered that old directories (older than 5 days) in 
> /var/adm/syslog.dated remained where they were. I made sure that the 
> crontab was submitted and it contained an appropriate line:
> 
> 40 4 * * * find /var/adm/syslog.dated -depth -type d -ctime +5 -exec rm 
> -rf {} \;
> 
> Then I ran 'find /var/adm/syslog.dated -type d -ctime +5' by hand and,
> much to my surprise, the output was empty. But 'mtime' instead of 'ctime' 
> gave what I expected. At this point it occured to me that this server had 
> experienced crash (with panic 'kernel memory fault'). It happened 9 days 
> ago. 
> 
> I removed them anyhow, and 'find' with -ctime +1, +2, +3 , +4 gives the 
> right result.
> 
> Is it possible that fsck after the crash 'cured' these directories so that
> ctime in their inodes changed? At boot time my eye had not enough time to
> catch all the messages on the screen. 
> 
> Thanks,
> Irene
> 
> *************************************************************************
> *                                                                       *
> *   Irene A. Shilikhina                 e-mail: irene@alpha.iae.nsk.su  *
> *   System administrator,                                               *
> *   Institute of Automation & Electrometry,                             *
> *   Siberian Branch of Russian Academy of Sciences,                     *
> *   Novosibirsk, Russia                                                 *
> *                      http://www.iae.nsk.su/~irene                     *
> *************************************************************************
> *                                                                       *
> *             The road to hell is paved with good intentions.           *
> *                                                                       *
> *************************************************************************
> 
> 


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

end of thread, other threads:[~2003-02-11  5:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 11:48 Can fsck change ctime of an inode? Irene A. Shilikhina
2003-02-11  5:10 ` [NO SUMMARY] " Irene A. Shilikhina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox