LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-10-2008, 03:58 PM   #1
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Rep: Reputation: 15
Can't login due to no disk space? How do i free some to log in??


It's me again with yet another question This time I run out of space and at the same time I was compiling a program and when I restarted it showed me the massage that i can't login using Gnome but if i shitch back to init 3 and start X it works fine. I tried deleting files from there but it still shows that it is full even though i freed few GB. So anyone knows how to fix it?
 
Old 03-10-2008, 04:20 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,333

Rep: Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547Reputation: 547
Quote:
Originally Posted by BULPulse View Post

It's me again with yet another question This time I run out of space and at the same time I was compiling a program and when I restarted it showed me the massage that i can't login using Gnome but if i shitch back to init 3 and start X it works fine. I tried deleting files from there but it still shows that it is full even though i freed few GB. So anyone knows how to fix it?
The first thing to do is boot a live CD and run fsck against the partition. You may have lost some space in your file system when it crashed for lack of space. If so fsck should straighten that out.

----------------
Steve Stites
 
Old 03-10-2008, 04:25 PM   #3
mpier
Member
 
Registered: Jan 2008
Location: Poland
Distribution: Slackware, Arch
Posts: 38

Rep: Reputation: 17
I don't use Gnome, but put df -m in console and show us the result. Maybe there is still no free space for you?
 
Old 03-10-2008, 04:48 PM   #4
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
Well i tried fsck but didn't help.

Code:
# df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda3                48064     45716         0 100% /
/dev/sda2                92260     32714     59547  36% /fat-c
/dev/sdb1               715403    319655    395748  45% /fat-s
so what now?

Last edited by BULPulse; 03-10-2008 at 07:16 PM.
 
Old 03-11-2008, 01:35 AM   #5
mpier
Member
 
Registered: Jan 2008
Location: Poland
Distribution: Slackware, Arch
Posts: 38

Rep: Reputation: 17
Code:
# df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda3                48064     45716         0 100% /
/dev/sda2                92260     32714     59547  36% /fat-c
/dev/sdb1               715403    319655    395748  45% /fat-s
Where is /home partition? You should have one. Just remove needless stuff from / (/tmp or similar ). Check also /var/log for overloaded files.
 
Old 03-11-2008, 01:37 AM   #6
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Keep deleting. By default 5% of the disk space is reserved for root, and this is adjustable with tune2fs. Feel free to read the man page for it.
 
Old 03-11-2008, 02:39 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,099

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Try this - it'll give you an idea of where all the space has gone anyway
Code:
du -x --max-depth=1 | sort -nr
As for the 5% thing - that why I like ext3; but not all filesystems do this.
 
Old 03-11-2008, 06:31 AM   #8
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mpier View Post
Code:
# df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/sda3                48064     45716         0 100% /
/dev/sda2                92260     32714     59547  36% /fat-c
/dev/sdb1               715403    319655    395748  45% /fat-s
Where is /home partition? You should have one. Just remove needless stuff from / (/tmp or similar ). Check also /var/log for overloaded files.
I did remove files from / by logging as root in X but it seems not to effect the free space even though it is in the same partision, so just deleting doesn't help
 
Old 03-11-2008, 10:05 AM   #9
ice_nine
Member
 
Registered: Sep 2007
Posts: 41

Rep: Reputation: 15
If your deleting files by logging into X, make sure you're actually removing them and not just sticking them in the trash.

The console command for removing files is 'rm', take a look at the manpage.
 
Old 03-11-2008, 10:55 AM   #10
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
I'll repeat again... by default, 5% of the filesystem is reserved for root. This is why you're seeing "100%" when it's really only 95% full. 5% of it is reserved for root alone.
 
Old 03-11-2008, 01:06 PM   #11
BULPulse
Member
 
Registered: Nov 2007
Location: UK
Distribution: Slackware 13
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by evilDagmar View Post
I'll repeat again... by default, 5% of the filesystem is reserved for root. This is why you're seeing "100%" when it's really only 95% full. 5% of it is reserved for root alone.
Thank you!!! all worked well
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
System failed due to lack of free disk space une Mandriva 18 09-26-2007 05:56 AM
Newbie - X won't let me login because not enough free disk space in /tmp sart1 Linux - Software 1 06-02-2005 10:22 PM
free disk space mp4-10 Linux - Software 1 04-06-2005 03:32 AM
Linux doesn' boot due to lack of hard disk space ravykanth Linux - General 1 10-27-2003 03:44 PM
free disk space? Alf829 Linux - Newbie 3 08-01-2003 11:26 AM

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

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