|
|
|
|
|
|
| Author |
Message |
ckbcouture@gmail.com *nix forums beginner
Joined: 31 May 2006
Posts: 2
|
Posted: Wed May 31, 2006 3:16 pm Post subject:
/var out of disk space, but not...
|
|
|
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?
Thanks,
Cameron |
|
| Back to top |
|
 |
David Lord *nix forums Guru Wannabe
Joined: 03 Mar 2005
Posts: 113
|
Posted: Wed May 31, 2006 4:43 pm Post subject:
Re: /var out of disk space, but not...
|
|
|
On 31 May, in article
<1149088579.917473.55490@c74g2000cwc.googlegroups.com>
ckbcouture@gmail.com wrote:
| Quote: | 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@lordynet.demon.co.uk |
|
| Back to top |
|
 |
ckbcouture@gmail.com *nix forums beginner
Joined: 31 May 2006
Posts: 2
|
Posted: Wed May 31, 2006 7:40 pm Post subject:
Re: /var out of disk space, but not...
|
|
|
Actually, it turns out that I had deleted an open file. Restarting the
process (in this case named) released the open file and returned the
disk space to me.
Thanks,
Cameron
David Lord wrote:
| Quote: | On 31 May, in article
1149088579.917473.55490@c74g2000cwc.googlegroups.com
ckbcouture@gmail.com 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@lordynet.demon.co.uk |
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Wed Dec 03, 2008 11:47 pm | All times are GMT
|
|
Company Reports | Personal Loans | Secured Loans | Mortgage | SMS-Sprüche
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|