Operating System - HP-UX
1840014 Members
3066 Online
110159 Solutions
New Discussion

unable to gain place in / file system

 
SOLVED
Go to solution
DECORSE Olivier
Occasional Advisor

unable to gain place in / file system

Hello,
yesteday, i do a mistake : i run the sar command, with "-o" option, and all data producted where placed in a /sar.file.
So i became today "vxfs : unable to extend / filesystem, filesystem is full" in syslog.log.
So i move my file with "mv /sar.file /home/sar.file" but / is always 98% full : only 2% difference !!?? (it was less than 50% before running the sar command !!!). I check every directory under / that are not mounted : sbin, bin, etc, lib, and so one, but the every size is ok.
it seems that the file was not realy moved !!
Of course, /home is a mounted directory and there is a lot of place in it.
i've got an other machine that is the same one (ignite configuration) and / is only 50% used !!!
there are D-280 with hpux 10.20.

What can i do ?
thank's a lot ! Olivier.
2 REPLIES 2
Steven Sim Kok Leong
Honored Contributor
Solution

Re: unable to gain place in / file system

Hi,

Is your sar -o still running. If you moved the sar output file while sar is still running, the open file will still exist in /. Terminate the sar process to free up the space.

If that does not help, use lsof on / to check for open files residing in / that are occupying the space in /.

Download lsof for 10.20 and 11.00:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.55/

Download lsof for 11i:

http://www.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
DECORSE Olivier
Occasional Advisor

Re: unable to gain place in / file system

Thank's a lot Steven : you're write :
1) sar was not anymore running,
2) i don't move the file when sar was running,
3) i run lsof, searching for "/ " and for the exact size of the file that sar producted and found :
sadc 4328 root 3w VREG 64,0x3 59985920 746 / (/dev/vg00/lvol3)
so i think they'are 2 possibilities :
- shutdown the box,
- kill this sadc process

i kill the process, and recover all my "50% free" / size !!

thank's a lot, and happy christmas and new year !!

Olivier.