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

Re: [Xen-users] hdparm/sdparm/smartctl from the DomU


  • To: Ryan Kennedy <rkennedy@xxxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Takeshi HASEGAWA <hasegaw@xxxxxxxxx>
  • Date: Sat, 18 Apr 2009 04:11:20 +0900
  • Cc:
  • Delivery-date: Fri, 17 Apr 2009 12:12:15 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=b8BudCKtEQTsJ028v9+/llCYZvCMV+YjWsO/l0K2/5kwfIFC++/dDvjKyqaaM1rB7q mCT3y/BuRbDCwd7aY+B76+J+HYZigDEBcQSWTui4dqWMoF1KQ5dU8AyYdZ9rgJDqZDkQ SSGdbuZLM/fwqV/fB/04SOYpjkEwbqNe6nTmo=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.