HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Determine last time fsck was run on filesystem
Operating System - Linux
1829095
Members
2552
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2010 10:43 AM
09-17-2010 10:43 AM
Determine last time fsck was run on filesystem
Hello all,
I experienced a very long delay a while back while booting up a Linux RH5.x server.
It determined that a remote filesystem hadn't ben verified in over so many days and decided to run fsck on 80GB of data.
I'm trying to find out when that was but the boot log got cycled out.
Is there a log left somewhere by fsck?
Otherwise, is there a way to determine the last time fsck was run against a filesystem?
Thanks
RayB
I experienced a very long delay a while back while booting up a Linux RH5.x server.
It determined that a remote filesystem hadn't ben verified in over so many days and decided to run fsck on 80GB of data.
I'm trying to find out when that was but the boot log got cycled out.
Is there a log left somewhere by fsck?
Otherwise, is there a way to determine the last time fsck was run against a filesystem?
Thanks
RayB
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2010 11:10 AM
09-17-2010 11:10 AM
Re: Determine last time fsck was run on filesystem
You can use:
dumpe2fs -h /dev/
Check for the record "Last checked".
But, i'm not understanding your problem. You are talking about "remote filesystems" and delayed boot. Why do you think that is related to file system check needs?
dumpe2fs -h /dev/
Check for the record "Last checked".
But, i'm not understanding your problem. You are talking about "remote filesystems" and delayed boot. Why do you think that is related to file system check needs?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2010 11:40 AM
09-17-2010 11:40 AM
Re: Determine last time fsck was run on filesystem
This server is part of a VM farm.
When the server wasn't coming back up, I logged in through VSphere and saw a message that cifs filesystem x hadn't been verified for so many days (180 maybe) and a forced fschk had been started.
The server came up normally after the fsck completed.
I'm trying to determine why this happened as the fstab entry for this filesystem has a zero in column 6 (ie do not verify).
Additionally, I'd like to get an idea of when this will happen again as we patch this system monthly.
RayB
When the server wasn't coming back up, I logged in through VSphere and saw a message that cifs filesystem x hadn't been verified for so many days (180 maybe) and a forced fschk had been started.
The server came up normally after the fsck completed.
I'm trying to determine why this happened as the fstab entry for this filesystem has a zero in column 6 (ie do not verify).
Additionally, I'd like to get an idea of when this will happen again as we patch this system monthly.
RayB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2010 01:42 PM
09-17-2010 01:42 PM
Re: Determine last time fsck was run on filesystem
There are two options that will force the fsck, the mount count and fsck interval. You could use tune2fs -i 0 -c 0 to disable fsck.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP