WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Ryan Kennedy <rkennedy@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] hdparm/sdparm/smartctl from the DomU
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:x-mailer:mime-version:subject:date:cc; bh=otQD8VfTJV5G4nUQkOeGF0q19zrR4fqBWd94DDrVZpg=; b=ByQDHZgJ2LshDbBuXub51kE+RRQJKH3XnLdPlgWZ//54UwJTxTy0gVHfHsUlvQR+iH lPqmvrcgLiEhL9tBHeBE2ZhLg2SpZ3lb5RtBrnuVl+p2SxAh80Ocp0ydzXa6W0S+kt5M eAIUj2isatC3D7HwEWUdHlwH34CynZ2SCquzs=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49E8E14C.8000202@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <49E8BFF2.8030606@xxxxxxxxxxxxxx> <87e595630904171128w67cce80bxe11915e4a076382a@xxxxxxxxxxxxxx> <49E8D1A2.6030102@xxxxxxxxxxxxxx> <87e595630904171211sb85a056q43db32e520bd7be5@xxxxxxxxxxxxxx> <49E8D8F9.4000605@xxxxxxxxxxxxxx> <90eb1dc70904171248x73b09bfamff10326ead70d45@xxxxxxxxxxxxxx> <49E8E14C.8000202@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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