Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got INVALID_ARGUMENT when storcli return WNN as NA #376

Closed
cathay4t opened this issue Feb 26, 2019 · 3 comments
Closed

Got INVALID_ARGUMENT when storcli return WNN as NA #376

cathay4t opened this issue Feb 26, 2019 · 3 comments

Comments

@cathay4t
Copy link
Contributor

BTW, storcli for MegaRAID cards can return WNN = NA for disks and it causes INVALID_ARGUMENT error on "lsmcli ld" like below:

$ sudo /opt/MegaRAID/storcli/storcli64 /call/eall/sall show all | less
...
Drive /c0/e252/s0 Device attributes :
===================================
SN = GTF402P6GV8J0F
Manufacturer Id = ATA
Model Number = Hitachi HUA721050KLA330
NAND Vendor = NA
WWN = NA
Raw size = 465.661 GB [0x3a352d30 Sectors]
Coerced size = 465.156 GB [0x3a250000 Sectors]
Non Coerced size = 465.161 GB [0x3a252d30 Sectors]
Device Speed = 3.0Gb/s
Link Speed = 3.0Gb/s
Write Cache = N/A
Logical Sector Size = 512B
Physical Sector Size = 512B
Connector Name =
...
$ export LSMCLI_URI=megaraid://
$ sudo -E lsmcli ld
INVALID_ARGUMENT(101): Incorrect format of VPD 0x83 NAA(3) string: 'na', expecting 32 or 16 lower case hex characters

Originally posted by @yosshy in #135 (comment)

@cathay4t
Copy link
Contributor Author

@yosshy Can you provide more detail on your environment? Like:

  • Which version of storcli you are using?
  • The model of MegarRIAD/PERC you are using.

Thank you.

@cathay4t cathay4t changed the title BTW, storcli for MegaRAID cards can return WNN = NA for disks and it causes INVALID_ARGUMENT error on "lsmcli ld" like below: Got INVALID_ARGUMENT when storcli return WNN as NA Feb 26, 2019
@yosshy
Copy link
Contributor

yosshy commented Feb 26, 2019

I'm using an old MegaRAID controller and the latest storcli. It doesn't officially support the controller but it works well.

$ sudo lspci | grep RAID
60:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 1078 (rev 04)
$ sudo /opt/MegaRAID/storcli/storcli64 version
     Storage Command Line Tool  Ver 007.0813.0000.0000 Dec 14, 2018

     (c)Copyright 2018, AVAGO Technologies, All Rights Reserved.

@tasleson
Copy link
Member

tasleson commented Apr 3, 2019

Addressed with #375

@tasleson tasleson closed this as completed Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants