View previous topic :: View next topic |
Author |
Message |
mp1
Joined: 07 Mar 2006 Posts: 200
|
Posted: Tue Dec 15, 2009 6:26 am Post subject: Understanding problem with UNC free space check |
|
|
Hi,
If I check a volume on a linux server with f.e. df -m, I will get the following reply:
/dev/mapper/mpath0p1 201585 141501 49844 74% /var/www
So, I have 49.844 mb free space on this volume.
With the agent, I will get 60.081 mb.
I understand that the agent is using statfs.
Where is there the exactly differnce?
I am not a linux specialist, although our specialist says, that there should be only a differnce from 5 % (reservation for the root user)
Is this right?
Thanks in advance
Martin |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Dec 15, 2009 6:44 pm Post subject: |
|
|
Yes, RMA uses statfs API.
UNC test offers several options
- check free space available for caller
- check total free space
- ...
In 1st case RMA checks free blocks avail to non-superuser (f_bavail), in 2nd case RMA uses total free blocks counter (f_bfree).
Which option do you use for the test?
Regards
Alex |
|
Back to top |
|
|
mp1
Joined: 07 Mar 2006 Posts: 200
|
Posted: Wed Dec 16, 2009 2:14 am Post subject: |
|
|
Quote: | Which option do you use for the test? |
Ahhh, thanks
I used "total free space" - with free space for caller it's the same as the df command. Linux is not my world
Best regards,
Martin |
|
Back to top |
|
|
|