2011-09-25 05:16 AM
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.
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
Solved! SEE THE SOLUTION
2011-09-25 09:24 AM
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.
2011-09-25 09:36 AM
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?