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] Building from Source

To: "'xen-users@xxxxxxxxxxxxxxxxxxx'" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Building from Source
From: Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2008 12:00:00 -0700
Delivery-date: Fri, 24 Oct 2008 11:59:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20081024090437.wsdctv8e4kcsokg8@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>
Organization: Atlas Networks, LLC.
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Jon,

As I mentioned - the disk line seems to have no effect on whether or not the 
DomU boots.  Even with no disk line, I get the same results.  The loop device 
was just a temporary contrivance for testing, but is definitely not the cause 
of the issue.

Thank You,
Nathan Eisenberg
Sr. Systems Administrator
Atlas Networks, LLC


-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of jonr@xxxxxxxxxx
Sent: Friday, October 24, 2008 10:05 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Building from Source

Quoting Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx>:

> Franz,
>
> Actually, I get even the same results if there is no disk line in   
> the configuration file at all.  :(  Very frustrating.
>
> Thank You,
> Nathan Eisenberg
> Sr. Systems Administrator
> Atlas Networks, LLC
>
Hello Nathan,

Why are you trying to use one of the loop devices for your disk? I  
only ask in case there is a reason. I may be wrong but when you create  
a file based disk for Xen then use that in a domu when you create the  
domu it mounts that file on the loop device. I think what you want to  
do is create a file to use as the disk then reference that file in  
your domu config file.

I usually use lv's as disks but I think to create a file for use as a  
disk would be something like this:

This would create a 4GB "disk"(file).
dd if=/dev/zero of=/vms/vm_disk bs=1M count=1 seek=4095

You would then want to use mkfs.<filesystem> to put a file system on the file.
e.g.
mkfs.ext3 /opt/xendrives/vm_disk

Then in your domu you would use that as the file: device instead of loop0.

On a side note, if you have lv's they are better than file based and  
easier to manage.

Hope that helps,

Jon



_______________________________________________
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