LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-14-2004, 10:29 AM   #1
dave111
Member
 
Registered: Aug 2004
Posts: 48

Rep: Reputation: 15
Corrupted root partition?


I suddenly became unable to load X or KDE, am getting a warning that the root partition is full. The partition has 6 GB allotted, and generally contains about 1 GB of data. The only things I had just done were to activate KMail, which I'd never used before; and then run a backup using Mandrake's backup utility, which I used once before, and it seemed to work fine.

System is Mandrake 9.2, 256 MB RAM.

I can get to a command prompt, and under my username, I can see all my files, and access them. Under Root though, I get different responses each time I reboot. One time it will list a few of the usual files, along with a boatload of files named "code.****" where **** is a 4 digit number. These files can't be deleted. Other times when I log on as root, I see the usual files, but nonetheless, I can't access any programs, or X, or KDE.

Is the root partition corrupted beyond repair?

Thanks.

Last edited by dave111; 11-14-2004 at 10:46 AM.
 
Old 11-14-2004, 11:02 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" am getting a warning that the root partition is full."

You can check how much space is actually being used in the root partition with the du command:
du -s -h -x /

Another useful command is:
df

See man du and man df.

"Is the root partition corrupted beyond repair?"

You should check whether the root partition is corrupted or not with the fsck command. Boot a rescue CD and issue the fsck command against the root partition. Be sure to specify the correct file system type. If you use knoppix you will have to umount the root partition first. Here is an example fsck command:
fsck -t ext3 /dev/hda1

------------------------------
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
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 06:41 AM
Root Partition anjanesh Fedora 10 10-13-2004 10:05 PM
root partition petercool Linux - General 5 09-29-2003 02:01 PM
/boot partition corrputed vinay_r99 Linux - Hardware 5 03-03-2003 11:26 PM
no root partition? mkzmonkeylagger Linux - General 5 07-15-2002 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:26 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