The tag has no usage guidance.

learn more… | top users | synonyms

13
votes
1answer
966 views

Why does Linux use SCSI drivers for non-SCSI devices? [duplicate]

Looking at what block device commands like lsblk or blkid return it seems that linux HDD support SCSI drivers regardless of the type of the devices, like a USB flash driver that is presented as ...
8
votes
3answers
15k views

mptscsih: ioc0: task abort: SUCCESS (rv=2002) causes 30 seconds freezing

I/O to my software RAID6 often freezes for around 30 seconds after which everything is back to normal. After the freeze is over this is put into syslog: Mar 14 18:43:57 server kernel: [35649.816060] ...
6
votes
2answers
152 views

Why does it take so long to detect an usb stick?

I'm writing an initramfs-script and want to detect usb-sticks as fast as possible. When I insert an usb 2.0 stick, the detection of idVendor, idProduct and USB class happens within 100 ms. But the ...
6
votes
3answers
12k views

Prevent a USB external hard drive from sleeping

Does anyone know if there is an elegant way to tell an external usb drive not to spin down after a period of inactivity? I've seen cron based solutions that write a file every minute, but nothing ...
6
votes
5answers
4k views

How to fix mpt2sas “port enable: FAILED with timeout (timeout=300s)”?

Since having set the drives attached to an LSI SAS 2008 controller to "Power up in standby", these drives are no longer being detected. Power up in standby is also known as PUIS, POIS or "ATA6 power ...
5
votes
1answer
4k views

Why do my SATA devices show up under /proc/scsi/scsi?

I have 3 SATA devices on my system. They show up under /proc/scsi/scsi, although these are not SCSI devices. Why do my SATA devices show up under the SCSI directory? $ cat /proc/scsi/scsi Attached ...
5
votes
2answers
977 views

How to tell if a SCSI device is removable?

In DMESG I see: [sdb] Attached SCSI removable disk How does Linux decide what is removable and not removable? Is there a way I can look up if a device is "removable" or not other than the log, for ...
5
votes
1answer
6k views

“echo 1 > /sys/block/sdX/device/delete” on all disks except predetermined list

I have a list of scsi disks that I need to remove. The list is considered random at best and changes from time to time. I want to remove everything except a predefined list that I have created. Let's ...
4
votes
1answer
4k views

Match PCI address of SATA controller and SCSI address of attached disks

I have a PCI-attached SATA controller connected to a (variable) number of disks on a machine with a Linux 2.6.39 kernel. I am trying to find the physical location of the disk, knowing the PCI address ...
4
votes
2answers
900 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 ...
3
votes
3answers
6k views

Locate disk in SAS enclosure

I want to blink the failing device in my 24-disk SAS enclosure. I have found sg_ses --index 7 --set=locate /dev/sg24 which is supposed to identify slot 7. But how do I figure out which slot/index /...
3
votes
2answers
77 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...
3
votes
1answer
2k views

How to check if hot-swap or hot-plug are activated on my Linux machine

I have Ubuntu 12.04.1 LTS 64-bit on a PowerEdge 2900. My current setup has two 300GB disks (no RAID), but I want migrate the system to three new 600GB disks. I'm trying to connect the new disks, make ...
3
votes
1answer
5k views

How to install much newer mpt2sas driver version in debian squeeze?

Linux debian squeeze 6.0.6 (2.6.32-5-amd64) is supplied with quite an old 02.100.03.00 version of the mpt2sas driver. I do wish to install a much newer mpt2sas driver version. In know there are ...
3
votes
0answers
972 views

SCSI Tape drive on ubuntu and centos

On ubuntu 12.10 I have those SCSI drives: [1:0:0:0] cd/dvd TSSTcorp CDDVDW TS-H653N 0208 /dev/sr0 [2:0:0:0] disk Generic USB SD Reader 1.00 /dev/sdb [2:0:0:1] disk Generic ...
2
votes
2answers
184 views

What is a Linux command that lists only USB storage devices?

I would like to list only the USB storage devices connected to my computer. Since these are SCSI disks, I used the command lsscsi, which lists the USB drives as well as my computer's hard drive and CD ...
2
votes
1answer
4k views

tar: /dev/nst0: Cannot write: Input/output error when taking backup

When I try to take backup of data more than 1MB in a tape (LTO3) using tar command it showing me the following error. xyz@localhost# tar -cvf /dev/nst0 file1.tar file1.tar tar: /dev/nst0: Cannot ...
2
votes
1answer
28 views

Unable to edit the /sys/block/sdX/device/queue_depth file

I'm trying to increase my SSD's queue depth value with the following command: echo 64 > /sys/block/sda/device/queue_depth But I receive the following error: bash: echo: write error: Invalid ...
2
votes
1answer
775 views

Failed in execute of “lsscsi” command [closed]

I can't execute the "lsscsi" command in linux, I keep getting "command not found" when I try to run it. How can I solve this issue?
2
votes
1answer
1k views

Multipath to a logical volume in a staging VM

How do I configure multipath in testing VM (purpose is purely academical)? I made new logical volume, modified multipath.conf to be as follows: defaults { udev_dir /dev ...
2
votes
1answer
1k views

How to skip/exclude one SCSI bus from scanning during boot?

A "Linux debian 3.2.0-0.bpo.3-amd64 #1 SMP Thu Aug 23 07:41:30 UTC 2012 x86_64 GNU/Linux" system has at least 5 SCSI hosts: root@debian:~# ls /sys/class/scsi_host host0 host1 host2 host3 host4 ...
2
votes
1answer
3k views

Devices get renamed when SATA disk attached

I have an HP xw8200 workstation running linux with two small, fast SCSI drives hooked up to the onboard LSI SCSI controller. The drives get labeled /dev/sda & /dev/sdb in /dev, respectively. I ...
2
votes
2answers
1k views

Are any SCSI modules needed in initrd if only SATA and IDE disks are used?

I am creating a cloning script to automate a minimalistic installation of Cent OS 5.5 on about 100 workstations of various hardware and age (2-10 years). The workstations are all either IDE or SATA. ...
2
votes
1answer
3k views

Linux EMC scan Lun not working

We have CX4-120 EMC SAN storage, I expend existing LUN size to 20GB but now i am not able to see any cylinder changes on host fdisk -l output. Following command i am running to re-scan my hda or LUN ...
2
votes
1answer
63 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 ...
2
votes
1answer
26 views

SCSI's, SATA's, RAID's oh my. Please direct me the wizard of RAID recovery [closed]

I have 4 disks (SATA) that I am 95% certain belong to a raid. The client/boss handed me a box with some disks in them and said recover data, reuse disks. There is another SCSI drive that I suppose ...
1
vote
1answer
777 views

dd outputting: “function not implemented” when trying to write to /dev/sg11

I'm trying to use the following command: dd if=/dev/urandom of=/dev/sg11 bs=16K count=1 But when executing it, I get the following error: dd: writing `/dev/sg11': Function not implemented When I ...
1
vote
1answer
42 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
68 views

Correspondence between SCSI device entries in /sys and the disks in /dev

Under the /sys/class/scsi_device folder I have the following: root@linux01:/sys/class/scsi_device # ls 1:0:0:0 2:0:0:0 2:0:1:0 3:0:0:0 How can I know how each of these devices is related to ...
1
vote
1answer
480 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
3answers
20k views

Find scsi device ids under Linux?

How can I list scsi device ids under Linux?
1
vote
0answers
26 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
0answers
32 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 ...
1
vote
0answers
46 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
226 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
0answers
62 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, ...
1
vote
0answers
582 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
1k 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 ...
0
votes
2answers
5k 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
137 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
83 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
383 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
33 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
63 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
901 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
0answers
9 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 ...
0
votes
0answers
16 views

why does SCSI Host value change during reboot?

I have attached a virtual disk to my VM and the Host value changes during reboot. How can we bind it to a particular value? Host: scsi2 Channel: 00 Id: 00 Lun: 00 or Host: scsi3 Channel: 00 Id: 00 ...
0
votes
1answer
202 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
0answers
101 views

Getting the block device from an udev scsi_disk subsystem (udev C API)

I am using the udev C API to monitor connection and disconnection of SATA drives. struct udev_monitor *mon; mon = udev_monitor_new_from_netlink(udev, "udev"); ...
0
votes
0answers
255 views

Scsi parity error leads to I/O error

We're using a fiber channel-connected disk array on a blade server. The disk array is set up as RAID 6. Since the beginning of the week our file systems have started to remount as read only due to I/...