[gpfsug-discuss] Quota Idea / RFE

Jan-Frode Myklebust janfrode at tanso.net
Fri Jul 8 14:55:15 BST 2022


Maybe use something like this (untested):

mmrepquota -u -v -f gpfs0 | awk -F: 'NR>2 {print "quota: device=gpfs1
command=setQuota type=USR id=" $9 " blockQuota=" $12 " blockLimit=" $13}' >
/tmp/quota.stanza
mmsetquota -F /tmp/quota.stanza


  -jf

On Fri, Jul 1, 2022 at 11:51 AM Peter Childs <p.childs at qmul.ac.uk> wrote:

> I've opened a Spectrum Scale Idea for Enhancement,
> https://ibm-sys-storage.ideas.ibm.com/ideas/GPFS-I-857 I suspect I'm not
> the first one trying to achieve this so it might be worth upvoting the idea.
>
> Basically I'd like to see some way to copy quotas between filesystems,
> either within scale and outside that can in theory be already done with
> mmedquota -F but there is no way to dump the quotas in this format
> currently.
>
> Thanks
>
>
>
>
> Peter Childs
>
> _______________________________________________
> gpfsug-discuss mailing list
> gpfsug-discuss at gpfsug.org
> http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gpfsug.org/pipermail/gpfsug-discuss_gpfsug.org/attachments/20220708/2961543f/attachment-0001.htm>


More information about the gpfsug-discuss mailing list