[Novalug] another more or less trivial question for a tech session.

Shawn Wells swells at redhat.com
Thu Jan 3 12:25:28 EST 2008



Nino Pereira wrote:
> Hi, to all you gurus:
>
> here's another problem, of the type that can hang you up forever
> until you hear the solution from an expert: what to do when you have
> 'not enough space left on device'.
>
> When I update and upgrade, all the space in /var is eaten up somehow,
> taken up. df gives:
>
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hda1              5044156    218240   4569684   5% /
> tmpfs                   518356         0    518356   0% /lib/init/rw
> udev                     10240      1532      8708  15% /dev
> tmpfs                   518356         4    518352   1% /dev/shm
> /dev/hda6              1011928   1007600         0 100% /var
> /dev/hda5              1011928     26356    934168   3% /tmp
> /dev/hda7             10080488   4455172   5113248  47% /usr
> /dev/hda8             10080488    413752   9154668   5% /opt
> /dev/hda9             40321996  10736080  27537632  29% /home
> /dev/hda10            46538796     69492  46469304   1% /scratch
>
> But, /opt is almost empty. The two questions that come up are:
> 1: where did all the space go? and how do you find this out; and
> 2: how do you give /var more space?
>
> On 2, I once made a soft link to something that's empty, like /opt.
> I suspect it's /opt/apt-archives, but, how do I find out whether there's
> a soft link to this directory?
>
> Questions, questions...
>
> Nino
>
> _______________________________________________
>

For starters, think about converting your systems to use LVM.  You can 
allocate space as needed, without reboot.

-- 
Shawn D. Wells
Solutions Architect, Federal Team
swells at redhat.com
C: 443-534-0130


-------------- next part --------------
A non-text attachment was scrubbed...
Name: swells.vcf
Type: text/x-vcard
Size: 288 bytes
Desc: not available
Url : http://calypso.tux.org/pipermail/novalug/attachments/20080103/355ecd69/swells.vcf


More information about the Novalug mailing list