Hyper-V and IDE disks > 128GB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am seeing some rather odd behavior when using Linux (I've tried 2.6.30.10, 2.6.34.7, and 2.6.35.6, all with the same results) under the Hyper-V virtualization platform.  Specifically, the virtual IDE disks probe as "ATA-0", which seems to turn off 48-bit LBA, thus capping the disk size at 128GB.

This seems to have worked properly (at least in the sense that the full size of the disk was visible) on kernel 2.6.27.41.  See http://www.serverphorums.com/read.php?12,79638

In any event, this is how the virtual disk shows up at boot:

Oct 15 11:06:06 localhost kernel: ata1.01: ATA-0: Virtual HD, 1.1.0, max MWDMA2
Oct 15 11:06:06 localhost kernel: ata1.01: 267382800 sectors, multi 128: LBA

hdparm -I /dev/sdb says:

/dev/sdb:

ATA device, with non-removable media
	Model Number:       Virtual HD                              
	Serial Number:      
	Firmware Revision:  1.1.0   
Standards:
	Likely used: 2
Configuration:
	Logical		max	current
	cylinders	16383	65535
	heads		16	16
	sectors/track	63	255
	--
	bytes/track: 65024	bytes/sector: 512
	CHS current addressable sectors:  267382800
	LBA    user addressable sectors:  267382800
	Logical/Physical Sector size:           512 bytes
	device size with M = 1024*1024:      130558 MBytes
	device size with M = 1000*1000:      136899 MBytes (136 GB)
	cache/buffer size  = 64 KBytes (type=DualPortCache)
Capabilities:
	LBA, IORDY(can be disabled)
	Buffer size: 64.0kB
	Standby timer values: spec'd by Vendor
	R/W multiple sector transfer: Max = 128	Current = 128
	DMA: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=333ns  IORDY flow control=120ns

Can someone suggest a direction to go in next?

Thanks very much,

David

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux