Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 8743

Linux guest doesn't see all SCSI vhds 2008R2/CentOS6.5

$
0
0

Hello,

Hyper-V newbie here.

I have a CentOS 6.5 guest with 1 IDE drive on the first IDE controller and 10 SCSI drives all on a single SCSI controller. The linux box does not see anything past /dev/sdh (the 7th SCSI drive). I have tried the stock 2.6.32-431 kernel as well as the kernel-lt-3.10.36-1 and kernel-ml-3.14.0-1 kernels from elrepo.

dmesg shows:

...

hv_vmbus: registering driver hv_storvsc
scsi2 : storvsc_host_t
scsi 2:0:0:0: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi3 : storvsc_host_t
scsi scan: INQUIRY result too short (5), using 36
scsi 3:0:0:1: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi 3:0:0:2: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi 3:0:0:3: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi 3:0:0:4: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi 3:0:0:5: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi 3:0:0:6: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4
scsi 3:0:0:7: Direct-Access     Msft     Virtual Disk     1.0  PQ: 0 ANSI: 4

sd  2:0:0:0: [sda] 41943040 512-byte logical blocks: (21.4 GB/20.0 GiB)

... and so on for sda-sdh ...

The "INQUIRY" line might be related to my issue, I really have no idea. 

Has anyone else seen this problem or found a fix? The only workaround I have found is to add another SCSI controller. Right now I have the guest running with 2 SCSI controllers with 5 drives each.


Viewing all articles
Browse latest Browse all 8743

Trending Articles