General :: Non-root Access To /proc/scsi/scsi

Jun 23, 2011

Some of our workstations have LTO's attached and they seem to drop off every now and again, the only thing which picks them up again (besides a reboot) is the famous rescan-scsi-bus script from here

The thing is that I'd like non-root users to be able to run this script, which in turn needs root to /proc/scsi/scsi

View 2 Replies


ADVERTISEMENT

Red Hat :: Mapping /proc/scsi/scsi Entries With Respective Device Names In /dev/ Directory

Apr 11, 2011

In my understanding, the way /proc/scsi/scsi gets populated, /proc/paritions also gets populated in the same fashion. i.e. the description for first entry of /proc/scsi/scsi can be seen in the first entry of /proc/partitions and same for rest.

So, With this assumption, in my project, I used to relate first entry of /proc/scsi/scsi with first entry of /proc/partitions to get its total size and same for all entries.

But, I observed some differences in following scenario, where

1) The first 4 entries in /proc/scsi/scsi are SAN luns attached to my system and for which the actual device names in /dev/ are sda,sdb,sdc and sdd.

2) The last 4 entries are the internal HDDs on same system. In /dev/, their respective device names are sde,sdf,sdg & sdh.

(Output attached at end of the thread)

But in /proc/partitions, the device order is different.

You can see their respective sizes in /proc/partition output as well.

So, my question is, in this particular scenario, I can't relate the first entry of /proc/scsi/scsi with first entry of /proc/partition. i.e. scsi0:00:00:00 is not /dev/sde, because it is actually /dev/sda.

It seems that my assumption is wrong in this scenario.

Is there any way or mechanism to figure out actual device name for an entry in /proc/scsi/scsi in /dev/ directory?

How can my application should relate /proc/scsi/scsi entries with their respective device names and sizes?

View 2 Replies View Related

Debian :: SQUEEZE - Cat - /proc/scsi/scsi - No Such File Or Directory?

May 4, 2010

When I enter "cat /proc/scsi/scsi" I'm returned with "cat: /proc/scsi/scsi: No such file or directory". I've tried this on two different installs on two different machines.

View 6 Replies View Related

Server :: Error SCSI Controller Was Reset Due To SCSI BUS Noise Or An Invalid Signal?

Feb 15, 2010

i m facing same error in most of the HCL servers. the problem is that it throws error while booting and sometimes not throws error. the error is :-

Feb 13 13:17:25 fe13s kernel: Adapter 0: Bus A: The SCSI controller was reset due to SCSI BUS noise or an invalid signal. Check cables, termination, termpower, LVDS operation, etc.

Feb 13 13:17:30 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc

Feb 13 13:29:15 fe13s kernel: Adapter 0: Bus B: The SCSI controller successfully recovered from a SCSI BUS issue. The issue may still be present on the BUS. Check cables, termination, termpower, LVDS operation, etc
code....

View 2 Replies View Related

General :: Migrating From SCSI To SAS?

Oct 20, 2010

I have a Linux system running on an older Sun V20z. The drives are mirrored in a software RAID1. The motherboard has interfaces for only IDE and SCSI. The system is old and is no longer able to handle the load we're putting on it. I also have a much newer Sun X4100. This system is presently unused and has a pair of SAS drives in it. The new server only has SAS and SATA connections on the motherboard, though. I'm trying to think of the best way to clone the V20z over the X4100. I don't mind breaking the mirror knowing I can re-establish it later. I prefer not to do a fresh OS install followed by a tape restore. I would much rather break the mirror and clone one of the SCSI drives the SAS drive. I do have a USB to SATA adaptor for migrating external drives. Anyone know if this will work with a SAS drive? Any pointers on the best way to migrate this? I'm thinking even if the cloning is successful, I'm going to have to much with GRUB to get it to boot from the SAS drive?

View 1 Replies View Related

General :: Rescan SCSI Without Rebooting?

Jan 29, 2010

I have installed an old HP Scanner on my Fedora 11 system, and it works great. The scanner is connected through a SCSI, and it gets recognized at boot time if the scanner is ON. However, if the scanner is OFF, I need to turn ON the scanner and reboot the workstation for the SCSI devise to be recognized. Is there a way that I can rescan the SCSI devise without rebooting?

View 1 Replies View Related

General :: Detect The Scsi Device Without Restarting?

Mar 25, 2010

I am attaching a LTO-3 tape drivce into my RHEL5 linux machine. Every time i used to restart my machine to detect the tape drive is there any way to rescan the buses to detect the newly attached scsi devices. In solaris "devfsadm" and "iostat" is there. I need the same kind of thing in linux.

View 2 Replies View Related

General :: N00b Can't Get Scsi Cdrom Mounted?

Dec 30, 2010

I have installed Ubuntu server 10.10 today and I am trying to mount the scsi cdrom drive in a Dell Poweredge 2850. I can see the device in dev listed as scd0, but when i try to mount it to /media/cdrom or /mnt/cdrom I get a long list of I/O errors: Buffer I/O error on device sr0.

View 3 Replies View Related

General :: No Physical SCSI Devices To Connect To My LAN

Dec 22, 2010

I have a virtual machine with Solaris 10. On this virtual machine I have to configure an iSCSI initiator.

The problem is that i have no physical SCSI devices to connect to my LAN

Therefore I have to create a Virtual SCSI device on my host laptop and configure it as an iSCSI server (iSCSI target) and share this virtual disk on the LAN.

View 4 Replies View Related

General :: What Is The Factory Default SCSI Target For /dev/sd0

Dec 17, 2010

What is the factory default SCSI target for /dev/sd0?

View 2 Replies View Related

General :: Share 1 Scsi Storage With 2 RHEL5 Servers ?

Dec 8, 2010

I have one scsi storage array, JetStor SATA 416S,split into 2 halves. each is RAID5 12TB. Is it possible to dedicate each half to a different rhel5 server. I have "lsi22320-r" ultra230 dual channel scsi adapter in each server.

The first server sees the 2 halfs however the second server doesn't on the first server:

View 2 Replies View Related

General :: Segmentation Fault When Probing Scsi Devices

Jan 1, 2011

I am testing PCLinux 2009.1 prior to installing. My desktop currently runs on ME and has been out of use for some time. It still works however and I can still get online. I'm currently using a laptop running XP. I would like to make use of my old desktop and tried to test PCLinux 2009.1 today. I followed the instructions obtained online and booted from the Linux cd. The pc booted up ok and displayed the first screen allowing me to select the "Live CD" option. After enter my system hung up at "Probing SCSI Devices:Segmentation fault".

View 2 Replies View Related

General :: Identify Two Scsi Devices - Which Disk Corresponds To Which File In /dev/ Directory

Mar 24, 2011

Suppose during a script execution I am attaching one or two new disk having different vendor id to host machine, how do I know which disk corresponds to which file in /dev/ directory? i just want to perform some operation on those device from some script, how will i know which file in /dev directory correspond to which disk(having same size but different vendor id).

View 1 Replies View Related

General :: Scsi RAID Jbod And Arrays - Disk Utilization And The Corresponding Low Data Transfer

Jul 6, 2010

So I have a system that is about 6 years old running Redhat 7.2 that is supporting a very old app that cannot be replaced at the moment. The jbod has 7 Raid1 arrays in it, 6 of which are for database storage and another for the OS storage. We've recently run into some bad slowdowns and drive failures causing nearly a week in downtime. Apparently none of the people involved, including the so-called hardware experts could really shed any light on the matter. Out of curiosity I ran iostat one day for a while and saw numbers similar to below:

[Code]...

Some of these kinda weird me out, especially the disk utilization and the corresponding low data transfer. I'm not a disk IO expert so if there are any gurus out there willing to help explain what it is I'm seeing here. As a side note, the system is back up and running it just runs sluggish and neither the database folks nor the hardware guys can make heads or tails of it. Ive sent them the same graphs from iostat but so far no response.

View 1 Replies View Related

General :: Install Ubuntu Ver.10.10 Server On HP DL360 With 2 Internal 36GB Untra3 Scsi Drives?

Mar 31, 2011

I am trying to install Ubuntu ver.10.10 server on HP DL360 with 2 internal 36GB untra3 scsi drives. The installations seems to have gone fine but upon booting, the OS is stoping at the BusyBox menu with initramfs prompt. None of my boot or root filesystems is mounted here so I can not go further. I've searched all over the net for answers but nothing seems to work.

View 2 Replies View Related

OpenSUSE Install :: Scsi RAM-DVD Not Recognised?

Mar 15, 2011

I installed OpenSuse 11.4 (x86_64) a couple of days ago.One of my Drives a PC-DVD RAM (Creative) is not working. This worked under 11.3.The SCSI drive is connected to a PCI/SCSI adapter (AHA-2904).The message I see at boot is: ata_id[443]HDIO_GET_IDENTITY FAILED /dev/sr1I also see the message ata_piix not found, and can not find an option in the kernel
to provide this.his causes the system to wait a long time and slows down boot dramatically

View 1 Replies View Related

Debian :: Install A SCSI Controller?

Apr 26, 2010

Does Debian have any particular tools or nuances for installing new hardware? I saw some stuff on Ubuntu which is related... but you know.

The dmesg file shows that it's being recognized, but I don't think it's actually being used (i.e. there is no driver installed). This is what's in the dmesg file:

Code:
[ 1.384634] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.855496] SCSI subsystem initialized
[ 5.146598] scsi0 : ioc0: LSI53C1020A A1, FwRev=01032700h, Ports=1, MaxQ=255, IRQ=16

[Code]....

Unless someone has already compiled a driver for Debian Lenny for this hardware, I'm going to have to compile my own I guess. The driver package seems to come with something called mptlinux-4.00.43.00-src.tar.gz which I'm guessing can be compiled for any Linux, but looking at the instructions, it's pretty much beyond me how to get started. It talks about using kernel source to build a module and such and such.

View 3 Replies View Related

OpenSUSE Hardware :: Scsi DVD RAM Not Working On SuSE 11.4?

Mar 15, 2011

I installed OpenSuse 11.4 (x86_64) a couple of days ago.One of my Drives a PC-DVD RAM (Creative) is not working. This worked under 11.3.The SCSI drive is connected to a PCI/SCSI adapter (AHA-2904).The message I see at boot is:ata_id[443]HDIO_GET_IDENTITY FAILED /dev/sr1I also see the message ata_piix not found, and can not find an option in the kernel
to provide this.This causes the system to wait a long time and slows down boot dramatically

View 2 Replies View Related

Ubuntu :: USB Pen Drive Unreadable - Show Up Like SCSI

May 29, 2010

I try to use a usb pen drive. The usb pen drive show up under computer but not like a drive in geparted. When I look in the log file I find the drive
Code:
May 29 10:11:46 CQ60 kernel: [ 112.942602] scsi 6:0:0:0: Direct-Access
USBest USB2FlashStorage 0.00 PQ: 0 ANSI: 2
I do not know what this mean but it looks like the drive show up like a scsi and not usb or? I need a clue to get it work like a normal usb device.

View 4 Replies View Related

Ubuntu Installation :: Xubuntu Won't Work With P2 And SCSI HDD?

Apr 22, 2011

I'm trying to install the Xubuntu 10.04 i386 Alternative build on a Pentium 2 Compaq PC with a SCSI hard drive. I run the installer but when loading it chokes up trying to read/write the SCSI harddrive and fails to install.

Do I need SCSI drivers or are they included and my disk corrupted? Windoze 98 and NT4 work fine on this PC.

View 1 Replies View Related

Hardware :: Computer Won't Display SCSI Disk?

May 6, 2009

I see to be having a problem with the SCSI disk that I'm trying to install. The computer that it is attached to was Win XP and SCSI worked fine. When we changed the computer over to Fedora 10, SCSI was being read by the computer but is not accessible.

View 5 Replies View Related

Hardware :: Ensure A USB External HDD Gets Assigned The Same SCSI Id?

Feb 3, 2009

I have 3 WD External USB hard dives. 2 are the same and are rotated for backup purposes and my system assigns them both to /dev/sdb (one is only plugged in at a time), this is fine.The 3rd drive is used for a different purpose and may or may not be plugged in at the same time as one of the others.How can I make the 3rd drive be allocated to /dev/sdc all of the time whether one of the other drives is plugged in or not?

View 4 Replies View Related

Hardware :: Scsi Device Is Not Available In Enclosure After Hot Plugging

Jan 15, 2010

One of my servers contains two scsi enclosures. After hot removing a disk and hot adding another the new disk gets assigned a device file but the enclosure (in sysfs) doesn't want to see it.

How can I force the enclosure to recognise the hot added disk.

Situation in sysfs:

The link device is dead after hot removing the device and keeps vanished after hot adding the new device. The hot added device gets assigned a device file and it is reachable. Even

Doesn't change anything.

How can I force the link to be updated towards.

View 1 Replies View Related

Server :: SCSI/Fiber Devices Naming?

May 12, 2010

Need help on how the scsi and multipathing works in Linux. From the docs i have read, i understand that by the use of multipathing we can assign multiple paths to a SAN partition. If there is a problem then one path will failover to other path.However, i am not clear on how linux recognizes the SAN partitions using the multipath drivers. For e.g. I have a HP Proliant server on which we have the following mounts:

Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 59G 11G 46G 20% /
/dev/cciss/c0d0p1 494M 27M 443M 6% /boot

[code]...

View 3 Replies View Related

Software :: Purpose Of SCSI Emulation For IDE Devices?

Jan 23, 2010

What is the purpose of SCSI emulation for IDE devices?

View 2 Replies View Related

CentOS 5 Hardware :: Scsi Drive Not Recognized?

Feb 21, 2009

I just installed centos 5 on a hp dl380 server and it has 2 72.8 scsi gig hard drives. The problem I am having is that only one hard drive is being recognized and it is not being recognized as a scsi. This is what I get from fdisk -l

Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 8854 71015332+ 8e Linux LVM

as you can see, the system doesn't even see the second hard drive. How do I get both hard drives to be seen and how do I get them to be recognized as scsi?

View 2 Replies View Related

CentOS 5 Hardware :: Panasonic LF-D201 SCSI DVD-RAM Onto 5.3

Aug 6, 2009

I've managed to install Centos 5.3 (with Gnome) from a temporary IDE-based CD drive. This has now been removed and, instead, I have added a SCSI-based Panasonic LF-D201 DVD-RAM drive onto channel-B of the Intel SRCU32 (LSI clone) SCSI RAID card.

it seems that Centos cannot see the DVD-RAM drive at all - not even as a simple CD drive.

View 9 Replies View Related

Fedora Hardware :: Fc12 Does Not Recognize 4th Disk On Scsi?

Apr 16, 2010

The system is fc12 with a scsi pci card. There are 4 disks on the scsi chain, properly terminated. At boot time the system does not recognize the 4th drive. It creates a /dev/sdh entry, but the individual partition entries are not created. fdisk /w creates the /dev/sdh* partition entries. After that the drive is recognized by the system.

Is there record of the device scan activity? What could cause the boot process to identify the drive but stop short of identifying the partitions.

dmesg output seem normal
scsi3 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
<Adaptec (Compaq OEM) 29160 Ultra160 SCSI adapter>
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsi: waiting for bus probes to complete ...

[Code].....

View 4 Replies View Related

Fedora Hardware :: SCSI Scanner Not Detected By XSane?

Mar 11, 2011

I've got a SCSI scanner that is being detected by the kernel on Fedora 14, but XSane does not see it. If I run "sane-find-scanner" it says that noSCSI or USB scanners are found.The scanner is a Cacham Splendeur 3024, model VM3552. I believe this scanner is the same as the Relisys Scorpio VM3552. In /var/log/messages, the following entries show up as soon as the scanner is warmed up:

Code:
Mar 11 13:34:45 dt kernel: [22595.116042] usb 4-2: new full speed USB device using uhci_hcd and address 41

[code]...

View 4 Replies View Related

Fedora Hardware :: Reading Old SCSI SCO Unix Drive?

May 17, 2011

I need to read some data from a hdd that belongs to an old SCO Unix system. The SCSI card is PCI so I unplugged it from the old SCO unix box and stuck it in a new computer and booted using a Fedora 14 USB pen drive. The SCSI card was recognized and so was the hdd but it was not mounted. I then went into Applications, Disk Utility, and found the hdd. Under 'Edit Partition' the type was blank. I was tempted to set it to 'Extended' but was not sure whether that could damage the data on the disk. Does anyone know whether I would be able to read this Hdd by setting the type to 'Extended'?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved