LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-18-2008, 02:55 AM   #1
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 285

Rep: Reputation: 32
repairing filesystems


At boot I got this message

Code:
Log of fsck -C -R -A -a 
Sun May 18 09:41:59 2008

fsck 1.40.2 (12-Jul-2007)
/dev/sdb3 contains a file system with errors, check forced.
/dev/sdb3: Unattached inode 3571869


/dev/sdb3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
	(i.e., without -a or -p options)
fsck died with exit status 4

(this is the content of /var/log/fsck/checkfs also)

The system then actually managed to boot, kde started but I got the message

"file protocol died unexpectantly" and the same for "media protocol"

I am completely unexperienced in repairing filesystems. What should I do?

By the way, filesystem is ext3.

Thanks
 
Old 05-18-2008, 04:24 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Boot from the live cd and then do Applications -> Accessories -> Terminal. After that enter the command
Code:
sudo umount /dev/sda3
sudo fsck.ext3 /dev/sda3
 
Old 05-25-2008, 03:18 PM   #3
iqbala
Member
 
Registered: Dec 2003
Location: Milano (ITALY)
Distribution: Kubuntu 20.04
Posts: 285

Original Poster
Rep: Reputation: 32
Ok, thanks, it worked. It was sdb3 and not sda3, but I worked that out.

Nothing seems to be missing, and the files I found in lost+found were trivial (some cookie and some setting).

But the number of errors that were corrected was very big. Just why do such things happen?
 
Old 05-25-2008, 04:09 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by iqbala View Post

But the number of errors that were corrected was very big. Just why do such things happen?
The most common cause is a system crash or hard shutdown which leaves cache records in memory without being written out to the hard drive. Another possibility is hardware errors. I once installed two memory sticks which were incompatible with each other. Any buffer written from the second stick was written to the hard drive as garbage.

---------------
Steve Stites
 
  


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
repairing grub pice856 Linux - Newbie 4 08-15-2007 05:40 AM
repairing grub pice856 LinuxQuestions.org Member Intro 1 08-02-2007 06:53 AM
windows filesystems vs. linux filesystems irfanhab General 8 05-25-2004 07:21 AM
Need help repairing GRUB! Please! DJSpaceMouse Linux - Software 19 05-27-2003 01:44 PM
Repairing? cjnkns Linux - Hardware 4 03-19-2003 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:28 PM.

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