Displaying 20 results from an estimated 20000 matches similar to: "Static assignment of SCSI device names?"
2011 Jan 30
5
RHEL-6 vs. CentOS-5.5 (was: Static assignment of SCSI device names?)
Hello list members,
My adventure into udev rules has taken an interesting turn. I did
discover a stupid error in the way I was attempting to assign static
disk device names on CentOS-5.5, so that's out of the way.
But in the process of exploring, I installed a trial copy of RHEL-6 on
the new machine to see if anything had changed (since I intend this box
to run CentOS-6 anyway).
Lots
2011 Feb 02
1
RHEL-6 vs. CentOS-5.5 (was: Static assignment of, SCSI device names?)
Les Mikesell wrote:
>
> On 1/30/11 1:37 PM, Chuck Munro wrote:
>> > Hello list members,
>> >
>> > My adventure into udev rules has taken an interesting turn. I did
>> > discover a stupid error in the way I was attempting to assign static
>> > disk device names on CentOS-5.5, so that's out of the way.
>> >
>> > But in the
2009 Jun 10
0
KDE and mounting CD's / DVD's without noexec
Hi e,
I am normally use gnome and would do the following to make my CD / DVD
mount with exec
gnome-mount --write-settings --device /dev/sdc0 -o exec
What is the equivalent in KDE ? My initial research suggests that I
actually have to write a custom udev rule to achieve this.
This has led me as far as running
udevinfo -q path -n /dev/scd0
udevtest /block/sr0 (the output is below)
My
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"
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
2007 Jul 10
1
udev - by-id
Hi,
I am trying to set up a CentOS 4 machine with various iSCSI mounts for
Oracle, but devices keep on moving around, causing the mounts to fail
while called by the sd[a-f] names.
We thought about using labels, but, as some of the partitions do not
use EXT3, that was discarded, so we thought about using udev and by-id.
The problem is that udev does not seem to create the by-id folder or
any
2011 Aug 03
1
Bug#636552: xen-hypervisor-4.1-i386: Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
Package: xen-hypervisor-4.1-i386
Version: 4.1.1-1
Severity: important
Tags: wheezy
I cannot boot a domU with networking after installing the package.
root at topsail:~# xm create /etc/xen/udevtest.cfg -c
root at topsail:~# Error: Device 0 (vif) could not be connected. Hotplug scripts
not working.
[2011-08-03 15:56:53 4411] DEBUG (DevController:139) Waiting for devices tap2.
[2011-08-03
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
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");
2006 Apr 13
1
device-mapper multipath
I am attempting to get multipath working with device-mapper (CentOS
4.2 and 4.3). It works on EVERY install of mine from RH (also v4.2,
4.3), but the same multipath.conf imported to all my installs of
CentOS do not work. Note that I have tested a working 4.2
configuration file from RH on CentOS 4.2 and a working 4.3
configuration (it changed slightly) on CentOS 4.3. Neither worked. Our
production
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
2009 Sep 17
1
multipath using defaults rather than multipath.conf contents for some devices (?) - why ?
hi all
We have a rh linux server connected to two HP SAN controllers, 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"
2017 Oct 09
0
SCSI block device name/multipath question
hi,
i have a host with a LSI SAS 3108 RAID controller in JBOD mode with 4
SSD SATA disks. i installed oVirt node (= CentOS 7) on the first two
disks configured as SW RAID 1 (in the oVirt node/CentOS installer). when
i look at the device names in the running OS i get
# lsscsi --scsi_id -g
[0:0:0:0] disk ATA SAMSUNG MZ7LM480 204Q /dev/sda - /dev/sg0
[0:0:1:0] disk ATA
2007 Mar 27
1
scsi drive assignment problem
I have a server which may or may not have a USB storage device connected
when it boots. It also attaches to a disk array with a number of
logical disks using ISCSI.
When booted with the USB device present, that is attached to /dev/sdb
and the ISCSI disks are attached to /dev/sdc up. If the USB device is
not present, then the ISCSI disks are attached to /dev/sdb onwards.
Is there a way to force
2007 Nov 13
0
Persistent iSCSI Device Names on CentOS 4
I found a lot of stuff about this on the web, but never an answer that
worked. One of the most promising hints was about udev maintaining
links in the /dev/disk/by-* directories. This works just fine in CentOS
5, but not CentOS 4. As I was trying to use the iSCSI devices as VMware
disks this was particularly frustrating. After banging my head on this
for a while, I figured out how to make
2009 Feb 05
1
udev by-id symlinks randomly missing for tape drives on centos5
Hello!
I'm having problems with udev /dev/tape/by-id/ symlinks..
it seems symlinks to tape drives are sometimes (randomly) missing after reboot.
Server in question has IBM TS3200 tape library connected with 2 drives in
it.. so /proc/scsi/scsi shows 3 devices: 2 tape drives, and 1 medium changer (tape library).
So I should have 3 symlinks in /dev/tape/by-id/ directory.. 2 symlinks to tape
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
2004 Jul 19
1
klibc linked tools developpement env
Hello,
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
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.
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