Operating System - HP-UX
1832367 Members
2946 Online
110041 Solutions
New Discussion

Re: File systems restricting growth

 
Paul Clayton
Frequent Advisor

File systems restricting growth

I have requirement to restict a file system of 150Gb, so that whe there is still 4gb left of "free space", the users will not be allowed to write into this free space until it is released. Is this doable? I don't want to set quotas based on user limits, as many users use this specific file system.
4 REPLIES 4
IT_2007
Honored Contributor

Re: File systems restricting growth

To expand file system you don't need 4GB free space. 100KB free space on filesytem would be sufficient to expand. Without setting disk quotas you won't be able to restrict users to use it.
Patrick Wallek
Honored Contributor

Re: File systems restricting growth

What about creating a 4GiB filler file? That way, when the filesystem reaches 100% full, you have the 4GiB filler file that you can delete, thus releasing the space.

Create the file with:

# prealloc FILLER 4294967296
Paul Clayton
Frequent Advisor

Re: File systems restricting growth

thanx that answer the question.
Paul Clayton
Frequent Advisor

Re: File systems restricting growth

Ok thanx. Pity though. It would have been a nicer process to have block a total file system from growing.