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

Re: [Xen-devel] NetApp vfiler example scripts


  • To: "Stefan de Konink" <skinkie@xxxxxxxxx>
  • From: "Mark Johnson" <johnson.nh@xxxxxxxxx>
  • Date: Tue, 20 May 2008 07:34:49 -0400
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
  • Delivery-date: Tue, 20 May 2008 04:35:11 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VpSdmy9XdAgO1d46oYMeajvBYWNgbv0JGHr1VT42PfeScxULAUjhu166z2CKs5nueB949SnGYQYPfSG1466f/lYD3Oo2V962bMWgnwutJUK6u3b+AelHrNrm82zNqiQsrxzJ7eekV7JVQmMvGr9sY1yRdQZEfOMZvnf/IVTyY1o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Mon, May 19, 2008 at 4:27 PM, Stefan de Konink <skinkie@xxxxxxxxx> wrote:
> Mark Williamson schreef:
> Mark Johnson schreef:
>> I've been playing with adding extensions to phy: to handle dynamic
>> block devices. For iscsi, it's something like.
>>    phy:iscsi:[static]/<targetid>/<lun>/[serverIpAddr]
>>
>> e.g.
>>   disk = ['phy:/dev/zvol/dsk/tank/guests/snv89,0,w',
>>
>> 'phy:iscsi:static/iqn.1986-03.com.sun:02:17f34578-00a9-ef69-f3e9-b8a2896a4915/0/192.168.0.70,1,w']
>>
>> when the block hotplug script see's the phy:<ext>: it
>> looks for something like a block-<ext> script and runs
>> it if it can find it, else, defaults down normal path.
>
> Isn't that what normally happens? Just type blabla: and it will go to
> block-blabla?

Not for Solaris.


>> The iscsi hotplug script verifies/sets up the disk, then adds
>> a params-dynamic (equivalent to Stefan's node?) entry in
>> xenstore.  A small change to the disk backend looks for a
>> dynamic entry first, then defaults back to param if it can't find it.
>
> I have based all my code on the shoulders of giants, the final code was one
> big mash up.

I assume you aren't using pygrub to boot off of a iscsi disk?



Thanks,

MRJ

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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