Perfileset df explanation
All, Can someone explain that this means? :: --filesetdf Displays a yes or no value indicating whether filesetdf is enabled; if yes, the mmdf command reports numbers based on the quotas for the fileset and not for the total file system. What this means, as in the output I would expect to see from mmdf with this option set to Yes, and No? I don't think it's supposed to give any indication of over-provision and cursory tests suggest it doesn't. Thanks Richard
Hi Richard, I don't think mmdf will tell you the answer you're looking for. If you use df within the fileset, or for the share over NFS, you will get the free space reported for that fileset, not the whole file system. Cheers, Luke. From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 16 March 2016 16:03 To: 'gpfsug-discuss@spectrumscale.org' <gpfsug-discuss@spectrumscale.org> Subject: [gpfsug-discuss] Perfileset df explanation All, Can someone explain that this means? :: --filesetdf Displays a yes or no value indicating whether filesetdf is enabled; if yes, the mmdf command reports numbers based on the quotas for the fileset and not for the total file system. What this means, as in the output I would expect to see from mmdf with this option set to Yes, and No? I don't think it's supposed to give any indication of over-provision and cursory tests suggest it doesn't. Thanks Richard The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
(Sorry, just found this in drafts, thought I'd sent it yesterday!) Cheers Luke. Sorry, I wasn't actually wanting to get over-provisioning stats (although it would be great!) just that I thought that might be what it does. Richard From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Luke Raimbach Sent: 16 March 2016 16:06 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Perfileset df explanation Hi Richard, I don't think mmdf will tell you the answer you're looking for. If you use df within the fileset, or for the share over NFS, you will get the free space reported for that fileset, not the whole file system. Cheers, Luke. From: gpfsug-discuss-bounces@spectrumscale.org<mailto:gpfsug-discuss-bounces@spectrumscale.org> [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Sobey, Richard A Sent: 16 March 2016 16:03 To: 'gpfsug-discuss@spectrumscale.org' <gpfsug-discuss@spectrumscale.org<mailto:gpfsug-discuss@spectrumscale.org>> Subject: [gpfsug-discuss] Perfileset df explanation All, Can someone explain that this means? :: --filesetdf Displays a yes or no value indicating whether filesetdf is enabled; if yes, the mmdf command reports numbers based on the quotas for the fileset and not for the total file system. What this means, as in the output I would expect to see from mmdf with this option set to Yes, and No? I don't think it's supposed to give any indication of over-provision and cursory tests suggest it doesn't. Thanks Richard The Francis Crick Institute Limited is a registered charity in England and Wales no. 1140062 and a company registered in England and Wales no. 06885462, with its registered office at 215 Euston Road, London NW1 2BE.
If you have a fileset quota, 'df' will report the size of the fileset as the max quota defined, and usage as how much of the quota you have used. -jf ons. 16. mar. 2016 kl. 17.03 skrev Sobey, Richard A <r.sobey@imperial.ac.uk
:
All,
Can someone explain that this means? ::
--filesetdf
Displays a yes or no value indicating whether filesetdf is enabled; if yes, the mmdf command reports numbers based on the quotas for the fileset and not for the total file system.
What this means, as in the output I would expect to see from mmdf with this option set to Yes, and No? I don’t think it’s supposed to give any indication of over-provision and cursory tests suggest it doesn’t.
Thanks
Richard
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Ah, I see, thanks for that. From: gpfsug-discuss-bounces@spectrumscale.org [mailto:gpfsug-discuss-bounces@spectrumscale.org] On Behalf Of Jan-Frode Myklebust Sent: 16 March 2016 16:13 To: gpfsug main discussion list <gpfsug-discuss@spectrumscale.org> Subject: Re: [gpfsug-discuss] Perfileset df explanation If you have a fileset quota, 'df' will report the size of the fileset as the max quota defined, and usage as how much of the quota you have used. -jf ons. 16. mar. 2016 kl. 17.03 skrev Sobey, Richard A <r.sobey@imperial.ac.uk<mailto:r.sobey@imperial.ac.uk>>: All, Can someone explain that this means? :: --filesetdf Displays a yes or no value indicating whether filesetdf is enabled; if yes, the mmdf command reports numbers based on the quotas for the fileset and not for the total file system. What this means, as in the output I would expect to see from mmdf with this option set to Yes, and No? I don’t think it’s supposed to give any indication of over-provision and cursory tests suggest it doesn’t. Thanks Richard _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org<http://spectrumscale.org> http://gpfsug.org/mailman/listinfo/gpfsug-discuss
The 'mmdf' part of the usage string is actually an error, it should actually say 'df'. More specifically, this changes the semantics of statfs (2). On Linux, the statfs syscall takes a path argument, which can be the root directory of a file system, or a subdirectory inside. If the path happens to be a root directory of a fileset, and that fileset has the fileset quota set, and --filesetdf is set to 'yes', the statfs returns utilization numbers based on the fileset quota utilization, as opposed to the overall file system utilization. This is useful when a specific fileset is NFS-exported as a 'share', and it's desirable to see only the space used/available for that 'share' on the NFS client side. yuri From: "Sobey, Richard A" <r.sobey@imperial.ac.uk> To: "'gpfsug-discuss@spectrumscale.org'" <gpfsug-discuss@spectrumscale.org>, Date: 03/16/2016 09:05 AM Subject: [gpfsug-discuss] Perfileset df explanation Sent by: gpfsug-discuss-bounces@spectrumscale.org All, Can someone explain that this means? :: --filesetdf Displays a yes or no value indicating whether filesetdf is enabled; if yes, the mmdf command reports numbers based on the quotas for the fileset and not for the total file system. What this means, as in the output I would expect to see from mmdf with this option set to Yes, and No? I don’t think it’s supposed to give any indication of over-provision and cursory tests suggest it doesn’t. Thanks Richard _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (4)
-
Jan-Frode Myklebust -
Luke Raimbach -
Sobey, Richard A -
Yuri L Volobuev
