The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
16 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:...
4
votes
2answers
908 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 ...
2
votes
2answers
224 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 ...
0
votes
1answer
838 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: ...
6
votes
4answers
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 ...
2
votes
1answer
81 views

How can I write raw data to a USB device

I'm attempting to write raw data to a USB device connected to my computer. I'm using Kali Linux, and I found the correct filepath: "/dev/usb/003/013" . However, when I try to write data to it I get ...
0
votes
0answers
25 views

3.10 kernel changed how it handles scsi / udev behavior

This is a nfs booted kernel and custom initramfs to execute code on bootup. Here is dmesg after that piece completes and pivots into the running file system. https://paste.fedoraproject.org/387110/...
0
votes
0answers
14 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 ...
2
votes
1answer
46 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 ...
1
vote
1answer
50 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
492 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:...
0
votes
1answer
223 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 ...
1
vote
1answer
82 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 ...
6
votes
2answers
195 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 ...
1
vote
0answers
29 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
33 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 ...
0
votes
0answers
17 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 ...
1
vote
0answers
49 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: ...
2
votes
1answer
66 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
0answers
252 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
63 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
159 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
0answers
109 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
275 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/...
0
votes
0answers
73 views

Find drive for SCSI device

This is the first time that I am working with storage devices. When I run cat /proc/scsi/scsi on my server, I have the following result: Attached devices: Host: scsi0 Channel: 00 Id: ...
0
votes
1answer
87 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
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 (...
2
votes
1answer
877 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?
0
votes
2answers
430 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
34 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
2answers
44 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 ...
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 /...
1
vote
3answers
21k views

Find scsi device ids under Linux?

How can I list scsi device ids under Linux?
1
vote
0answers
618 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 ...
3
votes
2answers
78 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 ...
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 ...
13
votes
1answer
996 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 ...
0
votes
1answer
65 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: ...
6
votes
5answers
5k 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 ...
0
votes
0answers
155 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 ...
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
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 ...
5
votes
2answers
1k 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 ...
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 ...
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 ...
3
votes
0answers
999 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 ...
1
vote
1answer
824 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 ...
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 ...
6
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 ...
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 ...