ONTAP Discussions

ERROR ON " snapdrive storage list -filer xxx"

netappmagic
3,675 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
3,656 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
3,649 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
3,646 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
3,587 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