[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>
  • From: Ross Walker <rswwalker@xxxxxxxxx>
  • Date: Fri, 17 Apr 2009 18:43:15 -0400
  • Cc: Takeshi HASEGAWA <hasegaw@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, Javier Guerra <javier@xxxxxxxxxxx>
  • Delivery-date: Fri, 17 Apr 2009 15:44:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type:x-mailer :mime-version:subject:date:cc; b=ZxBSmEtZQaM1sK6nJlRqyBghrlDYwvuDpFTdc/fvsX48XbZqv/iogXzqlIcl2r4Vz1 iyqObFF0VxMtnleVvINWOazWloD2OB4JmMUoLD5ocsi21dWWTpeq14rAS2ZssUWZKnm7 TLV2DTqF24LLiXscUewJ8O8/AIkZPrk6eOD+4=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


If it is for domU encrypted storage you would be better off using the domU's GUID as the salt then the SN of dom0's HD.

-Ross


On Apr 17, 2009, at 4:06 PM, Ryan Kennedy <rkennedy@xxxxxxxxxxxxxx> wrote:

Oh yes... I understand the concern completely.  The only reason I want to do this is to pull the S/N from the sda hard drive for encryption purposes.  Know of any way to do that from the DomU?

Javier Guerra wrote:
On Fri, Apr 17, 2009 at 2:31 PM, Ryan Kennedy <rkennedy@xxxxxxxxxxxxxx> wrote:
  
I was afraid of that.
I'm not directly mounting sda/sdb in the dom0, but they are members of a
MD RAID1 that the dom0's root fs is on so... yeah, I'm hosed.
Is there any way to run a command on the dom0 from the domU?
    
why would you want to manage from DomU a hardware that is so many
layers away from what DomU uses?

hardware management is the role of Dom0, doing elsewhere is asking for
trouble.  like trying to send commands... ssh makes you jump through
several hoops precisely because it would be such a wide security hole
to do otherwise.


  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
_______________________________________________
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®.