[wellylug] Where's my disk space gone revisited...
Chris Harris
chris.harris at actrix.gen.nz
Mon Aug 18 00:17:44 NZST 2003
Hi
> -----Original Message-----
> From: wellylug-admin at lists.naos.co.nz
> [mailto:wellylug-admin at lists.naos.co.nz]On Behalf Of Andrew Presant
> 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?
> 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.
have you trimmed your log files?
C
More information about the wellylug
mailing list