Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [scsi]

The tag has no usage guidance.

1
vote
1answer
372 views

Force disk onto /dev/sdX

I'm trying to ddrescue (through rescueCD) a drive, which keeps spinning down. e.g ddrescue -N -n -A -M -f /dev/sdk /dev/sdd mapfile Without rebooting I can get the drive for a short while through ...
1
vote
1answer
525 views

Is there a tape drive connected?

I need to know if there is a SCSI tape drive connected to my OpenSUSE Linux server. I tried checking the status of /dev/st0 but got an error message: mt: /dev/st0: Input/output error. /proc/scsi/...
1
vote
1answer
755 views

What does this key code qualifier mean?

I know that in general this means that I have a "bad disk". But I'm after a more specific reason for why I am getting these messages from the kernel: sd 15:0:0:0: [sda] Attached SCSI disk sd 15:0:0:...
1
vote
1answer
59 views

How to terminate old IBM internal DDS-3 tape drive?

I'm having some difficulty getting an old DDS-3 tape reader working on my Linux workstation. Some details: From the product code that is printed on the label (E30364) I managed to identify the tape ...
1
vote
1answer
2k views

How does SMART work for scsi device?

After going through the man pages of smartctl, smartd and smartd.conf, I am no clearer on how S.M.A.R.T. is supposed to work on a scsi device. I have a default configuration file that says: ...
1
vote
1answer
880 views

monitor iops sizes

How to monitor size of the storage iops on a modern Linux ? I'm able to monitor quantity of the storage iops using commands like iostat. However I would like to know the size of the iops which are ...
1
vote
1answer
3k views

VMware: `SG_IO: bad/missing sense data` on a fresh SCSI virtual disk

I'm running VMWare Workstation 12.1.1 Pro under Windows 10, with a guest Linux Mint 17.2 with virtual hardware version 11. My only current disk is a virtual SATA. When I add a virtual SCSI device at ...
1
vote
1answer
76 views

Cannot boot up when Adaptec SCSI card is replaced

Current Fedora 19 installation is on an Adaptec 29320 and I am trying to temporarily replace it with an Adaptec 29160. The functionality of the cards is very nearly the same except the replacement is ...
1
vote
1answer
68 views

Batch creating partition then partition node; access failing

So I've got an program that takes a device, partitions it and then creates the device node for the partition. The problem is, that the kernel does not pick up the device until some kind of rescan is ...
1
vote
1answer
530 views

How to erase SAS SSD

For SATA SSD, I know that there exists an open source program named hdparm for secure erase by issuing ATA command and this tool has been embedded within linux operating system. For SAS SSD, I want to ...
1
vote
1answer
2k views

I can't find tape device file inside /dev directory

I'm using tape storage drive HP LTO3 1x8 auto-loader which is connected to my server running CentOS. it is detected in CentOS correctly. cat /proc/scsi/scsi Host: scsi2 Channel: 00 Id: 01 Lun: 00 ...
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
64 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
1answer
31 views

Can I change LIO SCSI Disk Vendor name

I'm using LIO for SAN scsi. The shared disks shown as LIO-ORG at client side. Example; [root@testing ~]# lsblk -S NAME HCTL TYPE VENDOR MODEL REV TRAN sdc 4:0:0:0 disk LIO-...
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
125 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
1answer
246 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
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
1answer
292 views

/proc/scsi/<device> not found, but device is otherwise working

I have a RocketRaid 622 RAID controller card, installed on a machine running Linux Mint 18.2. The drivers have been successfully compiled and installed with dkms, after some customizations to make it ...
1
vote
0answers
842 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
1answer
234 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
0answers
207 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
862 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 ...
1
vote
1answer
101 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
341 views

Get SAN Lun Names

My storage administrator assigned LUNS for a RHEL 5.10 Server. Now when I run /sbin/scsi_id -g -u -s /block/sdN, it shows: 360060160c8803500183327ae00a2e711 Now I want to see the exact name, just ...
0
votes
1answer
61 views

How soon will linux notice that a disk has been detached ? And can it be quicker?

I found that if I detach a disk from my Linux server (CentOS 7), the related /dev/sd* file will disappear automatically about 10 seconds later. I'm wondering how does Linux know a disk has been ...
0
votes
2answers
7k views

Install Fedora core 15 on HP Smart Array Controller HDD

I need to install "Fedora Core 15" Linux on to HP Smart Array Controller attached HDD. Problem is Fedora Core 15 kernel do not has HPSA device driver. I tried to load (my own build) HPSA driver (...
0
votes
1answer
143 views

How to change the ID number of the SCSI bus

I've 2 disk in RAID1 which is broken. I worked several day thinking the RAID is working and I noted not because several files is missing after a reboot. The odder the disk doesn't want to take its ...
0
votes
1answer
1k views

SCSI disk not shown up during Rhel7 OS installation

In my system, I configured my SCSI disk and tried to install Rhel7 Beta2 OS on it. But for installation, I can't see the SCSI disk. If I'm trying to install other OS I can see the SCSI disk. I don't ...
0
votes
1answer
167 views

Scanning SCSI_HOST: Environment: VMWARE Workstation, VM OS RHEL 7.0

After the adding the new HDD through settings in VMWARE workstation, the sdx are discovered through scanning the SCSI_Host. My question is that, in the following command how I can include globbing. ...
0
votes
2answers
2k views

Find SAS controller that is well supported by the linux kernel

How can I find a SAS controller that is well supported by the official Linux kernel? The controller should use the PCIe bus and needs to connect one LTO-6 tape drive. I have looked through the ...
0
votes
2answers
53 views

AIX: mptconfig equivalent

On hpux i use mptconfig to show speed and other info about scsi controller. There is something similar on aix?
0
votes
1answer
103 views

How are logical partitions represented in Linux?

In the texts I study (like: LPIC_1 study guide by R.W. Smith), the linux partitions have been introduced directories split as /home, /boot, /usr and /etc... Looking at what lsblk returns as follows: ...
0
votes
1answer
1k views

Centos/RHEL 5.5/5.6 supported SCSI adapters

We have a batch of SuperMicro 6014H-82 servers that have Adaptec 2015S SCSI controllers fitted. Unfortunately, according to the bug tracker (0002087: CentOS installer won't detect harddrives) it looks ...
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
53 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
0answers
63 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
1answer
596 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
236 views

Why is `ioerr_cnt` rising, without showing any messages in the log?

$ cd /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0 $ ls -l driver subsystem lrwxrwxrwx. 1 root root 0 Apr 5 10:48 driver -> ../../../../../../../bus/scsi/drivers/sd ...
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
1answer
129 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
657 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
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@...
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
1answer
801 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 ...
0
votes
3answers
115 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 ...
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 ...
-5
votes
1answer
542 views

Sequence of errors leads to init failure and subsequent kernel panic

We have one Redhat test server installed on Vmware ESXI. And when I boot the server it gave this error. How to solve this issue because due to this error it doesn't boot.