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-devel

Re: [Xen-devel] NetApp vfiler example scripts

To: Mark Johnson <johnson.nh@xxxxxxxxx>
Subject: Re: [Xen-devel] NetApp vfiler example scripts
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Tue, 20 May 2008 13:38:28 +0200 (CEST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Tue, 20 May 2008 04:38:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <521a4d120805200434v1ed338a8v1ce4f35584ae1daa@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 20 May 2008, Mark Johnson wrote:

> 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.

I guess the main problem is that the scripts are targeted for Linux with
sysfs.

> >> 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?

Exactly. I never understood the need for pygrub in the first place.


Stefan


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