LinuxQuestions.org
Review your favorite Linux distribution.
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 08-17-2009, 12:34 PM   #1
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Rep: Reputation: 15
Unhappy Out of disk space :(


I got the Hp 2133 mini notebook not to long ago maybe back in april. But they got a linux instead of Windows. I have yet to save anything on the computer, but everytime i logged on, i was usuing up disk space. Now I cant even log on and it gives me the message GDM Could not write to your authorization. Im sure i am not the first to receive this message. I dont know what to do. Its a Suse Linux Enterprise Desktop 10. I tried entering commands that ive seen on here that helped others. But its not working for me. I havent been able to use the laptop since may.

Last edited by fletch2k3; 08-20-2009 at 09:38 AM.
 
Old 08-17-2009, 12:39 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ

After boot, press CTRL_ALT_F1
login as root and type
Code:
df -h
post the output
 
Old 08-17-2009, 12:46 PM   #3
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Smile

it reads

size used avali
3.1g 3.0g 0

i dont understand. I've only been able to go online. I have yet been able to save anything. How can i delete to obtain my space again? Thank you so much for your help!!
 
Old 08-17-2009, 12:54 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
You can get an idea of what's taking up your space with this:

Code:
cd /
du -sh
That will print a list with the directories that hang below your root directory /

Then you can use the cd command to go into these directories and run du -sh again after entering a new directory until you can narrow what's taking up all the space. However, the hard drive seems to be not so big, if 3gb is all you have. And suse enterprise 10 is not the slicker distribution around, so in fact, and depending on what did they install in your disk, it could be that your system is taking up all the space.

I am a bit disoriented though, according to this web

http://h40059.www4.hp.com/hp2133/

Those machines have a much bigger hd.

Mmmmm, what does "fdisk -l" says?
 
Old 08-17-2009, 12:58 PM   #5
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by fletch2k3 View Post
size used avali
3.1g 3.0g 0
Is it possible you have only 3.1 GB hard drive in your machine?

My machine reports such information:

# df -h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             7.4G  4.8G  2.7G  65% /
tmpfs                 252M     0  252M   0% /dev/shm
/dev/hda1             6.5G  6.1G  429M  94% /mnt/hda1
/dev/hda3              60G   34G   26G  57% /mnt/hda3
# fdisk -l
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x3db012b3

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       15375     7748968+   c  W95 FAT32 (LBA)
/dev/hda2           15376       30750     7749000   83  Linux
/dev/hda3           30751      153750    61992000   83  Linux
/dev/hda4          153751      155061      660744   82  Linux swap
In these outputs /dev/hda1, /dev/hda2, etc. are different partitions on the hard drive.

Try both commands mentioned above and inspect both outputs carefully.

Post these outputs here.
 
Old 08-17-2009, 12:58 PM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
To find the biggest files:
Code:
du -a /home | sort -n -r | head -n 10
Then remove the files you don't want
Make sure you don't need them any more
Code:
rm filename
 
Old 08-17-2009, 01:01 PM   #7
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
You can get an idea of what's taking up your space with this:

Code:
cd /
du -sh
That will print a list with the directories that hang below your root directory /

Then you can use the cd command to go into these directories and run du -sh again after entering a new directory until you can narrow what's taking up all the space. However, the hard drive seems to be not so big, if 3gb is all you have. And suse enterprise 10 is not the slicker distribution around, so in fact, and depending on what did they install in your disk, it could be that your system is taking up all the space.

I am a bit disoriented though, according to this web

http://h40059.www4.hp.com/hp2133/

Those machines have a much bigger hd.

Mmmmm, what does "fdisk -l" says?


I just tried cd/ and it says command not found. then i tried du -sh and it says permission denied. and then i tried fdisk -l and it says command not found.

I was told too that it was supposed to be big. But if i go on the internet 7 times, it starts prompting me im out of disk space. and then locks me out. I am very confused. ive heard nothing but good things about linux, so i want to keep it and learn to use it, but its kind of hard to...locked out haha.
 
Old 08-17-2009, 01:03 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try
Code:
/sbin/fdisk -l
 
Old 08-17-2009, 01:06 PM   #9
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by i92guboj View Post
You can get an idea of what's taking up your space with this:

Code:
cd /
du -sh
Then you can use the cd command to go into these directories and run du -sh again after entering a new directory until you can narrow what's taking up all the space.
Much more effective is to use the command such as:

Code:
du -B 1000 / | grep -E '^[0-9]{7,}'

Last edited by w1k0; 08-17-2009 at 01:15 PM.
 
Old 08-17-2009, 01:08 PM   #10
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by fletch2k3 View Post
I just tried cd/ and it says command not found. then i tried du -sh and it says permission denied. and then i tried fdisk -l and it says command not found.
It's "cd /", with a blank space in the middle.

As "du -sh", you need to log as the root user to be able to recurse all the directories in /, however let's forget about that. I am more interested about the fdisk -l output, try either of those instead:

Code:
/sbin/fdisk -l
# or
/usr/sbin/fdisk -l
There must be something strange with your setup, as I told you above, I reall doubt that 3.1gb is all your storage space.
 
Old 08-17-2009, 01:08 PM   #11
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
To find the biggest files:
Code:
du -a /home | sort -n -r | head -n 10
Then remove the files you don't want
Make sure you don't need them any more
Code:
rm filename


the file name would be the entire entry that pops up? it says they are pictures. I dont remeber ever saving any pictures... Pictures take up that much space?!?!

So this computer wouldnt be a good computer for my to use while in college?
 
Old 08-17-2009, 01:11 PM   #12
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by repo View Post
Try
Code:
/sbin/fdisk -l
It says unable to open b-1
 
Old 08-17-2009, 01:13 PM   #13
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by i92guboj View Post
It's "cd /", with a blank space in the middle.

As "du -sh", you need to log as the root user to be able to recurse all the directories in /, however let's forget about that. I am more interested about the fdisk -l output, try either of those instead:

Code:
/sbin/fdisk -l
# or
/usr/sbin/fdisk -l
There must be something strange with your setup, as I told you above, I reall doubt that 3.1gb is all your storage space.

when i used /usr/sbin/fdisk -l it said no such file number or directory
 
Old 08-17-2009, 01:16 PM   #14
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by fletch2k3 View Post
It says unable to open b-1
Most unexpected, are you sure you wrote it well?

The "-l" is a dash and a lower case L, not a "one".
 
Old 08-17-2009, 01:17 PM   #15
fletch2k3
Member
 
Registered: Aug 2009
Location: Somewhere in TX
Distribution: SuSE
Posts: 72

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by w1k0 View Post
Is it possible you have only 3.1 GB hard drive in your machine?

My machine reports such information:

# df -h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2             7.4G  4.8G  2.7G  65% /
tmpfs                 252M     0  252M   0% /dev/shm
/dev/hda1             6.5G  6.1G  429M  94% /mnt/hda1
/dev/hda3              60G   34G   26G  57% /mnt/hda3
# fdisk -l
Code:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0x3db012b3

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1       15375     7748968+   c  W95 FAT32 (LBA)
/dev/hda2           15376       30750     7749000   83  Linux
/dev/hda3           30751      153750    61992000   83  Linux
/dev/hda4          153751      155061      660744   82  Linux swap
In these outputs /dev/hda1, /dev/hda2, etc. are different partitions on the hard drive.

Try both commands mentioned above and inspect both outputs carefully.

Post these outputs here.
it said no such file or directory
 
  


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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 07:55 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon LinuxQuestions.org Member Success Stories 1 10-18-2007 06:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM

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

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