ONTAP Discussions

Is there a way to list shares into a volume on 7-Mode?

Quang-Chinh
1,887 Views

Dear all,

 

Do you know if there is a way to list the shares/FS?

The idea behind is for a customer who is currently migrating his 7-Mode system to be able to list the shares that have already been migrated with renaming the qtree/shares/FS.

Maybe there is a flag that we could set up and perform a command to list the shares with this specific flag?

 

Thank you for your guidance.

Regards,

3 REPLIES 3

paul_stejskal
1,841 Views

Maybe I don't understand the ask, but cifs shares should give you the /vol/volume/qtree/etc. mount point. Here's the documentation link for 7-mode in general: https://mysupport.netapp.com/documentation/docweb/index.html?productID=62512&language=en-US


Main MAN page link: https://library.netapp.com/ecmdocs/ECMP1511537/html/index.html

 

Here's the man page for cifs shares: https://library.netapp.com/ecmdocs/ECMP1511537/html/man1/na_cifs_shares.1.html

James_Huang
1,794 Views
  • For Displaying CIFS shares paths

Hostname> cifs shares

  Name              Mount Point             Description
  ----              -----------             -----------
  HOME              /vol/vol0/home          Default Share
                            everyone / Full Control
  C$                /vol/vol0               Remote Administration
                            BUILTIN\Administrators / Full Control
  ENGR              /vol/vol0/engr          Engineering
                            Machine Account access disabled
                            DOMAIN\Engineering / Full Control
  ENGRSW            /vol/vol0/engr-sw       Software Engineering
                            Machine Account access disabled
                            DOMAIN\Engineering / Full Control
  ENGRHW            /vol/vol0/engr-hw       Hardware Engineering
                            Machine Account access disabled
                            DOMAIN\Engineering / Full Control
  NEWS              /vol/vol0/news          News
                            DOMAIN\Guests / No Access
                            everyone / Read

 

  • For Displaying NFS exported file system paths
    The following command displays all exported file system paths and their corresponding export options:

 

 Hostname> exportfs

Quang-Chinh
1,773 Views

Thank you all for your input. I'll provide this to cust and we will see.

Public