LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   multipath could not detect the storage disk (https://www.linuxquestions.org/questions/linux-newbie-8/multipath-could-not-detect-the-storage-disk-947693/)

smilemukul 05-31-2012 12:25 AM

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.

em31amit 05-31-2012 01:04 AM

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

smilemukul 05-31-2012 01:46 AM

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

em31amit 05-31-2012 02:02 AM

restarted multipath services ?? or a rebooted? modules loaded of multipath ??

smilemukul 05-31-2012 04:00 AM

Its showing the same error as I had already loaded the multipath module

smilemukul 05-31-2012 06:17 AM

Before going further, can i know whether we can setup multipaths in vmware without storage device or without physical connections ?

em31amit 05-31-2012 07:31 AM

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"


All times are GMT -5. The time now is 08:01 PM.