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

xen-users

[Top] [All Lists]

RE: [Xen-users] DomU image file on NFS Storage

To: <zod@xxxxxxxxxxxxx>, Xen Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] DomU image file on NFS Storage
From: Antonio Colin <dftonywhite@xxxxxxxxxxx>
Date: Sat, 8 Oct 2011 12:01:55 -0500
Cc:
Delivery-date: 2011年10月08日 10:03:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <4E901554.3080305@xxxxxxxxxxxxx>
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: <SNT114-W5557D74526111B7398717BA6FF0@xxxxxxx>, <4E901554.3080305@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

Hi Erick,

Yes, that is only for locally, AoE, iSCSI (if I remember rightly) stored images.
I'm using Xen 4.0.0 + Debian Lenny as Dom0.
The CentOS4 *.img file was created with virt-manager within the Dom0 and stored in the local hard drive, as usual.
Now, I want to store that same *.img file but on an NFS server and boot it from there for later migration, which
is exactly what I want to do.

I have tried mounting the DomU filesystem on the NFS server and then export the directory to the Dom0, but it does not boot.
And it woult not work either for a HVM which is what I would be implementing later.

Do you have any option or idea of how could I do this?

Thank you,

Tony.

Date: Sat, 8 Oct 2011 11:18:12 +0200
From: zod@xxxxxxxxxxxxx
To: dftonywhite@xxxxxxxxxxx
Subject: Re: [Xen-users] DomU image file on NFS Storage

Hi

I guess I'm missing something important but it is not

disk = [ 'file:/mnt/images/centos/image.img,hda,w']

you want to do? or does it have to be nfs-mounted in the DomU?

/Erik

On 10/08/2011 07:02 AM, Antonio Colin wrote: [

** This does not work at all, it ends up with a kernel panic on console.

kernel = "/mnt/images/centos/boot/vmlinuz-2.6.9-89.ELxenU"
ramdisk = "/mnt/images/centos/boot/initrd-2.6.9-89.ELxenU.img"
memory = 512
name = "centos4"
vcpus = 1
vif = ['']
dhcp = "dhcp"
ip = "192.168.1.100"
netmask = "255.255.255.0"
gateway = "192.168.1.254"
hostname = "centos4"
nfs_root = "/mnt/images/centos/"
nfs_server = "192.168.1.98"
root = "/dev/root"
on_reboot = 'restart'
on_crash = 'restart'


I would really appreciate one example or config option.
Regards,
Tony.

_______________________________________________
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>
Previous by Date: Re: [Xen-users] Re: XEN - networking and performance , xenusers
Next by Date: RE: [Xen-users] DomU image file on NFS Storage , Antonio Colin
Previous by Thread: Re: [Xen-users] DomU image file on NFS Storage , Jonathan Tripathy
Next by Thread: Re: [Xen-users] DomU image file on NFS Storage , Mark Pryor
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /