[Samba] Disk free space, quotas and GPFS
Christian M Ambach
christian.ambach at de.ibm.com
Wed Jun 8 02:48:13 MDT 2011
Jonathan wrote on 06/07/2011 05:10:43 PM:
> In order to get robust and frankly usable quotas we are making extensive
> use of filesets (think directory quotas and you won't go far wrong).
> Basically every share is in a fileset of it's own including all the
> users home directories. All the filesets have a quota attached to them.
>
> What I would like is to have the disk size and usage reported by windows
> to be quota limit and usage for the fileset, rather than for the entire
> file system as at over 100TB it is somewhat misleading.
You can use mmchfs <filesystem> --filesetdf to get what you are looking
for.
Diskfree lookups will then see the remaining quota in the fileset instead
of the free space in the whole filesystem.
You'll need GPFS 3.3 or later for this flag to be available.
Regards,
Christian
More information about the samba
mailing list