Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
How can I enable quota over NFS for my linux clients? (CentOS 7)
I have issued "nfs modify -vserver $SVM_NAME -rquota enabled" command, but still can't get 'quotaon' to work in client (using ver 4 of NFS).
[root@cameron ~]# quotaon -u /mnt/netapp_home
quotaon: Mountpoint (or device) /mnt/netapp_home not found or has no quota enabled.
Do I need anything else in client side? Or ONTAP just doesn't support it?
Tks!
6 REPLIES 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
From the command you issuing it seems that you are enabling rquota ( remote quota). If you are referring to quota, you will need to create a policy on the volume level and proceed and enable quota.
Below is couple link to help you with your request:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, I would like to set and read quota information from my linux client, that's why I enabled remote quota. But still doesn't work.
I'm wondering if Netapp support it or if I need any other parameter during mount (like 'usrquota' for local filesystems).
Thep oint is that I can't set and get quota information from my linux client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
ONTAP supports the remote quota protocol version 1 (rquota v1).
The rquota protocol enables NFS clients to obtain quota information for users from a remote machine.
Are you only using NFS v4 in your environement?
Is NFS v3 enable at the export policy level?
I would recommend adding NFSv3 to export policy alongside with NFSv4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jonis,
We have made improvements to better support rquota with ONTAP 9.6 and more so in ONTAP 9.7. Which ONTAP version are you using? There are other options that must be configured as well for quotas to work. Have you configured a quota policy for the volume specifically using the command "volume quota policy rule create"?
You can reference this for more details on the command:
https://library.netapp.com/ecmdocs/ECMP1366832/html/volume/quota/policy/rule/create.html
Regards,
Team NetApp
Team NetApp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys!
I'm using ONTAP 9.6 and I managed to get it working, everything was fine, just my client isn't seen quota.
The only remaining 'problem' is to set quota using client. Is it possible? I don't think so, but you are the experts and know the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
rquota version 1 is the only verison supproted.
You should be able to test if the rquota is working by running the below command from the filer and the linux box and make sure it match:
Filer side: volume quota report -vserver <name> -volume <vol>
Host Side: quota -u <username>
