HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- fsck question
Operating System - Linux
1827871
Members
1292
Online
109969
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
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP