|
|
|
|
|
|
|
|
|
|
xen-users
RE: [Xen-users] Building from Source
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
|
|
|
|
|