GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- fsck question
Operating System - Linux
1845517
Members
3767
Online
110244
Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Forums
Categories
This widget could not be displayed.
Company
This widget could not be displayed.
Local Language
This widget could not be displayed.
back
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
back
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Blogs
Information
This widget could not be displayed.
This widget could not be displayed.
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
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 02:49 AM
12-30-2006 02:49 AM
fsck question
when do i run fsck and e2fsck? what is the difference. man page states that e2fsck can be run on extended filesystems. if that be the case do i run fsck on primary filesystems? how would i find out which one is primary and which is an extended filesystem? please clarify..
Thanks
brian
Thanks
brian
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 04:53 AM
12-30-2006 04:53 AM
Re: fsck question
Shalom Brian,
fsck can be run on any filesystem, so long as its not mounted. It does not matter whether the filesystem is created with disk druid or LVM gui or the command line.
SEP
fsck can be run on any filesystem, so long as its not mounted. It does not matter whether the filesystem is created with disk druid or LVM gui or the command line.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
12-30-2006 06:48 AM
12-30-2006 06:48 AM
Re: fsck question
Shalom to you Steve
so then when does e2fsck come to play?
Thanks
brian
so then when does e2fsck come to play?
Thanks
brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2006 02:30 PM
12-30-2006 02:30 PM
Re: fsck question
Ok, here's the funky.
'fsck' is a wrapper around 'e2fsck', and the other filesystem-specific 'fsck' versions (i.e. xfs, reiserfs, jfs, etc. etc.).
Using 'fsck' will automatically detect the filesystem type you're running it on, and attempt to use the appropriate tool for the job.
You can force a filesystem type by using the '-t' argument, or you can just use the native checker directly.
Filesystem checks can be run in a non-modify-mode on any filesystem.
If there are errors, then you either need to take the fielsystem offline, or make it read-only before you can do repairs. Generally this means bringing the system down into single user mode.
****** IT IS RECOMENDED THAT YOU NEVER TRY THE BELOW ******
You can force a filesystem check repair on a mounted filesystem, but if any writes occur from something other than the repair tool, serious filesystem/data corruption can occur.
'fsck' is a wrapper around 'e2fsck', and the other filesystem-specific 'fsck' versions (i.e. xfs, reiserfs, jfs, etc. etc.).
Using 'fsck' will automatically detect the filesystem type you're running it on, and attempt to use the appropriate tool for the job.
You can force a filesystem type by using the '-t
Filesystem checks can be run in a non-modify-mode on any filesystem.
If there are errors, then you either need to take the fielsystem offline, or make it read-only before you can do repairs. Generally this means bringing the system down into single user mode.
****** IT IS RECOMENDED THAT YOU NEVER TRY THE BELOW ******
You can force a filesystem check repair on a mounted filesystem, but if any writes occur from something other than the repair tool, serious filesystem/data corruption can occur.
One long-haired git at your service...
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 2026 Hewlett Packard Enterprise Development LP