scsi

VMWare Server: Virtual Hard Drive Type

For best performance, is it better to use a virtual IDE HDD or virtual SCSI HDD? If, SCSI, does it matter whether you use an BusLogic or LSILogic? ...

issuing hard drive commands with java

Does anyone know of a way to issue commands to a hard drive within Java? Does Java even support this kind of hardware interaction? For example, if I have a SCSI hard drive that I would like to inquiry, is there a pre-existing Java method to do this, or would I have to write my own? http://en.wikipedia.org/wiki/SCSI has some general inf...

Is there a definitieve resource that documents navigation of the linux /proc and /sys filesystems?

We use the /proc and /sys file systems in Linux to discover various types of system configuration information. Typically, we spelunk around through the different files and directories until we find the information that we need. I'm wondering if anyone knows of a definitive resource that documents how one would navigate through the /pro...

SCSI Windows Setup on Dell Precision 670 Workstation...please help.

Error Windows Setup: "setup did not find any hard disk drives installed in your computer" This is not exactly a programming question but I thought you guys might be able to help. I just received a Dell Precision 670 workstation. Windows is not recognizing the hard drive and I have experienced this before with other computers. I usually ...

How can I simulate a failed disk during testing?

In a Linux VM (Vmware workstation or similar), how can I simulate a failure on a previously working disc? I have a situation happening in production where a disc fails (probably a controller, cable or firmware problem). Obviously this is not predictable or reproducible, I want to test my monitoring to ensure that it alerts correctly. I...

How to get serial number for Hard Driver

How to get the unique number (serial number/ID) for Processor (CPU), SCSI, Display, and IDE using C++ program other than WMI and asm code? ...

How to find out if SCSI device (say /etc/sda) is a disk or not via ioctl calls or other ?

How to find out if SCSI device (say /dev/sda) is a disk or not via ioctl calls or other ? I have tried the following but the ioctl call fails. My /dev/sda is a USB flash disk. #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <scsi/scsi.h> #include <scsi/sg.h> #...

RHEL 5 SCSI ADPATEC

HI I have RHEL 5 box . and adpatec scsi card connected to it . I can see the adaptor under dsmeg | grep -i scsi dmesg | grep -i scsi SCSI subsystem initialized scsi0 : SCSI emulation for USB Mass Storage devices Type: CD-ROM ANSI SCSI revision: 00 scsi 0:0:0:0: Attached scsi generic sg0 type 5 sr0: scs...

How could get scsi HDD serial number?

I wanna get the serial number of a scsi harddisk, but it makes an error! I work with VC++ on Microsoft Windows XP. What must i do for that? ...

LBA48 in Linux SCSI ATA Passthrough

I am writing a custom disk monitoring/diagnostics app which, among other things, needs to do stuff to SATA disks behind a SAS PCI card under Linux. So far I am following this guide as well as the example code in sg_utils to pass ATA taskfiles through the SCSI layer. Seems to be working okay. However, in both cases, the CDB data structur...

send SCSI commands using C#

Hi all, I'm controlling my self-designed USB device using SCSI interface with C by opening a file handle, ioctl and using sg_io_hdr_t structure. I have to design a GUI, and i should do that with C#. I am not too familiar with C#. Could u suggest a way to do that with C# ...

Sending a specific SCSI command to a SCSI device in Windows

Hi, Does windows have specific interface by which I can send a specific scsi command such Inquiry to scsi device ? I searched the net, found passing reference to SCSI Pass Through interface. But Its very Vague. Is there any documentation for that API on how to use it?? ...

How to control access right on a SCSI disk in Linux?

I'm trying to lock a SCSI device (a shared storage disk) using ioctl but I can't find a highlevel API for this and I'm not sure which commands to use. Basically I want to be able to do the four operations mentioned here: http://docs.sun.com/app/docs/doc/816-5177/mhd-7i?l=en&amp;n=1&amp;a=view (See: Non-shared multihost disk). I already h...

Undocumented SCSI sense/ASC/ASCQ error code

A bit specialist this one, I'm afraid. Any clues gratefully received. O/S is Windows 7 x32/x64 When writing correctly formatted CD-Text to the lead-in of a USB CD/CD-RW the device returns SK 0x04 ASC 0x08 ASCQ 0x05 This is not documented in the MMC 3-5 specs. Does anyone know what it means? The resulting CD does contain CD-Text as e...

SCSI Performance on Win7 vs XP/Vista

Hi, It's my first question here and hopefully someone can help me out of this. MANY THANKS IN ADVANCE. We are working on a storage device that will appear to a PC as a CDROM, based on the USB connection. A SCSI firmware layer is implemented as the protocol used for data exchange and communication. So from the PC point of view the devic...