[wellylug] Where's my disk space gone revisited...
Andrew
zrx1100 at paradise.net.nz
Mon Aug 18 07:36:57 NZST 2003
Hi,
On Monday, August 18, 2003, at 12:17 AM, Chris Harris wrote:
>
>> I *think* I follow what you're doing, but I problem is I need to
>> increase
>> the size of /var at the expense of /home and/or /usr
>>
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/hda3 4648896 34632 4378112 1% /home
>> /dev/hda2 12697360 4535656 7516696 38% /usr
>> /dev/hda6 1027768 850556 125004 88% /var
>>
>> Would your suggestion do this? I can't see it working as you seem to
>> be
>> making a new partition, or am I missing something?
>
> the idea is you make a file on /home or /usr and use it as a new
> 'partition'
> mounted where you need the space
>
>>
>> The only effect the current situation is having is I can't update
>> the system
>
> how much space does the update require?
At the moment I think it's in excess of 40 megs...
>> due to a lack of space on /var (for Red Hat up-to-date). The machine
>> is a
>> just a web-server.
>>
>>> you might want to substitute /usr and /var/log/apache/ or where
>> your http
>>> logs are for my examples
>>
>> Making a guess I need to substitute /usr and /var/spool/up2date for
>> your
>
> sounds about right but I don't know redhat.
>
>> examples... And remove the old /var/spool/up2date? Correct?
>
> or move the content into the new pseudo volume via /home
>
> another trick is to NFS or SMBFS mount some spare space where you need
> it.
>
> or you could copy the content of /var into /home and vice a versa and
> edit
> fstab to swap the two entrys and reboot.
Hmmm, That may work but sounds beyond a beginner like me.
As far as space goes /hda2 and /hda6 could just swap files/mount points
and all would be fine space wise.
AFAIK the up2date tool can't be changed as to which directory it spools
the rpms to before installing them. (And that might present another
issue - where are the 'system' files installed?)
> have you trimmed your log files?
Not yet - there is only 5 megs of them.
I think I should can this machine to the next meeting and someone can
walk me through it. Any volunteers?
Cheers
Andrew
--
zrx1100 at paradise.net.nz
http://zrx.homeip.net/index.html
More information about the wellylug
mailing list