- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: howto force fsck on linux server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО01-01-2005 09:38 AM
тАО01-01-2005 09:38 AM
how to force fsck on SUSE 8.2 linux server setuped with Ext3 at next reboot ?
I've tried with:
# tune2fs -C 0
tune2fs 1.28 (31-Aug-2002)
Usage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal-options]
[-l] [-s sparse-flag] [-m reserved-blocks-percent]
[-r reserved-blocks-count] [-u user] [-C mount-count]
[-L volume-label] [-M last-mounted-dir]
[-O [^]feature[,...]] [-T last-check-time] [-U UUID] device
but it doesn't work.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2005 09:48 AM
тАО01-01-2005 09:48 AM
Re: howto force fsck on linux server
# tune2fs -c 5 -C 0 /dev/hda3
should be correct.
But can I use this above mentioned command,
if the /dev/hda3 partition is already mounted read & write ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-01-2005 03:27 PM
тАО01-01-2005 03:27 PM
SolutionThere is a prompt to press a key in 5 seconds to force fsck. Or filesystem integrity check.
That works.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2005 03:36 AM
тАО01-02-2005 03:36 AM
Re: howto force fsck on linux server
When you use the shutdown command there is a special flag that you can use -F.
The -F flag means `force fsck'. This only creates an advisory file /forcefsck which can be tested by the system when it comes up again. The boot rc file can test if this file is present, and decide to run fsck(1) with a special `force' flag so that even properly unmounted filesystems get checked. After that, the boot process should remove /forcefsck.
You can create the /forcefsck manually if you want.
HTH,
Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2007 01:24 AM
тАО06-15-2007 01:24 AM
Re: howto force fsck on linux server
# shutdown -F -r now
works perfectly.
greetings
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2007 03:52 PM
тАО06-17-2007 03:52 PM
Re: howto force fsck on linux server
If u want to start fsck at next booting...
u can try this also..
from root or if ur r in single user mode.
#touch /force/fsck
#reboot -r now
Then next time ur system will be running fsck before mounting the filesystem.
Regds
palani.