|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] hdparm/sdparm/smartctl from the DomU
If you are mounting sda, sdb from domain-0, you know,
it's impossible to unbind.
In this method, you need to prepare dedicated disk controller(s)
for domain-U to try that.
--
Takeshi HASEGAWA <hasegaw@xxxxxxxxx>
2009/4/18 Ryan Kennedy <rkennedy@xxxxxxxxxxxxxx>:
> Yes, that is exactly how I have them configured.
> I was afraid that the virtual block device driver wouldn't allow me to
> hdparm the device.
> I did a PCI passthrough of the SATA controller's PCI address. Is that
> what you mean by "assign disk controllers to the DomU directly"?
> It didn't make any difference, although I did not unbind it from the
> Dom0. Seeing as how Dom0's sda/sdb drivers are using that controller I
> don't think I can unbind it without crashing the system. :-)
> Is there some other method for presenting the disk controllers to the domU?
>
> Thanks.
>
> Takeshi HASEGAWA wrote:
>> Configured like this?
>>
>> disk=[ "phy:/dev/sda,sda,w", "phy:/dev/sdb,sdb,w", ]
>>
>> If so, the /dev/sd[ab] in Domain-U are not SCSI devices,
>> even though they're named like "sdX."
>> I guess your sd[abc] devices in domain-U should be shown below:
>>
>> [root@vm182 sdc]# ls -l /sys/block/sdc/
>> total 0
>> -r--r--r-- 1 root root 4096 Apr 18 03:22 dev
>> lrwxrwxrwx 1 root root 0 Apr 18 03:22 device -> ../../devices/xen/vbd-2080
>> drwxr-xr-x 2 root root 0 Apr 18 03:22 holders
>> drwxr-xr-x 3 root root 0 Apr 18 03:22 queue
>>
>> They're actually xen's virtual block devices, so It's impossible to hdparm
>> them.
>> Maybe you need to do that from domain-0, or assign disk controllers
>> to domain-U directly.
>>
>>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|