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

[Xen-devel] Re: fdisk hard drive image

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: fdisk hard drive image
From: Gonéri Le Bouder <goneri@xxxxxxxxxxxx>
Date: Sat, 12 Feb 2005 18:18:10 +0000
Cc: Mark.Williamson@xxxxxxxxxxxx
Delivery-date: Sun, 13 Feb 2005 10:52:24 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <200502111704.50240.maw48@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <420C9B8C.9020300@xxxxxxxxxxxxx> <200502111704.50240.maw48@xxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0 (X11/20050116)
I tried with this (/img is my hard drive image):

disk = ['/img,hda,w']


This should be:
disk = ['file:/img,hda,w']
It's what i did. Sorry, i did a typo in my first post.

otherwise the tools don't know what kind of backing you want for the VBD.


disk = ['phy:loop3,hda,w'], loop3 is /img attached to /dev/loop3 by
losetup.


That should just work if the setup of /dev/loop3 worked OK. Can you mount /dev/loop3 in dom0 OK?

Can you please post what errors you're getting from these attempts?


In both case i get the same result,
no error. But, i can't open /dev/hda with fdisk.
I've juste one partition in /proc/partitions called /dev/hda0.

Regards,

        Gonéri



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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