LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2012, 04:19 AM   #1
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Query on fsck and bad superblock


Hello everyone,

The other day I got a error in one of my Linux vm where it was asking for a force file system check after I had forcefully restarted(which I know I shouldn't have done).
So while running fsck it prompts me for fixing bad superblocks and inode no.

I am not sure what was that all about.
Am I suppose to give yes to all or will that affect my data and file system.

Can anyone help me with a brief description on this or if possible help me with some good links where I can learn about fixing hard disk related errors in linux and repairing them.

Is it advisable to all fsck fix the corrupted INODE because last time I remember I did a fsck -y on one of my machines and next time that machine gave a kernel panic so i had to revert back.
 
Old 10-12-2012, 09:39 AM   #2
mmheera
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Ubuntu, Debian, Fedora,Windows 7
Posts: 107

Rep: Reputation: 11
In any case you should not run fsck on a mounted file system in multi-user mode. It should be run in single user mode and unmount the filesystem first. Here are something small and handy:

Best way to check and fix corrupt disk?
Repairing Linux ext2 or ext3 or ext4 File System(fsck)

And an interesting article about the fear to run fsck:

http://aplawrence.com/Unixart/fear-of-fsck.html

Though I would suggest to do backup before running fsck (for fixing) if you suspect something is wrong with the hard disk.

Thanks!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: wrong fs type, bad option, bad superblock on /dev/sda1 dvalente Ubuntu 17 01-31-2016 01:14 PM
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
SUSE Linux, 2.6.16, fsck returns bad superblock on reiserfs, next step fishing Linux - Newbie 2 10-12-2010 03:28 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration