Displaying 20 results from an estimated 37 matches for "scsi_id".
2011 Feb 01
1
Setting up persistent LUNs
Hello everyone,
I am trying to setup persistent LUNs and having problems.
I've been following instructions I found on the web and they refer to editing /etc/scsi_id.config file and adding options=-g line there. After doing so, I should be able to run scsi_id -g -s /dev/sd* and get proper results.
I've modified file /etc/scsi_id.config appropriately:
[root at psrwjmsafs1 etc]# grep options /etc/scsi_id.config
vendor="ATA",options=-p 0x80
optio...
2009 Jun 15
0
scsi_id doesn't returns any result
Hi all,
I need to assign persistent names to some scsi disks on one host
(CentOS 5.3 fully patched), but I can't because scsi_id doesn't returns
any results. For example:
[root at c5srv01 etc]# scsi_id -u -g -s /block/sda
[root at c5srv01 etc]# scsi_id -u -g -s /block/sdb
[root at c5srv01 etc]# scsi_id -u -g -s /block/sdc
[root at c5srv01 etc]# scsi_id -u -g -s /block/sdd
Somebody knows what can it be wrong??
Many...
2009 Jun 10
0
KDE and mounting CD's / DVD's without noexec
...es_get_name: add symlink 'dvdrw'
udev_rules_get_name: add symlink 'dvdrw-sr0'
udev_rules_get_name: rule applied, 'sr0' becomes 'scd0'
run_program: '/lib/udev/usb_id -x'
run_program: '/lib/udev/usb_id' returned with status 1
run_program: '/lib/udev/scsi_id -g -x -s /block/sr0 -d /dev/.tmp-11-0'
run_program: '/lib/udev/scsi_id' returned with status 1
run_program: '/lib/udev/scsi_id -g -x -a -s /block/sr0 -d /dev/.tmp-11-0'
run_program: '/lib/udev/scsi_id' (stdout) 'ID_VENDOR=TSSTcorp'
run_program: '/lib/udev/scs...
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated.
These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated.
Mike
2009 Oct 01
1
Repost of Patch 6/6 for ovirt-node
All other patches from the sequence remain unchanged. Repost of patch 6 based on comments from Joey to follow.
Mike
2012 Mar 13
1
udev works ok in CentOS 6.x??
Hi all,
I have strange problem with my persistent names applied to iscsi
disks. I have configured an udev rule to assign static iscsi disk
names:
KERNEL=="sd[a-z]", SUBSYSTEM=="block", PROGRAM="/sbin/scsi_id
--whitelisted --replace-whitespace --device=/dev/$name",
RESULT=="1iTGTDSK9a2c73ce654d0ca6", NAME="iscsi/sda"
KERNEL=="sd[a-z][0-9]*", SUBSYSTEM=="block", PROGRAM="/sbin/scsi_id
--whitelisted --replace-whitespace --device=/dev/$name",
RESULT==&...
2007 Nov 13
0
Persistent iSCSI Device Names on CentOS 4
...sks this was particularly frustrating. After banging my head on this
for a while, I figured out how to make it work.
By default, iSCSI devices don't show up in the /dev/disk/by-*
directories maintained by udev under CentOS 4. After looking at the
scripts used by udev, it appeared that the scsi_id program was not
returning anything for the iSCSI devices. Digging in the manpage and
the /etc/scsi_id.config file led me to believe that the devices in
question were "blacklisted" and never returned a valid device ID.
The fix was to add a line to scsi_id.config to whitelist the parti...
2004 Jul 19
1
klibc linked tools developpement env
...ello,
I maintain the multipath tools, some of which are intended to be packed into
early userspace. I had to drop a klibc tree into the tools archive for that,
like GregKH does for udev. I don't like it, because tarballs are bigger than
they should be and it brings more maintenance.
Recently, scsi_id became a required multipath dependency. scsi_id is currently
build with glibc and I need a klibc built binary. Patrick Mansfield would prefer
I do not drop a scsi_id tree into the tools archive.
I would like to receive advice on how to solve this "klibc build environment"
issue. Does cur...
2019 Feb 08
1
persistent generic device for tape changer
> Am 08.02.2019 um 00:13 schrieb Ron Loftin <reloftin at twcny.rr.com>:
>
> On Thu, 2019-02-07 at 22:29 +0100, Helmut Drodofsky wrote:
>> Hello Ron,
>>
>> sounds good. I have 2 tape changer. I persume, udev creates the same
>> link for both.
>>
>> Can I modify
>> SYMLINK+="changer-$env{ID_SERIAL}"
>>
>> The serial
2011 Jan 27
3
Static assignment of SCSI device names?
Hello list members,
In CentOS-5.5 I'm trying to achieve static assignment of SCSI device
names for a bunch of RAID-60 drives on a Supermicro motherboard. The
"scsi_id" command identifies all drives ok.
The board has one SATA controller and three SAS/SATA controllers ...
standard on-board ICH-10 ATA channels, an on-board LSI SAS/SATA
controller, and two add-on SAS/SATA contoller cards. There are 13
drives in all, spread across the four controllers, all...
2006 Apr 13
1
device-mapper multipath
...===================================================
The multipath.conf is as follows:
defaults {
multipath_tool "/sbin/multipath -v0"
udev_dir /dev
polling_interval 10
default_selector "round-robin 0"
default_path_grouping_policy multibus
default_getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
default_prio_callout "/bin/true"
default_features "0"
rr_wmin_io 100
failback immediate
}
devnode_blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z][[0-9]*]"
devnode "^hda[0-9]*"
devn...
2007 Jul 10
1
udev - by-id
...="/sbin/path_id", SYMLINK="disk/by-path/%c"
KERNEL="hd*", PROGRAM="/sbin/path_id", SYMLINK="disk/by-path/%c"
KERNEL="dasd*", PROGRAM="/sbin/path_id", SYMLINK="disk/by-path/%c"
KERNEL="sd*", PROGRAM="/sbin/scsi_id", SYMLINK="disk/by-id/scsi-%c"
Any help will be appreciated.
Thanks
Gabriel
___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/ev...
2009 Sep 17
1
multipath using defaults rather than multipath.conf contents for some devices (?) - why ?
...llers, one an HSV200 (on the way out),
the other an HSV400 (on the way in). (Via a Qlogic HBA).
/etc/multipath.conf contains this :
device
{
vendor "(COMPAQ|HP)"
product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
hardware_handler "0"
path_selector "round-robin 0"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform...
2011 Sep 08
1
HBA port
Hi,
I have a host which is connected to SAN via single Fibre channel HBA
(qlogic). I have several LUNS assigned to this (sdc, sdd). I added
another single port HBA to this host. I can now see two world wide
names.
Now the confusion is which world wide name does sdc and sdd is/was using.
scsi_id -g -u -s /block/sdc only gives wwid but I need the wwn for sdc and sdd.
Thanks
Paras.
2005 Jan 21
1
[PATCH] strncat appends not enough, doesnt terminate correctly
The klibc strncat doesnt behave like described in the man page.
It doesnt terminate the string if size < strlen(src).
It doesnt make dst longer than size.
This breaks scsi_id from udev/extras
#include <string.h>
#include <stdio.h>
int main(void)
{
unsigned char olh[42];
memset(olh, 'A', sizeof(olh));
sprintf(olh, "abc");
fprintf(stderr, "olh: '%s'\n", olh);
bar(olh, "123456789&...
2011 Jan 30
5
RHEL-6 vs. CentOS-5.5 (was: Static assignment of SCSI device names?)
...w machine to see if anything had changed (since I intend this box
to run CentOS-6 anyway).
Lots of differences, and it's obvious that RedHat does things a bit
differently here and there. My focus has been on figuring out how best
to solve my udev challenge, and I found that tools like 'scsi_id' and
udev admin/test commands have changed. The udev rules themselves seem
to be the same.
Regarding networking, all of my 'ifcfg-*' files from CentOS-5.5 worked
well, including bridging for KVM. Of course, one of the first things I
did was remove that atrocious NetworkManager pa...
2012 Oct 30
1
Bug#691808: xcp-storage-managers: Another wrong binary path + wrong parameter in storage managers backend
...#39;--master'. I simply removed the strange parameter and the line 302 became
cmd = [CMD_VGCHANGE, "-an", "", vgname]
Line 345 became:
cmd = [CMD_VGCHANGE, "-a" + val, "", path]
2. Second problem. Line 86 in /usr/lib/xcp/sm/scsiutil.py calls the 'scsi_id' binary but it is not in the system path. According to Debian manpage, "scsi_id is primarily for use by other utilities such as udev that require a unique SCSI identifier." It is located in /lib/udev directory and uses a different set of parameters. Again, according to the manpages...
2009 Sep 27
0
SUMMARY : multipath using defaults rather than multipath.conf contents for some devices (?) - why ?
...ers, one an HSV200 (on the way out),
the other an HSV400 (on the way in). (Via a Qlogic HBA).
/etc/multipath.conf contains this :
device
{
vendor "(COMPAQ|HP)"
product "HSV1[01]1|HSV2[01]0|HSV300|HSV4[05]0"
getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
prio_callout "/sbin/mpath_prio_alua /dev/%n"
hardware_handler "0"
path_selector "round-robin 0"
path_grouping_policy group_by_prio
failback immediate
rr_weight uniform...
2009 Jul 02
0
[Xen create] ALERT! /dev/sda1 does not exist
...by one of the following identifier format.
# - XX:XX:XX:XX (4-tuples with decimal notation which shows
# "host:channel:target:lun")
# - /dev/sdxx or sdx
# - /dev/stxx or stx
# - /dev/sgxx or sgx
# - result of ''scsi_id -gu -s''.
# ex. # scsi_id -gu -s /block/sdb
# 36000b5d0006a0000006a0257004c0000
#
# VDEV gives virtual SCSI device by 4-tuples (XX:XX:XX:XX) as
# which the specified guest domain recognize.
#
#vscsi = [ ''/dev/sdx, 0:0:0:0'' ]
#====...
2006 Jul 26
5
linux-2.6-xen.hg
Hi,
Is the http://xenbits.xensource.com/linux-2.6-xen.hg tree still being
updated? if not, what''s the preferred Linux tree to track that has all
of the Xen bits?
Thanks,
Muli
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel