LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-10-2006, 05:05 PM   #1
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Rep: Reputation: 15
Exclamation Running out of space!!!


Hello everyone

I use FC5 and i checked KDiskFree and it says that my root folder has 5Gb free (from 30Gb)
I download programs-applications from add remove software,yum and also other rpm or tar files
Obviously the programs from add remove software and yum are installed in / folder ,thats why i have few space left.
I wanted to ask how i will install programs to my home folder and also where i can see the disk space of my home folder ,because at KDiskFree i can only see my / folder and /boot
If there is a way and install in my home folder is there a change for the programs not to run?or not to run properly?
Also,sometimes some applications like rhythmbox,kaffeine etc don't play.I click on application,it loads but then it stops and doesn't open.Sometimes it opens and freezes.Any ideas?
 
Old 10-10-2006, 05:25 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
From the sound the /home is not a partition of its own. So that means in is part of the / partition. SO in since if / has 5 gig left you have 5 gig left in on the whole partition that can be used anywhere. So if you fill /home with files then the / partition will decrease.

To see partition table look at the contents of your /etc/fstab file. Post if not sure.

For the freezing apps start them from the command line and see if what errors it shows.

Brian
 
Old 10-11-2006, 03:46 AM   #3
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
My fstab :

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=SWAP-hda5 swap swap defaults 0 0


When i installed FC5 i created 4 parttions : root,home,boot,swap
I can only see boot and root now.
Why is that?
When i created home partition was 80Gb ,so i have enough space


As for the applications,if i open them from command line,ihave the same results.For example,i opened rhythmbox player,it opened,but the window freezed.
Thanks for helping

Last edited by ggeo; 10-11-2006 at 03:49 AM.
 
Old 10-11-2006, 03:53 AM   #4
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
It looks like you didn't set a mount point for /home.

Add a line to /etc/fstab, to point to /home. Something like:
Code:
/dev/hda3 /home ext3 defaults 0 1
(Where /dev/hda3 is your home partition).

Then mount /dev/hda3 on /media, and move your home folder from /home to /media. Unmount /media, and then mount /home. Your files should be available in /home as before. Try rebooting, to make sure it is correctly automounted.

I hope this helps
--Ian
 
Old 10-11-2006, 05:24 AM   #5
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
I am going to do as you say but before i want to make a backup for my home folder
So,i run k3b (the first time i use it,i am a new linux user) and it gives me an error when i start burning."impossible the size definition of image file"
At the burning process i chose immediately burning,without making image!
I tried though to choose burning with image creation but still the same!
Also,how can i mount?
If you could tell me what can i do and then deal with the partitions


(I have done yum update before few days)

Thanks

Last edited by ggeo; 10-11-2006 at 07:32 AM.
 
Old 10-11-2006, 04:29 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Ok if you have a partition that is not listed but it is created do the following to get it up.
First what is the partition block device? I am going by the others post /dev/hda3
Now once system is booted try mounting the missing partition like decribed above.
login as root. su -
cd /
mount /dev/hda3 /media
cp -R /home/* /media
umount /dev/hda3
edit fstab file and make it look like post above. Save and exit.
mv /home /home2
mount /dev/hda3 /home
verify data exist.

Brian
 
Old 10-11-2006, 05:32 PM   #7
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
Look what i did and still have no result

I did some other changes with no good result and i am posting.. (They are in order ,first line from Fstab corresponds first line of Mtab and first line of Results and so on)

Fstab
/dev/hda2 /home2 ext3...
LABEL=/dev/hda2 /home2
/dev/hda2 /home2 ...
LABEL=/home2 /home2..
LABEL=/home2 /home2..
LABEL=/home /home..

Mtab
No change
No change
/dev/hda2 ext3 rw 00
/dev/hda2 ext3 rw 00
/dev/hda2 /home2 ext3...
/dev/hda2 /home ext3...

Results
Mount point /home2 doesn't exist
Unable to resolve 'LABEL=/dev/hda2'
Mount point /home2 doesn't exist
Unable to resolve 'LABEL=/home2'
Unable to resolve 'LABEL=/home2'
It goes until login screen.Then error message
Reply With Quote
 
Old 10-13-2006, 02:08 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
If you have all that in fstab and mtab files then it is really messed up. Get rid of any reference to /home /home2 and /dev/hda2 since this is the partition that is 80 gig based on info I do see. Once all cleaned up forget about fstab and mtab for now till the end.

Is the /dev/hda2 the 80 gig drive?
Is it formatted to ext2, ext3, reiserfs, or many others? Best to do ext3 for Fedora.

Format it using the ' mkfs -t ext3 /dev/hda2 ' command as root.
If it does not format you may need to use the ' /sbin/fdisk /dev/hda ' and set the partition type for /dev/hda2.

Now that it is formatted create a directory called /home2 ' mkdir home2 ' at the root of the drive.
Mount /dev/hda2 as /home2. ' mount -t ext3 /dev/hda2 /home2 '
Copy all the data from /home to /home2
Rename /home to say /home_backup
Create a new directory /home. ' mkdir /home '
Umount /dev/hda2 ' umount /dev/hda2 '
Remount /dev/hda2 as /home. ' mount -t ext3 /dev/hda2 /home '
If all looks good the add this line to /etc/fstab only. Forget /etc/mtab
Code:
/dev/hda2               /home                   ext3    defaults        1 2
 
Old 10-14-2006, 07:39 AM   #9
ggeo
Member
 
Registered: Aug 2006
Location: Greece
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks friend but i already have done format..
I did created the other partition ,everything seemed to be ok but after few minutes the system hang and reboot.Then when i tried to run linux rescue it didn't recognize that i have linux on my system.So i format and i created a partition /root with 110Gb and now i am ok!
 
Old 10-14-2006, 10:11 AM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Glad to see you have it working.

Brian
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running out of disk space rpersaud Linux - Newbie 8 05-18-2005 07:05 PM
Running out of space donkyboy Mandriva 9 01-04-2005 08:34 PM
Running out of space? reidsb Linux - Newbie 4 11-28-2003 04:01 PM
help! running out of space! MadMonkey Linux - Newbie 5 09-01-2003 06:00 PM
running out of space on /usr namradi Linux - Newbie 2 05-27-2003 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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