Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LVM: "Superblock last write time is in the future." [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 443
Location: Canberra Australia

PostPosted: Mon Dec 28, 2015 9:46 pm    Post subject: LVM: "Superblock last write time is in the future." Reply with quote

I am using LVM for all of my partitions except /boot:
Code:
/dev/system/root                /                               ext4            defaults,discard        0 1
/dev/system/swap                none                    swap            pri=-2                          0 0
/dev/system/var                 /var                    ext4            noatime,discard         0 2
/dev/lvm/home                   /home                           ext4            noatime,noexec          0 2

When I boot up I get the following:
Quote:
root: clean, 198189/1310720 files, 1192086/5242880 blocks
boot: clean, 402/51200 files, 55516/204800 blocks
var: Superblock last write time is in the future.
(by less than a day, probably due to the hardware clock being incorrectly set)
var: clean, 135470/1310720 files, 665110/5242880 blocks
home: Superblock last write time is in the future.
(by less than a day, probably due to the hardware clock being incorrectly set)
home: clean, 41987/458752 files, 1526244/1835008 blocks
Can somebody help?

Last edited by Robert S on Mon Dec 28, 2015 11:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2970
Location: Germany

PostPosted: Mon Dec 28, 2015 9:49 pm    Post subject: Reply with quote

Is clock_systohc set to no in your /etc/conf.d/hwclock, or hwclock service not in boot runlevel?

What is the date shown in bios before you boot, is it correct?

If your hwclock is wrong/unreliable in general you might have to add networking / ntpclient to your initramfs so the clock can sync before you boot.
Back to top
View user's profile Send private message
Robert S
Guru
Guru


Joined: 15 Aug 2004
Posts: 443
Location: Canberra Australia

PostPosted: Mon Dec 28, 2015 11:13 pm    Post subject: Reply with quote

Many thanks. This fixed it: clock_systohc set to no in your /etc/conf.d/hwclock
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum