Subscribe
Accepted Solution

SDU Linux - 0001-267 Command error: Could not find SCSI devices

Hi folk,

I'm trying to run SDU on RedHat 5.3 with FC. Hba is an Emulex. I'm using HU 4.1.2 and SDU 4.1.1. The problem occurs when SDU is trying to discover the LUN (I guess SDU has a problem with SCSI rescan process).

[root@lx-smo-fcp ~]# snapdrive storage create -lun nacl2:/vol/toto/lun3 -lunsize 200m -fs /toto

    LUN nacl2:/vol/toto/lun3 ... created

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

    Cleaning up ...
     - LUN nacl2:/vol/toto/lun3 ...     Cleanup has failed.
    Please delete LUN
        nacl2:/vol/toto/lun3
0001-267 Command error: Could not find SCSI devices

You can find an extract of sd-trace.log :

9:00:41 09/29/09 [7813b90]?,2,2,0001-267 Command error: Could not find SCSI devices
19:00:41 09/29/09 [7813b90]?,2,2,0001-267 Command error: Could not find SCSI devices
19:00:41 09/29/09 [7813b90]?,2,2,0001-984 Admin error: Failed to get the physical devices associated with nacl2:/vol/toto/lun3 (6)

After cleanup, whether I remap the LUN, the LUN access is OK and sanlun displays the right thing and the multipath is working.

Any idea ? (You will able to find the SDU log file in attach)

Regards,

Mathias

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

I've observed similar behavior when sg_utils was not installed? Have you installed?

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

You're absolutely right !!! I'm looking for the solution for 1

week. Thanks for your help.

Mathias

yum install sg_utils
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package sg3_utils.i386 0:1.25-1.el5 set to be updated
--> Processing Dependency: libsgutils.so.1 for package: sg3_utils
--> Running transaction check
---> Package sg3_utils-libs.i386 0:1.25-1.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
sg3_utils               i386       1.25-1.el5       base              491 k
Installing for dependencies:
sg3_utils-libs          i386       1.25-1.el5       base               46 k

Transaction Summary
=============================================================================
Install      2 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)       

Total download size: 537 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): sg3_utils-libs-1.25-1.el5.i386.rpm                                                      |  46 kB     00:00    
(2/2): sg3_utils-1.25-1.el5.i386.rpm                                                           | 491 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: sg3_utils-libs               ######################### [1/2]
  Installing: sg3_utils                    ######################### [2/2]

Installed: sg3_utils.i386 0:1.25-1.el5
Dependency Installed: sg3_utils-libs.i386 0:1.25-1.el5
Complete!

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

Hi Mathias

This is neto from Brazil

How are you?

Please make sure that you have installed sg3-utils.

Please let me know if you need any help.

I'm here to help and contribute.

All the best

neto

NetApp - I love this company!

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

Hi Neto,

You're right, this is the pronlem, I installed it and SDU is working fine.

Best Regards Neto.

Mathias

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

Hi Mathias

This is neto from Brazil

How are you?

Glad to hear that worked.

Please if you need anything, remember that you have a friend down here that can contribute and help (anytime).

All the best

Your friend,

neto

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

How do you install SG3 utils on RHEL4 w/o yum? It's telling me command not found. I'm not too proficient with linux.

What are SG3 utils? What does it do?

I'm receiving the same error and think this may be my problem.

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

Have a look at the following for the sg3_utils install.

https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb29418

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

Thanks. I am trying to install and it needs a dependency. see below

[root@BastestLinux ~]# rpm -U -v /tmp/Redhat/sg3_utils-1.22-3.1.x86_64.rpm
warning: /tmp/Redhat/sg3_utils-1.22-3.1.x86_64.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        libsgutils.so.1()(64bit) is needed by sg3_utils-1.22-3.1.x86_64
    Suggested resolutions:
        /var/spool/up2datesg3_utils-libs-1.22-3.1.x86_64.rpm

Where can I get that I searched the redhat site and could not find this lib

Re: SDU Linux - 0001-267 Command error: Could not find SCSI devices

I found the lib and got sg3 utils installed. thanks