[SOLVED] superblock last write time in the future
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2009
    Posts
    8,586
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    superblock last write time in the future

    In F16, I have just recently (within the past 3 or 4 days) started getting error message on every boot.

    Code:
    [   26.686865] systemd-fsck[960]: /dev/sdb1: Superblock last write time is in the future.
    [   26.693940] systemd-fsck[960]: (by less than a day, probably due to the hardware clock being incorrectly set).  FIXED.
    [   26.698446] systemd-fsck[960]: /dev/sdb1: clean, 273/65536 files, 31657/262144 blocks
    I get them for all ext4 partitions I have on my machine (currently about 15).

    What I have been able to figure out is that I have my system clock in the BIOS set to UTC. When the drives mount, it mounts them with UTC time (verified by using tune2fs -l and dumpe2fs), but then the time in Fedora gets changed over to local time which is 6 hours different.

    It appears that the time in Fedora is getting switched to local time AFTER the drives are mounted, so if I reboot the machine within 6 hours of shutting it down, I get those messages every time.

    Anybody else having this problem,, or know how to fix it?

  2. #2
    Join Date
    Jul 2011
    Location
    Birmingham, UK
    Age
    37
    Posts
    2,761
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: superblock last write time in the future

    Surely any timestamps on disk should be UTC whatever local time is? I can't easily test that right now, as I'm on GMT at the moment...

    Gareth

  3. #3
    Join Date
    Dec 2011
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: superblock last write time in the future

    you can change/reset the hardware clock to the sys clock:
    Code:
    hwclock --systohc
    if that does not fix the problem try:
    Code:
    hwclock --localtime

  4. #4
    Join Date
    Aug 2009
    Posts
    8,586
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: superblock last write time in the future

    thanks fdrake

    After looking closer, what I was getting was weird.

    Somehow my hardware clock had gotten set back 12 hours.

    chrony was making the adjustment to my time when I booted so the system time was correct, but not updating the hardware clock to reflect the adjustment it made.

    After forcing the hardware clock to the system time, it's back to how it should be now.

  5. #5
    Join Date
    Dec 2011
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  6. #6
    Join Date
    Aug 2009
    Posts
    8,586
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: superblock last write time in the future

    yea, I was overlooking it due to the fact that the hardware clock was exactly 12 hours behind.

    Normally, the system clock should be 6 hours ahead of local time, but instead it was 6 hours behind. I saw the 6 hour difference and just overlooked the fact that it was in the wrong direction and just assumed the system clock was correct

    Now as to how it suddenly became 12 hours behind is still a mystery to me, but at least for now the issue is corrected.

Similar Threads

  1. [SOLVED]
    systemd-fsck superblock last write time on each boot
    By lmcogs in forum F15 Development
    Replies: 10
    Last Post: 17th April 2011, 01:17 PM
  2. NTP time keeps drifting into the future
    By pwalden in forum Using Fedora
    Replies: 23
    Last Post: 12th February 2011, 07:17 PM
  3. Superblock last write time in in Future?
    By buchalkalan in forum Hardware & Laptops
    Replies: 12
    Last Post: 21st December 2007, 03:46 PM
  4. mdadm future creation time stamp
    By Jeff Sadowski in forum Using Fedora
    Replies: 0
    Last Post: 23rd October 2007, 09:15 PM
  5. Replies: 0
    Last Post: 12th December 2006, 11:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •