search for: scsi_generic

Displaying 11 results from an estimated 11 matches for "scsi_generic".

Did you mean: sch_generic
2019 Oct 28
3
udev on CEntOS7 - can't get a match, looking for tips...
...n a persistent name, but it looks like things have changed as I can't seem to get a match on CEntOS7. I'd appreciate any feedback or pointers to help me get my rule working. My two attempts are below. cat /etc/udev/rules.d/90-local.rules KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \ ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8" SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \ ATTRS{model}=="Scalar i40-i80 ", SYMLINK:="sg8" Neither rule above generates a match with udev, so I still have somethin...
2019 Oct 29
2
udev on CEntOS7 - can't get a match, looking for tips...
...e changed as I can't seem to get a match on CEntOS7. I'd >> appreciate any feedback or pointers to help me get my rule working. My >> two attempts are below. >> >> cat /etc/udev/rules.d/90-local.rules >> >> KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \ >> ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8" >> >> SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \ >> ATTRS{model}=="Scalar i40-i80 ", SYMLINK:="sg8" > > You have a typo: scsi_genric...
2016 Mar 17
1
Questions regarding hostdev scsi
...t; <serial>Samsung_SSD_850_PRO_256GB_S251NXAGB42213R</serial> <size>256060514304</size> <logical_block_size>512</logical_block_size> <num_blocks>500118192</num_blocks> </capability> </device> <device> <name>scsi_generic_sg1</name> <path>/sys/devices/pci0000:00/0000:00:1f.2/ata5/host4/target4:0:0/4:0:0:0/scsi_generic/sg1</path> <parent>scsi_4_0_0_0</parent> <capability type='scsi_generic'> <char>/dev/sg1</char> </capability> </device>...
2019 Oct 29
1
udev on CEntOS7 - can't get a match, looking for tips...
...;>> I'd >>>> appreciate any feedback or pointers to help me get my rule working.? My >>>> two attempts are below. >>>> >>>> cat /etc/udev/rules.d/90-local.rules >>>> >>>> KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \ >>>> ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8" >>>> >>>> SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \ >>>> ATTRS{model}=="Scalar i40-i80? ", SYMLINK:="sg8" >&gt...
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
2019 Aug 21
3
CentOS 5 file system read only issue
Hello Everyone, We are using CentOS 5 system for certain application. Those are VM guests running in VMware. There is datastore issue occasionally, causing all file systems becoming read only file systems. So application stop working, and opened files cannot be written either. We cannot even ssh login to the system. Typically we had to power cycle the VM. We are trying to add reliability to the
2019 Oct 29
0
udev on CEntOS7 - can't get a match, looking for tips...
...> like things have changed as I can't seem to get a match on CEntOS7. I'd > appreciate any feedback or pointers to help me get my rule working. My > two attempts are below. > > cat /etc/udev/rules.d/90-local.rules > > KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \ > ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8" > > SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \ > ATTRS{model}=="Scalar i40-i80 ", SYMLINK:="sg8" You have a typo: scsi_genric instead of scsi_generic....
2019 Oct 29
0
udev on CEntOS7 - can't get a match, looking for tips...
...seem to get a match on CEntOS7. I'd >>> appreciate any feedback or pointers to help me get my rule working. My >>> two attempts are below. >>> >>> cat /etc/udev/rules.d/90-local.rules >>> >>> KERNEL=="sg[0-9]*", SUBSYSTEM=="scsi_generic", \ >>> ENV{ID_SERIAL}=="1QUANTUM_D0H0112430_LLA", SYMLINK+="sg8" >>> >>> SUBSYSTEM=="scsi", SUBSYSTEMS=="scsi_genric", \ >>> ATTRS{model}=="Scalar i40-i80 ", SYMLINK:="sg8" >> >> You h...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...} + + fscanf(f, "%u", val); + fclose(f); + +out: + *tail = 0; +} + +static void sg_get_queue_limits(BlockDriverState *bs, const char *filename) +{ + DIR *ffs; + struct dirent *d; + char path[MAXPATHLEN]; + + snprintf(path, MAXPATHLEN, + "/sys/class/scsi_generic/sg%s/device/block/", + filename + strlen("/dev/sg")); + + ffs = opendir(path); + if (!ffs) { + return; + } + + for (;;) { + d = readdir(ffs); + if (!d) { + return; + } + + if (strcmp(d->d_name, ".") ==...
2012 Aug 21
5
[PATCH 1/2 v1] blkdrv: Add queue limits parameters for sg block drive
...} + + fscanf(f, "%u", val); + fclose(f); + +out: + *tail = 0; +} + +static void sg_get_queue_limits(BlockDriverState *bs, const char *filename) +{ + DIR *ffs; + struct dirent *d; + char path[MAXPATHLEN]; + + snprintf(path, MAXPATHLEN, + "/sys/class/scsi_generic/sg%s/device/block/", + filename + strlen("/dev/sg")); + + ffs = opendir(path); + if (!ffs) { + return; + } + + for (;;) { + d = readdir(ffs); + if (!d) { + return; + } + + if (strcmp(d->d_name, ".") ==...
2016 Feb 08
2
Re: Getting "unknown device type" when attaching NPIV (vHBA) to vm
Thank you for your reply, I'm still getting hard time to attach the hostdev, I couldn't make it work out of the doc. I took the address details from: # ll /sys/bus/scsi/devices/7:* lrwxrwxrwx 1 root root 0 Feb 8 12:58 /sys/bus/scsi/devices/7:0:0:0 -> ../../../devices/pci0000:00/0000:00:03.0/0000:08:00.1/host7/rport-7:0-0/target7:0:0/7:0:0:0 lrwxrwxrwx 1 root root 0 Feb 8 12:58