Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] Harddisk 100% full - .xsession-error = over 200GB

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
MikeG1
n00b
n00b
Posts: 34
Joined: Sun Aug 15, 2010 12:46 pm

[SOLVED] Harddisk 100% full - .xsession-error = over 200GB

  • Quote

Post by MikeG1 » Sat Nov 06, 2010 11:11 am

Hi guys,
When booting i get the error "no space left on disk".
I can't even boot into my KDE anymore.
Booting always stops in CONSOLE mode.

The problem is, I have no idea why the disk is full..
Before the problem occured I had about 100gb of free disk space.

I booted from a live CD a searched for any unusual large files, but couldn't find anything.

Running fsck didn't fix anything neither.


Any ideas what is wrong..
THX
Mike!
Last edited by MikeG1 on Sun Nov 07, 2010 4:36 pm, edited 1 time in total.
Top
idella4
Retired Dev
Retired Dev
User avatar
Posts: 1600
Joined: Fri Jun 09, 2006 11:29 am
Location: Australia, Perth

  • Quote

Post by idella4 » Sat Nov 06, 2010 11:58 am

MikeG1,
I suppose it's worth asking what fs your system is, but no matter what the answer it won't really help,

If you want to at least get into your system, spark up your live cd, create a new partition and copy /transfer a root folder to it. /home would be the easiest and least drastic option. Once copied over, delete the root folder, thus freeing up space.

Then again, it's a new system, /home probably contains a few mb. To really clear a space, shift /usr, but be sure to use cp -a or perhaps tar to a tarball, then explode the tarball onto the new partition. You have to get meaningful symlinks when shifting a system folder.

Di it as a first step. If you make a copy and can not delete the copied root folder, then you have a more serious problem; repost
You can rectify it by other means but let's cross that bridge later if required.

or just resize your system partition with another few gig.
idella4@aus
Top
iss
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 134
Joined: Mon Oct 30, 2006 8:36 am
Location: Poland/Bydgoszcz
Contact:
Contact iss
Website

  • Quote

Post by iss » Sat Nov 06, 2010 12:59 pm

Maybe you run out of inodes? It's possible when you have lots of small files.

When you boot livecd try 'df -i'.
Top
ToeiRei
Veteran
Veteran
User avatar
Posts: 1191
Joined: Mon Jan 03, 2005 10:50 am
Location: Austria
Contact:
Contact ToeiRei
Website

  • Quote

Post by ToeiRei » Sat Nov 06, 2010 2:46 pm

another hint:

Code: Select all

du -h --max-depth=1
You can use that for tracking down big directories. Mostly things like a MySQL Binlog are ignored - that way you are pointed to such things. (You can do this using a LiveCD)
Please stand by - The mailer daemon is busy burning your messages in hell...
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Sat Nov 06, 2010 2:59 pm

You can use ncdu to quickly find what takes the most space.
http://phajdan-jr.blogspot.com/
Top
chix4mat
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun Dec 11, 2005 10:40 pm
Location: Canada
Contact:
Contact chix4mat
Website

  • Quote

Post by chix4mat » Sun Nov 07, 2010 12:55 am

Is the entire OS on the same partition? It might be worth a shot doing a 'du -sh' on some key folders, as it will help you see where all of the space is being hogged. I tend to 'du -sh /home/username' if I find space missing, because sometimes there are log files that get way out of hand due to some unforseen error (I once had a 20GB xorg error log!). The same could be said for 'du -sh /var/log'.

This is the least-technical way to find hogged space, but it's also a good start.
emerge -NuDe world
Top
MikeG1
n00b
n00b
Posts: 34
Joined: Sun Aug 15, 2010 12:46 pm

  • Quote

Post by MikeG1 » Sun Nov 07, 2010 4:35 pm

Hi guys..
Finally found the file..
The .xession-errors had a size of over 200GB..
Really weird error. I have no idea what caused this.
Top
chix4mat
Apprentice
Apprentice
User avatar
Posts: 190
Joined: Sun Dec 11, 2005 10:40 pm
Location: Canada
Contact:
Contact chix4mat
Website

  • Quote

Post by chix4mat » Mon Nov 08, 2010 3:41 am

MikeG1 wrote:Hi guys..
Finally found the file..
The .xession-errors had a size of over 200GB..
Really weird error. I have no idea what caused this.
You certainly beat my 20GB...

Look inside of the file to see what's causing it ;-)

If it's some nonsensical error you don't want to deal with, you could filter it through to /dev/null. That's what I had to do with my problem back in the day. Probably not the best solution, but it works.
emerge -NuDe world
Top
doctork
Guru
Guru
Posts: 370
Joined: Sun Apr 25, 2004 12:02 am
Location: Cleveland, OH

  • Quote

Post by doctork » Mon Nov 08, 2010 6:54 am

On my main desktop system the file contains a lot of messages from kwin and kalarm that should only be of interest to the KDE devlopers/maintainers. Why isn't there a USE flag to suppress them??
--
doc
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic