NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

ERROR ON " snapdrive storage list -filer xxx"

netappmagic
5,007 Views

I am getting the following error. What name should  I use after the option of "-filer"? I tried cluster name, vserver name, and node name, all result the same error. What is the right sytax?

Please help! 

 

# snapdrive  storage  list -filer cluster_name
0002-691 Command error: Invalid switch for NFS only filespecs

 

4 REPLIES 4

ekashpureff
4,988 Views

 

Magic -

 

For snapdrive from a host it would be the vserver mgt interface.

Did you configure snapdrive with correct credentials for the vserver ?


I hope this response has been helpful to you.

At your service,

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, Fast Lane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)

netappmagic
4,981 Views

Yeah, I tried using vserver-admin, but got the same error:

# snapdrive  storage  list -filer vservername-admin
0002-691 Command error: Invalid switch for NFS only filespecs

 

 

 

# snapdrive config list
username    appliance name    appliance type
-----------------------------------------------
vsadmin     vservername-admin StorageSystem
vsadmin     vservername         StorageSystem

 

How  do I configure snapdrive with correct credentials for the  vserver? I don't see steps in "Installation Guide for Linux". Can you PLEASE let me know detail steps?

 

ekashpureff
4,978 Views

 

Magic -

 

The command to set credentials is:

snapdrive config set username vservername

 

You'll be prompted to enter the credentials.

 


I hope this response has been helpful to you.

At your service,

Eugene E. Kashpureff, Sr.
Independent NetApp Consultant http://www.linkedin.com/in/eugenekashpureff
Senior NetApp Instructor, Fast Lane US http://www.fastlaneus.com/
(P.S. I appreciate 'kudos' on any helpful posts.)

netappmagic
4,919 Views

I have already done with setting credentials by run "snapdrive config set username vservername".

 

Based on the error messages, it seems not credentials related.

 

Any other ideas?

Public