1832891 Members
2219 Online
110048 Solutions
New Discussion

Free partition size

 
Wagner_6
Occasional Contributor

Free partition size

Hallo

Is there any requirement concernig the free size in partition.
We have a separate /home partition. It was filled with more than 99 percent. I recognized yesterday that a cp command failed in a script. Unfortunately I dit not log the error message, but I saw that cp has deleted the dest file before of failure.
Urs
3 REPLIES 3
Pete Randall
Outstanding Contributor

Re: Free partition size

Hi,

I'm unaware of any "requirement" for free space. Commands, such as your cp, will fail if they have no room to write their output and this may cause problems for your system as well, but it's not required to have x percent free.

Pete

Pete
Ravi_8
Honored Contributor

Re: Free partition size

Hi,

cp and mv creates the dest file if successful.
In ur case, script trying to copy a file to /home, since there is no sufficient space under /home cp is failing.
never give up
Leif Halvarsson_2
Honored Contributor

Re: Free partition size

Hi
With hfs filesystems there was a recommendation of min. 10% free. I am not sure if there is a similar recommendation with vxfs filesystem. The free space is much up to your own needs, 1% seems to be far to small.