ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7250 w/USB dev system

To:
Subject: [ts-7000] Re: TS-7250 w/USB dev system
From: "Anouk Ahamitet" <>
Date: Mon, 01 Oct 2007 12:49:26 -0000
--- In  "charliem_1216" <> wrote:
> > Every time I cycle power (or disconnect the USB memory stick) it 
> seems
> > to reset the time of the last fsck to over 49,000 days ago (that's
> > sometime in the late 1800s, by the way).  It seems that everything 
> > I
> > write to the disk is saved (and yes, I'm always careful to either
> > shutdown the system, or at least umount the USB before 
> disconnecting it).
> 
> This is correct, if you do not have a battery backed RTC (although 
> usually it goes to something like 1-Jan-1969).  When the drive is 
> fsck'd on startup, you don't have a valid system time/date yet, so 
> the wrong (earlier) 'last checked' date is written to the FS at the 
> end of the fsck.

That makes sense, thanks.  Just in case anyone's interested, here is
the EXACT message that comes out:

  Checking root file system...
  fsck 1.40-WIP (14-Nov-2006)
  e2fsck 1.40-WIP (14-Nov-2006)
  ts-dev has gone 49710 days without being checked, check forced.
  Pass 1: Checking inodes, blocks, and sizes

Using a year as 365.25 days, that's over 136 years ago, so
substantially BEFORE 1969.  Probably a calculation bug in e2fsck or
something.

> Check this, and fix it, with the tune2fs command.  You could, for 
> example, do: "tune2fs -T now /dev/yourdevice" after you unmount the 
> USB stick, when you _do_ have a valid system date.  This will write 
> the valid time in the ext2 metadata.
> 
> Or you could simply do: "tune2fs -i 0 /dev/yourdevice", which will 
> disable the time based fsck'ing on mount.  If you do this, you 
> should still keep a fsck trigger based on number of mounts though, 
> instead.

Thanks again, those will be useful commands to add to my notebook.

Hmmm... I seem to misunderstand.  tune2fs is not available on the
TS-7520's onboard system, and when I try to run it from within the
USB's environment (which doesn't sound right anyway) using the name
that 'df' shows for the device name, I'm told that tune2fs cannot find
a valid filesystem superblock.  Oh well, it sounded good.  Thanks anyway.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: TS-7250 w/USB dev system, Anouk Ahamitet <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU