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] Anyone able to NFS boot on xen 4.x ?

Subject: Re: [Xen-users] Anyone able to NFS boot on xen 4.x ?
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Fri, 28 May 2010 16:44:11 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 28 May 2010 16:45:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type :content-transfer-encoding; bh=xXLwEqno4rh25Bv35sXlzYiWsZr0ZaSUkZupNY2bQHA=; b=FcZWoZkTtIGNSTN/V3TqY7bHiIo8L+XUZvA1B0fnmvLhSNu5DJqcRKBfZ2Fq3WcOSU IeoRr4XLUxvrjoE1IAlfqHIqduayXCdtp0E7cerONcfpMq7Don1uZLOP4UD/1MBAE1MQ 1uD6tNND82622ujc5ThMfByWBWvQalPRplNfA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; b=cgFWeiIo0LtIbx/EyRX/g/R8kEi/vXu6WjvLN1UxdQcbMpbxo+bnOW2am5LJGwKACn Boam3IToVDnBAlQEohs/sd2bt2z+hvTH2W/F2HuB0Wa6U57s81TvViDwY6sP+HYonZ3V R9uAPlc+MmSnnmnn/WSz/NrfjqmllcEtaWRuw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFFF9A6.2010904@xxxxxxxxxxxxxxxxxx>
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: <AANLkTineGLV8Fub9yMUYYnlIGzo67Ed8yOLzJtp5uw-z@xxxxxxxxxxxxxx> <4BFFF9A6.2010904@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Felix,
Thanks for the info.

I assume form the
     > kernel     = "/mnt/public/xen/linux-rescue"
line that you are using a pv domU.

Can one NFS boot an hvm system?

-Bruce



On Fri, May 28, 2010 at 10:13 AM, Felix Kuperjans
<felix@xxxxxxxxxxxxxxxxxx> wrote:
> I am using NFS root filesystem for many of my domUs on XEN 4.0.0 for
> rescue systems.
>
> It's just as it should be:
>
> domu.cfg:
>
> # General information:
> name       = "Rescue"
> memory     = 2048
> vcpus      = 4
>
> # Boot configuration:
> kernel     = "/mnt/public/xen/linux-rescue"
> root       = "/dev/nfs"
> nfs_root   = "/mnt/rescue"
>
> # Additional configuration:
> nographic  = "yes"
> timer_mode = 1
>
> # Kernel network configuration:
> interface  = "eth0"
> ip         = "10.157.0.1"
> netmask    = "255.252.0.0"
> gateway    = "10.156.0.1"
> hostname   = "rescue.domain"
> nfs_server = "10.156.0.1"
>
> # Network interfaces:
> vif        = [ "mac=00:16:3e:9d:00:01,vifname=vif-rescue" ]
>
> # Virtual disks:
> disk       = [ ]
>
>
> Some things you need to do:
>
> 1. Root filesystem over NFS support in the domU kernel
> 2. NFS export on Dom0 ro or rw and only IP-based authentification
> 3. Use NFSv3; NFSv4 has no root-fs support without an initrd and many
> extra settings.
> 4. Network settings must be correct at boot time (kernel level
> autoconfiguration), so have to adopt my settings to your network setup
> (mine is routing with internal IPs, NAT and much firewalling, far away
> from default bridging)
>
> Regards,
> Felix Kuperjans
>
> Am 28.05.2010 18:50, schrieb Bruce Edge:
>> Has anyone been able to get domU NFS boots working with any version of
>> Xen 4.x? If so, can you please post your config? Both the dom0 Xen
>> version & kernel, as well as the domU config file.
>>
>> I've spent a lot of time running through all the docs, HOWTO's and
>> published configs and assorted patches for Ubuntu 9x-10x and Xen 4x
>> trying NFS booting with each. I'm not going to document all the
>> failure modes here as I've already posted most to the xen-devel list.
>>
>> I'm starting to think that it plain doesn't work with Xen 4. Does
>> anyone else use this?
>>
>> Thanks in advance.
>>
>> -Bruce
>>
>> _______________________________________________
>> 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
>

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

<Prev in Thread] Current Thread [Next in Thread>