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,
which API gives the export information of the qtree. i need to know what are are the protocols(nfs/cifs/both) supported by the qtree thru' API.
if a volume contains multiple qtrees then how to get the filesystem size per qtree.
Thanks,
Muruges
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Muruges,
1. Which API gives the export information of the qtree?
What information are you looking for? The nfs-exportfs-list-rules-2 gives the rules for the exports including a qtree.
2. I need to know what are are the protocols(nfs/cifs/both) supported by the qtree thru' API.
For CIFS, use the cifs-share-list-iter-start/next/finish. If the qtree is in both the CIFS list and the NFS exportfs list, then the qtree can be
accessed by both protocols.
3. If a volume contains multiple qtrees, then how to get the filesystem size per qtree?
There are two answers: use quotas or sum all the file sizes in the qtree.
Once a quota is added to a qtree, quota-report-iter-start/next/end can be used to obtain how much space the qtree is using.
Using file-list-directory-iter-start/next/end, you can obtain all the file sizes in the qtree directory and sum them.
I recommend using quotas.
Regards,
- Rick -
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Muruges,
Are you questions for clustered ONTAP or 7-mode?
Regards,
- Rick -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rick,
the questions are for ONTAP 7-mode.
Thanks,
Muruges
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Muruges,
1. Which API gives the export information of the qtree?
What information are you looking for? The nfs-exportfs-list-rules-2 gives the rules for the exports including a qtree.
2. I need to know what are are the protocols(nfs/cifs/both) supported by the qtree thru' API.
For CIFS, use the cifs-share-list-iter-start/next/finish. If the qtree is in both the CIFS list and the NFS exportfs list, then the qtree can be
accessed by both protocols.
3. If a volume contains multiple qtrees, then how to get the filesystem size per qtree?
There are two answers: use quotas or sum all the file sizes in the qtree.
Once a quota is added to a qtree, quota-report-iter-start/next/end can be used to obtain how much space the qtree is using.
Using file-list-directory-iter-start/next/end, you can obtain all the file sizes in the qtree directory and sum them.
I recommend using quotas.
Regards,
- Rick -
