LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-07-2002, 01:53 PM   #1
Difficult
LQ Newbie
 
Registered: Jul 2002
Location: Dallas
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
Question More Room on /


My system

I am using Mandrake 8.0. So I have DiskDrake.

I am using a 60 GB hda1. It is partitioned as follows:

Device Type Size Free Space

/dev/hda1 ext2 3.36GB .732GB
/dev/hda6 ext2 834MB 789MB
/dev/hda7 ext2 2.93GB 1.7GB
Free Space 2.00GB 2.0GB
/dev/hda9 ext2 8.60GB 5.76GB
/dev/hda10 ext2 4.80GB 0GB
/dev/hda11 ext2 22.8GB 0GB


Problems:

My browser (Navigator) occasionally vanishes.

If I go to certain Web pages (Boston Globe, for instance) the entire system freezes up, and I have to re-boot.

I am told I do not have enough space on /hda1 to upgrade to Mandrake 8.2


My goal:

To get enough space to upgrade to Mandrake 8.2 and to WordPerfect Office 2000.


Conundrum:

I try to delete material from / (/hda1) to make room, but cannot find enough stuff to delete. In fact, I can't for the life of me figure out how I am using 3GB in /. I made it that big so that I would always have enough room, and I still don't.

I try to move things around with DiskDrake so that I can add the 2GB unused space on my hard drive to /, but it appears that DiskDrake cannot resize the / partition.


Questions:

Can anyone tell me where to look to find more unnecessary stuff to delete so that I can get more room on / ? I've tried /usr, /tmp, /opt, and everything else I can think of.

If that doesn't work, can anyone tell me what to use to manipulate the space on my hard drive so that I can enlarge / ? (This is the second best option, because if I can't figure out how I've gotten / so big, I'll just keep filling it up, no matter how big I make it.)

[I'm suspecting that PartitionMagic is the answer to the second question.]

If anyone needs any additional information to formulate a reply, please tell me what it is, and I'll supply it.

Thanks for all help.
 
Old 07-07-2002, 02:44 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
I'd stay away from Partition Magic and Linux partitions, nothing but trouble in my case anyhow. GNU parted will resize linux partitions or as you said DiskDrake which would be easiest. Mandrake installs so much during install that 3G isn't all that much unfortunately. I think the best way is going to be to go into dikdrake and shrink hda9 a gig or so and then enlarge hda1.
 
Old 07-07-2002, 04:25 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Or run manrdake expert install (which is easy, in fact) and choose packages to install to fit 3GB.
 
Old 07-07-2002, 06:17 PM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Plese post output from df -m
Do yo mean "/" or /root?
Nothing shouldn't be writing to "/"

Assuming /dev/hda1 is / then you still have over 750mb
of free space so there shouldn't be a problem.

Are you logged in as root when this happens? If so STOP.
You should be using you user account, and su - root
only when required.

Last edited by pickledbeans; 07-07-2002 at 06:22 PM.
 
Old 07-07-2002, 09:02 PM   #5
Difficult
LQ Newbie
 
Registered: Jul 2002
Location: Dallas
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
df -m output:

Filesystem 1M-blocks Used Available Use% Mounted on

/dev/hda1 3443 2534 735 78% /
/dev/hda6 834 2 789 0% /boot
/dev/hda7 2355 1135 1149 50% /cases
/dev/hda9 8802 2278 6077 27% /home
/dev/hda10 4918 4910 0 100% /research
/dev/hda11 23364 22751 0 100% /files
/dev/hda8 9836 5017 5017 54% /oldcases


df -m reports no /root, nor does Disk Free.

What is writing to, or using up the space on, / (/dev/hda1) is very much what I would like to know. I have tried to regain some space on that partition by deleting files in places such as /tmp and /opt, and it appears that there is a relation to /.

I do indeed have about 750 MB available, but the installation program seems to want a little more than 900 MB. As suggested, I could install in Expert mode, and not install some things like games, but I would be right up against the wall, and I would rather have some slack.

Plus, I want to install WordPerfect Office 2000 (recommended disk space - 500MB) in /opt, and I am afraid that will show up as space used in /.

I am indeed logged in as root, and thought I had to be to install/upgrade. I'll re-check.
 
Old 07-07-2002, 09:13 PM   #6
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
You can move anything in /tmp

/root is "root" home direcotory is't not a sepearte partition.

/opt contains stuff like gnome kde

Two other options:

1. move /opt to a seperate partition of it's own , and then edit /etc/fstab to mount it under /opt.

1a. To manualy mount a partition:
mount /dev/part_id /what_ever_mount_point
 
Old 07-07-2002, 09:18 PM   #7
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
You see, there are things like /usr, /var and /tmp all are part of / which means that /tmp is flooding your system with temporarily used files (for instance when you download 3 iso images(650 Mb ea) simultaneously they get stored first in /tmp -> 3x650Mb is going to /tmp flooding your /, next /var all the logs are flooding / as well (try to clean some of them /var/log is a good condidate), /usr by the FHS (file system hierarchy standart) /usr is the directory where all user programms reside, so if it is a part of / it affects root (/) in a greate degree. So, what I'd do I would back up all the /files, /oldcases other critical data you might have and do clean install of Mandy 8.2 keeping in mind creating separate partitions for /, /usr (at least 3 Gb for full mandy install), and /tmp.
 
Old 07-08-2002, 12:34 AM   #8
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
FHS is bull of beans,
They problem is he/she need to make more room on the root disk, that what I was addressing specifly
 
Old 07-08-2002, 12:41 AM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Is it a bull of pickledbeans? just kidding don't get offended. anyway almost all the programms you install by default are going into /usr, usr/local, so to make /usr a separate partition is reasonable.
 
Old 07-08-2002, 12:52 AM   #10
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
Your are wrong ol' pegnum breath
The ones I install go under there own subdirectory

./configure --prefix=/opt/apache ...etc

Which according ti FSH is where "optional" program go...
which of course inlcudes (IMHO) databases, mozilla, ssh?, apache . and office suites.

It is fairly common in "production" settings to give a group
of people "ownership" of a set processes, for instantance, placing Apache under it owns directory tree , you can hand it over to the web-dev folks, and eveything they need
is under /opt/apache.

I'm speaking from experience here dealing with large corporate data centers.

Last edited by pickledbeans; 07-08-2002 at 12:58 AM.
 
Old 07-08-2002, 01:04 AM   #11
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I know all this you can install wherever you want, but concider a regular linux user who is told to do
./configure
make
make install
after these steps it would go anywhere the developer pleases, after OS installation where most likely you will find an executable, in /opt?
Yeah we are getting into a flame war here, so let's not, let's help the guy who needs an advise to get around it, I know what it's like when you have less then 5% of free space left ( of course if these 5% are not 53432 Therabytes),I think in this case the re-install is inevitable, unless he/she wants to shrink /home partition, get rid of /files, /oldcases and /cases all together, and resize / with parted. As for me I'd never go for reinstall unless it is a last resort when there is no way out, but ....
 
Old 07-08-2002, 11:26 AM   #12
Difficult
LQ Newbie
 
Registered: Jul 2002
Location: Dallas
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
I appreciate the efforts of all to get me to my destination. It appears I am going to be using all of the suggestions. I need a little more information, though, to get me all the way home. So I would appreciate, again, any thoughts on the following matters.

Where I am now -

I moved everything from dev/hda7 (/cases), then tacked on some free space at its end, and ended up with a 4.8GB partition.

Next, as suggested by pickledbeans, I am going to mount it as /programs or /executable or /applications or some such, and as suggested by neo77777, override the defaults on whatever I install in the future and put them on this partition.

This solves problems from the future, I hope, but as for the present, it only brings me back to the beginning: I have a 3.4GB / partition, and I want to get Mandrake 8.2 onto it. As for upgrading, I only have 735MB free, and that appears not enough to upgrade. As for deleting some things from there, it doesn t appear possible. If I deleted what little is left of /tmp, I would get back only a few MB. Other than mount points, the only ls shows to be there are bin, dev, etc, lib, lost+found, mnt, opt, proc, samples, sbin, shbin10, shlib10, tmp, usr, and var. I don t know, but I seriously doubt that I can delete enough of them to get the space I need to upgrade to 8.2

It doesn t appear from the posts to this point that, even though I have free space on the drive, I can get that space taken from one partition and allocated to /. Much less that I can do it safely.

So my next scheme - and this is what I would like advice on - is to delete everything on /, and then just install. Do it in Expert Mode (I did that for 8.0), as suggested by Mara, and not install things that I am never going to use, like games. I have 8.2 on CD s. After everything is cleared, I just shutdown, slap in CD Number One, and boot up. It seems like I would have plenty of room. It all appears like it would work. But before I delete everything under /, I would like to know if everything is as it appears, or if there is some hidden danger here.

Again, thanks for all of the help.appears
 
Old 07-08-2002, 12:54 PM   #13
mirkokl
LQ Newbie
 
Registered: May 2002
Posts: 20

Rep: Reputation: 0
What about one big partition? Or - if needed - one small bot partition at the beginning and the rest one partition?

Anyway, I'd use standard names and not reconfigure everything to use /applications or the like - it might prove to be a little bit difficult.
 
Old 07-08-2002, 04:58 PM   #14
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Quote:
What about one big partition? Or - if needed - one small bot partition at the beginning and the rest one partition?
Bad idea if in the case of Difficult / is getting bloated and no light is seen then all the /cases, /old_cases, /whateverisimportant is going down with /. So it is better to have separate partitions for your most critical files.
 
Old 07-10-2002, 11:55 AM   #15
mirkokl
LQ Newbie
 
Registered: May 2002
Posts: 20

Rep: Reputation: 0
In my opinion today's file systems are stable enogh.
 
  


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
Chat Room? plisken LQ Suggestions & Feedback 6 11-26-2005 10:47 AM
no more room in partition! jnev Linux - General 7 09-21-2005 09:58 PM
I've run out of room... Thaidog Linux - Newbie 6 04-24-2004 03:38 AM
mozilla says not enough room win32sux Mandriva 11 12-15-2003 09:12 PM
Chat room LinuzRulz General 11 06-07-2002 09:26 AM


All times are GMT -5. The time now is 10:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration