Questions tagged [scsi]

The tag has no usage guidance.

0
votes
3answers
116 views

Can we predict the next registered SCSI mass storage device name

I need to anticipate the device name (sdX) that the next mass storage device (sda, sdb, sdc, …) will receive from the SCSI driver. If I remove one device and connect another one, I noticed that the ...
5
votes
2answers
1k views

How do I make use of unused space on my boot drive on FreeBSD

I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
4
votes
2answers
726 views

How to find out what enclosure a disk belongs to?

lsscsi tells me that I have a number of disks and enclosures. I can use $ ls /sys/class/enclosure/6:0:10:0/ArrayDevice*/device/scsi/disk to get a listing of all the scsi addresses of disks under the ...
0
votes
2answers
5k views

How to figure out SCSI_ID on RHEL7

I am running into an issue on a server I am building into a template for Oracle on Red Hat 7. I can't seem to pull in my SCSI IDs of hard drives. Here is what I have tried so far. [root@...
2
votes
1answer
293 views

Disable SCSI (CAM) device

I want to tell the FreeBSD kernel to completely ignore a SCSI cam(4) device. # cat /var/run/dmesg.boot | grep '\<da1\>' ada0: 600.000MB/s transfers (SATA 3.x, da1 at umass-sim0 bus 0 scbus4 ...
1
vote
1answer
249 views

(re)Scanning scsi device works while scanning scsi host doesn't on centOS 6.9

Today I added 1GB of extra space to a virtual disk (basically extended it) in esxi VM. I followed 2 approaches to get the new space recognized: echo "- - -" > /sys/class/scsi_host/host2/scan ...
1
vote
1answer
235 views

Why so many `scsi 4:0:0:0: CDB: Inquiry: 12 00 00 00 24 00` in my message log?

My os is debian8. cat /var/lgo/messages Jul 23 16:56:27 hwy kernel: [ 117.736167] scsi 4:0:0:0: CDB: Jul 23 16:56:27 hwy kernel: [ 117.736168] Inquiry: 12 00 00 00 24 00 so many Jul 23 16:56:...
1
vote
1answer
177 views

Bushound alternative for Linux for SCSI logging

I was wondering if anyone knew of a good solution to logging specific SCSI device traffic on Linux? Does anyone knew of a comprable Linux alternative to Window's Bushound? I have looked at already ...
1
vote
1answer
102 views

Old Unix and old partition table

We have a Unix OS which was installed in 1985. This system is installed on a SCSI hard disk. I can probe the specification of the hard disk, but I cannot read the partition table. It's not damaged, ...
0
votes
1answer
28 views

How to get host “client” initiator wwn's from FC SAN card & switch

I saw an IBM San Storage and at Host alias creation page they can show you available host (client) initiators wwn's to choose. And I wonder how they can find client initiator wwn's from storage? I ...
0
votes
1answer
55 views

connected old scsi disk via IDE->USB adapter, recognized in syslog but not fdisk?

I have an old hard disk I'm trying to check for data and format before recycling/donating. I'm using an IDE to USB adapter to connect the disk to my linux laptop. In my syslog I see the following ...
0
votes
1answer
630 views

Dealing with Device-Mapper (Multipath) Failing paths

When a disk starts to die slowly multipath starts to Failing & Reinstating paths and this keeps forever.. (I'm using LSI-3008HBA card with SAS-JBOD not FC-Network) Dmesg; Sep 13 11:20:17 DEV2 ...
0
votes
1answer
131 views

mtx reverses the numbers given to tape drives by CentOS and scsi generic (sg) devices

we have some confusion when we run mtx commands to load a tape from an autoloader slot to tape drive. we have two LTO-5 tape drives connected to our backup server. They are recognized by the ...
0
votes
1answer
662 views

How to interpret SCSI device (sd) timeout logs

In /var/log/messages, I find the following log: Oct 23 21:48:53 localhost kernel: sd 3:0:0:0: timing out command, waited 180s Please explain the values that are separated by colons. Also where ...
0
votes
1answer
805 views

HDD error: SMART Status command failed: scsi error medium or hardware error (serious)

After my PC won't start again (my first guess was the power switch to turn it on was dead), I removed the HDD to extract my data. When I set the HDD (a 640 GB WD) into an external case (USB 2.0), the ...
2
votes
0answers
26 views

Does Linux has a fundamental limitation about using multiple cd/dvd drives simultaneously?

I have two cd/dvd drives in my laptop. One is an external USB drive and the other is the SATA drive that came with it. And I can't burn two DVDs at the same time in both of them at full speed no ...
2
votes
0answers
113 views

/sys/block/sd*/device/timeout not accurate

The default value for the timeout file for SCSI disks is 30, supposedly meaning 30s. In my dmesg logs, I find that the system is waiting 180s before timing out. Setting timeout to various values ...
2
votes
0answers
43 views

Multipath — Ignoring internal disks

I want to configure multipath such that it ignores all the internal disks and only sees SAN Luns. Any idea how can I achieve that? Basically I want to filter out all the internal disks like IDE, SAS ...
2
votes
0answers
124 views

Virtualization and SCSI passthrough

Is there a way to do SCSI passthrough in a virtualized environnement under Linux (Linux being the host OS, and MacOSX being the guest OS)? My goal is to drive a high end scanner for which no driver ...
2
votes
0answers
2k views

module scsi_wait_scan not found on CentOS kernel-ml causes kernel panic on boot

I am attempting to upgrade from kernel-lt to kernel-ml, following the instructions here, however on boot the console is flooded with module "scsi_wait_scan" not found This leads to a general kernel ...
1
vote
0answers
15 views

How to identify the disks of a Linux virtual machine in VMware vSphere 6

I have a virtualized RHEL7 server with vsphere 6, I need to remove some virtual disks from vCenter that are presented to my virtual machine (rhel server) that are no longer being used by the operating ...
1
vote
0answers
17 views

how to make sure SCSI is properly freed

I have external SSD that I want to safely remove (as part of automation): lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 89.3M 1 loop /snap/core/...
1
vote
0answers
68 views

USB SCSI drive recognized, but can't mount

This is a MyBook AV drive that was recording video from my fios box before I cut the cord. I'm trying to use it as a backup drive with a SCSI to USB cable. Ubuntu 18.04. Detected by lsusb and lsscsi, ...
1
vote
0answers
35 views

Drive emulation at driver level

I would like to emulate a virtual SED at driver level. The goal is to develop/simulate the "firmware" of a drive, and map driver interface commands to an app which would handle interface specific ...
1
vote
0answers
127 views

Max transfer size in SG_IO/SG_ATA_16

I need to pass a direct, raw ATA request to a hard drive (0x25, READ DMA EXT), to disobey max sector count (long story), and to bypass all possible OS caches, buffers, reorderings et al. ...
1
vote
0answers
1k views

How do I determine the cause of a SCSI device reset?

I found this in /var/log/messages: Jul 27 03:59:46 localhost kernel: sd 3:0:1:0: [sdd] SCSI device reset on scsi3:1 I don't see any other error logs to indicate why the reset occurred. How do I ...
1
vote
0answers
847 views

Disable disk spindown with sdparm?

I'm using USB drive sat controller so hdparm doesn't fully work for me. How can I disable spindown with sdparm? (equivalent of -B 255, -S 0) lapsio@nuc ~> sudo hdparm -I /dev/sdb /dev/sdb: ATA ...
1
vote
0answers
208 views

How async_port_probe() call works in linux kernel?

To Understand the SATA device enumeration process I was studying the driver/ata/ata_piix.c which is showing as SATA host driver for my system in the output of lspci command. 00:1f.2 IDE interface: ...
1
vote
0answers
863 views

Disk benchmark IO depth clear out

When I'm manipulating over some benchmark tool I/O depth, what exactly am I changing? Let's say I have SATA disk on /dev/sda. If I run hdparm: root@linaro-gnome:~# hdparm -I /dev/sda | grep Queue ...
0
votes
0answers
67 views

Shrink LVM2 Thin Volume

I would like to shrink the space required by a thin volume used as a disk for a virtual machine (Windows). Unfortunately, the underlying disk is a USB-attached SSD and therefore mounting the NTFS ...
0
votes
0answers
30 views

How to view pending SCSI requests?

If the PC sends a request to read a sector on an optical disc, which turns out to be unreadable, the drive deadlocks the program into responselessness and motionlessness, until it returns the sector ...
0
votes
0answers
262 views

Usb storage doesn't mount

I'm connecting my LinkitOne to my arch linux pc, and it doesn't mount. When I'm connecting same Linkit One to windows pc and another arch linux pc it works as it should. Here is dmesg output on my pc ...
0
votes
0answers
250 views

AIX equivalent of Solaris' iostat -E

On Solaris you can use the command iostat -En to view "disk error statistics" as counted by the kernel since the last reboot, where the -n option causes iostat to show "nice" device names. I'm ...