Hi All
Many thanks to those of you who responded;
Melanie Dymond Harper <mel@vanyel.herald.co.uk>
Casper Dik <casper@holland.Sun.COM>
Torsten Metzner <tom@math.uni-paderborn.de>
Martin Espinoza <drink@sei.com>
Herbert Wengatz <hwe@uebemc.siemens.de>
steveb@pcs.co.uk (Steve Butterfield)
Jason Keltz <cs911089@ariel.cs.yorku.ca>
As most of you pointed out this problem arose by deleting an open file, I was
given these options;
Use 'clri' (see man page)
echo > filename;rm filename
cat /dev/null > filename
Please find attached original question.
Regards,
Stephen.
Stephen Johnston wrote:
>
> Hi All
>
> I have an Ultra 140 with 160Mb of RAM running Solaris 2.5.
>
> There is a certain amount of swap in the root partition, this is a permenant
> swap file.
>
> We have a piece of code (HSpice to be exact - an analogue simulator) which is
> running out of swap. When this happens it creates a file of messages saying
> so as some simulations run overnight this file eventually fills up the root
> partition.
>
> We kill the HSpice job which ran out of space thus freeing the swap. We
> remove the file of error messages but the space on / is not freed. An fsck
> -n show an unref'ed Inode for the file. Can anyone suggested how we can free
> this space, not being able to run fsck on amounted f/s we can't do that, nor
> are we in a position to add more swap or memory?
-- Stephen Johnston, Systems Manager Tel: +44 131 6679386 Wolfson Microelectronics Fax: +44 131 6675176 Edinburgh EH8 9NX
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:11 CDT