Hello Larry,
The output of cat /etc/fstab shows that /var is in LABEL=/var The output
of /sbin/fdisk -l is as follows
Device Blocks
Hda1 56196
Hda2 19952730
Hda5 8843751
Hda6 8843751
Hda7 265041
Hda8 265041
Hda9 200781 swap
I have been able to get /var down to about 55M by deleting most of the logs
and removing all of the win4lin files that were in there. Of the 55M, 30M
of it is in /var/lib.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Larry Grover
Sent: Thursday, September 13, 2001 1:19 PM
To: [EMAIL PROTECTED]
Subject: RE: Running a windows program on a linux box
On Wed, 12 Sep 2001 20:03:45 Michael Klama wrote:
> Larry,
> You are absolutely right. df -h revealed that /var is filled to
> capacity...absolutely no free space left. Being the amateur that I
> am,
> would it be possible for you to give me a clue as to how I can move
> files
> out of the /var directory to another directory? Or, better yet, is
> there a
> way to allocate some of the free space that I have in another
> directory into
> the /var directory? I really appreciate your help.
> Mike
This shouldn't be too hard to fix. First, you will need some
information: what partition /var is mounted on, what partition(s)
have free space, and what is taking up all the room in /var.
(1) What partition is /var mounted on? You can find this out by
running the command, "cat /etc/fstab".
(2) What partition(s) have free space? Run "/sbin/fdisk -l". You'll
need to be root to do this.
(3) What is taking up all the space in /var? Run "du -sh /var/*". I
suspect that the biggest directory under /var will be /var/win4lin, so
the results of "du -sh /var/win4lin/*" should also be helpful.
With this information, you can decide among several options:
(1) Once the win4lin install is done, you won't need the files in
/var/win4lin/installer_tmp. You'll probaly want to keep these files,
however, since they include the win4lin rpm's. I'd simply move them
to a directory with lots of free space, maybe into a directory in /tmp
or ~/. Use "mv" from the command line or a file manager if you prefer
-- try midnight commander, "mc" (if you don't already have a favorite
file manager). You'll need to do this as root. This is probably your
easiest option, and it may well free up enough space to get your
machine running again (there's 27M of files in
/var/win4lin/installer_tmp in the system I am on right now).
(2) Another option would be to move /var/win4lin to another partition,
and create a link back to /var/win4lin. You would use the "mv" and
"ln" commands to do this, or you could do this with midnight commander
(or maybe some other file manager).
(3) You could repartition your disk(s) to give more space to /var
(tools to do this included parted, which comes with rh7.1, or
Partition Magic, a commerical product) -- if you decide to do this,
make sure you have good backups of anything important!! This is
probably your hardest option.
(4) You could add another harddrive, and partition off some space of
/var on it. This isn't too hard to do, if you happen to have a spare
drive or can buy a new drive.
There may be other options, but that's all I can think of right now.
If you need help with any of these, I or someone else on this list
should be able to help.
One more thing you might want to do, to help keep some free space in
/var, is add the "compress" option to your /etc/logrotate.conf file.
This will cause logrotate to compress (gzip) any the log files that it
manages (the files will be gzipped when they are rotated).
--
Larry Grover, PhD
Assoc Prof of Physiology
Marshall Univ Sch of Med
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list