Questions tagged [scsi]
The scsi tag has no summary.
147 questions
2
votes
0
answers
99
views
Disable a scsi drive on linux without a physical ex
Similar question was asked here. I have a SATA disk connected to a SAS2308 HBA and there is backplane. Is there any way i can make the linux system ignore the disk at boot.
# lsscsi -v
[0:0:3:0] ...
0
votes
0
answers
41
views
How to change the timeout for an inquiry command
I'm getting timeouts on inquiry while a write buffer is active because the device cannot respond to the inquiry until the write buffer is complete.
See errors .
Dec 10 16:04:39 soul kernel: sd 0:0:34:...
0
votes
0
answers
451
views
How to change hard disk bus type NVMe to SCSI in VMWare Fusion?
I use Rocky Linux and have to change my hard disk bus type but then my booting failed. However, it runs normally when i select the bus type NVMe.
Boot failed
How do i solve this? Should i make a new ...
2
votes
1
answer
75
views
Unable to boot Solaris from external scsi cd drive on a Sun Blade 150
I am trying to boot Solaris 8 from external scsi CD-ROM drive Yamaha 8/8/24 on a Sun blade 150 through Open Boot. Its scsi ID is set to 6.
probe-scsi-all reports that the CD drive is at: /pci@1f,0/pci@...
1
vote
1
answer
600
views
smartctl & device type mismatch
I will keep it short, I am trying to better understand the different standards of storage type interfaces, but the output of smartctl is confusing me a little. Is this an actual problem in my system (...
0
votes
0
answers
126
views
How to limit the number of blocks written or read in a Write_10 or Read command on Linux?
Here is the problem: My usb storage device has a 64kB (limited by hardware) buffer used to cache reads/writes which means it can only cache up to 128 blocks(512B) of memory. The SCSI Write-10 command ...
2
votes
1
answer
427
views
Naming of SAS block devices under /dev/disk/by-id?
When one uses SATA SSDs or HDDs under Linux, they can be addressed in numerous ways, like for example:
/dev/sda
/dev/disk/by-id/ata-TOSHIBA_MG05ACA800E_78LBK8P7FUUD
/dev/disk/by-id/wwn-...
0
votes
1
answer
476
views
sg_format Low Level Format Interrupted - Kernel Errors
I was going through a sg_format low-level format from 520-byte to 4096 native byte sectors - during the process, the system lost power and the server went down hard. Now in the the kernel, I'm getting ...
0
votes
0
answers
1k
views
How to find the SCSI ID of a disk in QTS?
Normally, in Linux, one can use lsscsi to map disk devices to their SCSI ID:
# lsscsi -d
[N:0:4:1] disk SAMSUNG MZVLB1T0HBLR-000L7__1 /dev/nvme0n1 [259:0]
[N:1:5:1] disk ...
0
votes
1
answer
59
views
Is my SCSI controller faulty?
I have connected an old pci buslogic SCSI (i need for retrocomputing experiment)
lspci said
06:06.0 Non-VGA unclassified device [0000]: BusLogic Device [104b:0150]
No driver loaded, no disk ...
0
votes
0
answers
723
views
USB drive error SCSI cache
just recognized an unknown error, as i checked my actual log with journalctl -f.
When i unmounted my Backup-USB-disk with unmount /path/to/disk and then pulled the cable out, a short noise occured ...
0
votes
2
answers
5k
views
LVM VG/LV is not activated at system startup
I have two multipath devices configured
mpathb (36005076300808b3e9000000000000007) dm-1 IBM,2145
size=16T features='1 queue_if_no_path' hwhandler='1 alua' wp=rw
|-+- policy='service-time 0' prio=50 ...
1
vote
0
answers
59
views
Optical drive suffering from chronic premature ejection
My slot-loading optical drive (HP BDDVDRW CA21N) spins and up and then ejects every disc, a process that takes about 15 seconds. I've found lots of posts on enabling wanted ejects, but close to ...
0
votes
1
answer
705
views
How to check if LSI20320IE is working without LTO TAPE in Ubuntu 20.04 LTS
I have done a lspci -vv to check if my Driver for the LSI20320IE SCSI Controller ( Data-Sheet ) is correct installed. (The LSI-drivers are from here MPTLINUX_RHEL4_SLES9_PH14-3.13.04.00-2.zip and I ...
0
votes
1
answer
308
views
Why the subsystem of a SATA device is scsi?
By doing udevadm info -a /dev/sda
we can see something like:
looking at parent device '/devices/pci0000:3d/0000:3d:02.0/0000:60:00.0/host6/port-6:0/end_device-6:0/target6:0:0/6:0:0:0':
KERNELS==&...
7
votes
1
answer
1k
views
Tape readable with scsitape but not dd or tar, why?
I just installed an Exabyte tape drive:
$ lsscsi -g
[11:0:0:0] process Marvell 91xx Config 1.01 - /dev/sg0
[12:0:1:0] cd/dvd TOSHIBA CD-ROM XM-3401TA 0283 /dev/sr0 /dev/sg1
[...
0
votes
1
answer
694
views
What does mean host in lsscsi command?
A notebook has only one SSD (without CDROM drive)
if I take a look at /proc/scsi/scsi it outpus:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: KINGSTON SUV500M Rev: 56RI
Type: ...
3
votes
2
answers
587
views
Parallel SCSI target mode - how to make Linux/BSD behave like a hard drive?
I use many old parallel SCSI(-1/-2) devices (many "Fast SCSI-2", 10MB/s, 8 bit wide), which I want to attach to a modern computer via a classic Adaptec PCI SCSI host adapter in "target ...
1
vote
1
answer
609
views
QEMU virtio-scsi: Cannot see the number of queues after booting VM with virtio-scsi command
QEMU newbie here. I am trying to boot a VM using QEMU, for increased performance I am trying to use a virtio-scsi mounted drive. I am following the steps given here. However when I boot my VM and I ...
2
votes
1
answer
1k
views
How do you determine the remaning capacity of a magnetic tape with mt or tar? How much space is in a block?
I am currently trying to back up data onto an LTO-4 tape using mt-st
and gnu tar 1.32, but I want to make sure I stop trying to copy things before the tape runs out! LTO-4 nominally has a capacity of ...
0
votes
1
answer
206
views
Can't see /proc/scsi/sg folder in the Yocto file system
I'm using a Yocto image on an iMX6 SoC ev-board and I would like to write a C code to access the USB storage device via sg driver.
Since I need to access the logical blocks of the storage directly ...
0
votes
0
answers
260
views
Cannot suspend because cdrom_id and udevd are in uninterruptible sleep
I upgraded the Linux kernel on my Gentoo Linux system from 4.9.76 to 5.4.38 about two weeks ago. Since then, my dvd drive will stop spinning up when I insert a dvd and my laptop can no longer suspend ...
1
vote
0
answers
927
views
virsh attach-disk only work with name vd* instead of sd*
I have an qcow2 image and want to attach another disk to it.
# create new qcow2 disk
qemu-img create -f qcow2 vm-disk2 500G
Then I attach it as sdb:
virsh attach-disk myvm /var/lib/libvirt/images/vm-...
3
votes
0
answers
115
views
How does a block device driver handle IO errors
When a block device gets a request to read a range of sectors, and one of those sectors has a read failure, how does the driver signal to the kernel that a partial read is available, and that the ...
1
vote
0
answers
288
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 ...