Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 11 Nov 2019, 21:25
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
command-line - fsck - clock discrepancy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
LNSmith


Joined: 28 Mar 2013
Posts: 63
Location: Lake Macquarie, NSW, Australia

PostPosted: Thu 31 Oct 2019, 16:08    Post subject:  command-line - fsck - clock discrepancy
Subject description: fsck reports clock is not set correctly
 

When I run fsck I get a message about 'the hardware clock'. (full transcript is below)
When I look at the clock (on the desk-top, lwr right) I see the correct time - corrected for daylight saving.

Are there two clocks? What's the drum? Give me the good oil!

Leslie

(transcript of command etc follows).
# fsck -n /dev/sda1
fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Superblock last mount time is in the future. (by less than a day, probably due to the hardware clock being incorrectly set).
Superblock last write time is in the future. (by less than a day, probably due to the hardware clock being incorrectly set)
(end of screen dump)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14451
Location: Gatineau (Qc), Canada

PostPosted: Thu 31 Oct 2019, 16:51    Post subject:  

Hi Leslie.

You probably tried to do your disk check soon after boot? Wait a minute or two until the
time sync that occurs automatically at boot is finished, or run Psync manually and wait
til it's done.

In any case, fsck is giving you an info rather than a warning. Nothing catastrophic or
apocalyptic is going to happen if you proceed.

IHTH.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
LNSmith


Joined: 28 Mar 2013
Posts: 63
Location: Lake Macquarie, NSW, Australia

PostPosted: Fri 01 Nov 2019, 00:00    Post subject: command-line - fsck - clock discrepancy (solved)  

Hi Musher!

Yes, correct - I re-booted and ran fsck on storage device sda1 immediately after booting.

Now, hours later, ran the file system consistency check (fsck) and got NO error report. I find the command line (or bash, as many people call it) very useful but there are some "gotcha's" I must learn. For example, the parameter list in the fsck command varies between fsck and e2sfck. It is necessary to understand the consequences of these differences.

Thank you! - Leslie
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14451
Location: Gatineau (Qc), Canada

PostPosted: Fri 01 Nov 2019, 00:56    Post subject:  

Hello Leslie.

As I mentioned in a related thread, fsck and e2fsck are different utilities from different
developers. Use one OR the other, never use both.

As a note, never use an fsck utility or similar on a Solid State Drive (SSD) or a
USB drive. They have their own utility for this function incorporated on the drive.

As for me, I always use e2fsck. I wrote a script 5-6 years back that uses it. It checks
all ext-something file systems and produces a report on screen as it does.

It's called < automverif-11b.pet >, and it's here.

I also provided a companion script using tune2fs (7th post down that page). This utility
sets, with your input, after how many mounts the partition should be checked.
e3fsck looks for this info.

I hope installing and using those two scripts on your Puppy will help you solve
your fsck problems.

Any questions, please let me know.

Bye for now.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0269s ][ Queries: 11 (0.0024s) ][ GZIP on ]