Re: /var out of disk space, but not...
- From: snews@xxxxxxxxxxxxxxxxxxxx (David Lord)
- Date: Wed, 31 May 2006 16:43:23 +0000 (GMT)
On 31 May, in article
<1149088579.917473.55490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
ckbcouture@xxxxxxxxx wrote:
HI.
So I have a problem with my /var partition. I am unable to write to it
and get "/var: write failed, file system is full" and "close failed:
[Errno 28] No space left on device" when I do.
If I look at disk usage using df, I get:
Filesystem 1M-blocks Used Avail Capacity Mounted on
/dev/ld0a 4585 2784 1571 63% /
/dev/ld0f 4851 4617 -8 100% /var
/dev/ld0e 9695 6129 3081 66% /usr
/dev/ld0g 9695 2872 6337 31% /home
/dev/ld0h 38788 9461 27386 25% /www
kernfs 0 0 0 100% /kern
procfs 0 0 0 100%
/usr/pkg/emul/linux/proc
elk:/www/staging 38788 10463 26384 28%
/www/staging
rhino:/www/production 268340 12743 241966 5%
/www/production
If I look at /var using du, I get:
srvrs01# du -sPm /var
1125 /var
Clearly there is a discrepancy here and I can't find anything to delete
to free up the disk space. Any ideas on what is wrong and what I can
do to fix it?
Usually this might be where you have files in an existing /var
and have then mounted another partition on top so hiding the
original files.
(1) What does mount show?
(2) and if any device is mounted on var do 'umount' /var
then check with ls and du again before remounting.
David
--
The Reply-To: is valid for at least 30 days after posting date
David Lord - david@xxxxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: /var out of disk space, but not...
- From: ckbcouture@xxxxxxxxx
- Re: /var out of disk space, but not...
- References:
- /var out of disk space, but not...
- From: ckbcouture
- /var out of disk space, but not...
- Prev by Date: Re: vi editing mode & ip address on NetBSD3.0
- Next by Date: Re: /var out of disk space, but not...
- Previous by thread: /var out of disk space, but not...
- Next by thread: Re: /var out of disk space, but not...
- Index(es):
Relevant Pages
|