Subscribe
Accepted Solution

SnapDrive for Unix error when creating RDM lun (0001-476 Admin error)

Hi,

I am using SDU v4.2 on RHEL 5.6 guest os to create RDM lun and keep getting this error:

[root@test01 /]# snapdrive storage create -lun fas3140a.domain.local:/vol/test01/lun01 -lunsize 1g

        LUN fas3140a.mprh.local:/vol/test01/lun01 ... created

        exporting new lun(s) to Guest OS ... done

        discovering new lun(s) ... *failed*

        Cleaning up ...

        deporting lun(s) from Guest OS ... done

         - LUN fas3140a.mprh.local:/vol/test01/lun01 ... deleted

0001-476 Admin error: Unable to discover the device associated with fas3140a.domain.local:/vol/test01/lun01.  If multipathing in use, there may be a possible multipathing configuration error.

Please verify the configuration and then retry.

Documentation states that MPIO is not supported in this config (since I am using vmware guest OS).

I have set transport protocol to fcp in snapdrive.conf and added virtual center with snapdrive conf set -viadm....

sdconfig check looks like this:

[root@test01 bin]# ./sdconfcheck check

Detected Intel/AMD x64 Architecture

Detected Linux OS

The SDU Configuration Checker could not detect any of the transport

protocols supported by SnapDrive.

Detected   Ext3 File System

Did not find any supported Volume managers.

Detected   Linux Native MPIO

Did not find any supported cluster solutions.

Did not find any supported HU tool kits.

sdconfcheck: ../../../messageinfo/src/messages.cpp:145: void messageinfo::messageParse::parseRecord(std::string&, std::string&): Assertion `false' failed.

Aborted

Anyone with idea or suggestion?

Update - storage is in my /etc/hosts file, root user is used to access storage so RBAC would not be the problem

Re: SnapDrive for Unix error when creating RDM lun

HI,

   See attached the error and possible cause as extracted from SDU guide.

  I guess you have installed and configured Host utilities?

Thanks,

  Arun

SnapDrive for Unix error when creating RDM lun

Hi, I saw that in SDU manual.

The problem was in order of prerequisites installation. I installed linux host utilities after snapdrive, and snapdrive was not aware of them. I did not install them before SD because SDU documentation states (page 27) that host utilities are required only if protocol is iSCSI. 

Thx!

Re: SnapDrive for Unix error when creating RDM lun

Welcome

Actually your sdconfcheck also showed

"Did not find any supported HU tool kits"

Also, this a generic error. 

If the order of installation was the issue, did you try restarting the snapdrive service and find if that detected HU?

Thanks,

  Arun

Re: SnapDrive for Unix error when creating RDM lun (0001-476 Admin error)

Yes, tried to restart snapdrive daemon, and whole server too, but did not help. I had to uninstall SDU and install again.

SnapDrive for Unix error when creating RDM lun (0001-476 Admin error)

Interesting.... Anyways thanks for the response

Thanks,

  Arun