LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2012, 12:25 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
multipath could not detect the storage disk


I am setting multipathing in vmware workstation & added additional storage disk as storage array, I had configured multipathing in rhel5 but unable to create multipath & getting error as,

[root@server ~]# multipath -v2
/sbin/scsi_id exitted with 1
error calling out /sbin/scsi_id -g -u -s /block/sdb
/sbin/scsi_id exitted with 1
error calling out /sbin/scsi_id -g -u -s /block/sdb

Also checked the logs as,
May 30 22:15:32 server multipathd: cannot open /sbin/gnbd_import : No such file or directory
May 30 22:15:32 server multipathd: [copy.c] cannot open /sbin/dasd_id
May 30 22:15:32 server multipathd: cannot copy /sbin/dasd_id in ramfs : No such file or directory
May 30 22:15:32 server multipathd: [copy.c] cannot open /sbin/gnbd_import
May 30 22:15:32 server multipathd: cannot copy /sbin/gnbd_import in ramfs : No such file or directory
May 30 22:15:32 server multipathd: /sbin/scsi_id exitted with 1
May 30 22:15:32 server multipathd: error calling out /sbin/scsi_id -g -u -s /block/sdb
May 30 22:15:32 server multipathd: /sbin/scsi_id exitted with 1
May 30 22:15:32 server multipathd: error calling out /sbin/scsi_id -g -u -s /block/sdb
May 30 22:15:32 server multipathd: path checkers start up

I am unable to detect the problem ?

Any solution will be appreciated.
 
Old 05-31-2012, 01:04 AM   #2
em31amit
Member
 
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
it seems like you have mis-configured something into multipath config file, see the output of scsi_id.

scsi_id is the command which is used to find the SCSI-ID from scsi disk drive and argument which is supplied to is "/block/sdb" which is never exists on rhel5.

all the device's are stored into "/dev" directory.


if you check the multipath.conf file there should be line where you have mentioned this

Code:
/sbin/scsi_id -g -u -s /block/sdb
it is deprecated or will not work on, not even on redhat but many more. so you need to change it something like this.

Code:
scsi_id -g -u /dev/sdb

Last edited by em31amit; 05-31-2012 at 01:08 AM.
 
Old 05-31-2012, 01:46 AM   #3
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
I had made the changes in the multipath.conf files as,

devices {
device {
vendor "INTEL "
product "VMware Virtual "
path_grouping_policy multibus
getuid_callout "scsi_id -g -u /dev/sdb"
}
}

but still getting the same error as,

[root@server ~]# multipath -v2
/sbin/scsi_id exitted with 1
error calling out /sbin/scsi_id -g -u -s /block/sdb
/sbin/scsi_id exitted with 1
error calling out /sbin/scsi_id -g -u -s /block/sdb
 
Old 05-31-2012, 02:02 AM   #4
em31amit
Member
 
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
restarted multipath services ?? or a rebooted? modules loaded of multipath ??
 
Old 05-31-2012, 04:00 AM   #5
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Its showing the same error as I had already loaded the multipath module
 
Old 05-31-2012, 06:17 AM   #6
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Before going further, can i know whether we can setup multipaths in vmware without storage device or without physical connections ?
 
Old 05-31-2012, 07:31 AM   #7
em31amit
Member
 
Registered: Apr 2012
Location: /root
Distribution: Ubuntu, Redhat, Fedora, CentOS
Posts: 190

Rep: Reputation: 55
can you post fdisk -l output and scsi_id output to both block device, and also just try once to use this too


it seems it may be it is calling sysfs filesystem to detect with them
Code:
/sbin/scsi_id -g -u -s /block/%n
also what storage array are you using here ??

did you tried to configure it with mpathconf, and make sure about the path of "scsi_id"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure SuSE Linux native multipath to integrate EMC Storage array rhce5 Linux - Newbie 0 03-20-2012 12:01 AM
Using multipath for disk created on SAN codenjanod Linux - Software 1 07-27-2010 12:57 PM
RedHat 5 Multipath using SAN attached disk rchsysdb Linux - Software 1 07-01-2008 06:34 AM
LXer: Multipath Storage with Xen using Red Hat Linux LXer Syndicated Linux News 0 03-10-2008 03:40 PM
Unable to detect USB storage device in SLED10 xeroblast SUSE / openSUSE 1 11-22-2007 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration