All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gonéri Le Bouder" <goneri@sitadelle.com>
To: Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: fdisk hard drive image
Date: Fri, 11 Feb 2005 15:06:36 +0100	[thread overview]
Message-ID: <420CBBEC.5000509@sitadelle.com> (raw)
In-Reply-To: <20050211125112.GA5033@nsk.no-ip.org>

Luciano Miguel Ferreira Rocha wrote:

>On Fri, Feb 11, 2005 at 12:48:28PM +0100, Gonéri Le Bouder wrote:
>  
>
>>Hello list,
>>
>>
>>Currently, i use a partition image to run my XenU (/dev/hda2) and "fdisk 
>>-l" return nothing and can't open /dev/hda .
>>
>>I want to use a full hard drive image (not partition image) from my Xen0 
>>as hda in my XenU. I want to be able to run fdisk on hda in my XenU to 
>>list and regenerate partitions.
>>
>>
>>I tried with this (/img is my hard drive image):
>>
>>disk = ['/img,hda,w']
>>
>>disk = ['phy:loop3,hda,w'], loop3 is /img attached to /dev/loop3 by 
>>losetup.
>>
>>But, both don't work.
>>
>>Is it possible ?
>>    
>>
>
>THe block device isn't exported as an hard disk. Just as a block device
>(like ram*, loop*).
>
>If you want to use several filesystems over a single block device,
>you'll have to use lvm.
>

Thanks for the answer,


In this case, if i use lvm, i still have to create my partitions from 
Dom0. Is there a way to create partitions from XenU with fdisk.

    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_id\x14396&op=click

  reply	other threads:[~2005-02-11 14:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11 11:48 fdisk hard drive image Gonéri Le Bouder
2005-02-11 12:51 ` Luciano Miguel Ferreira Rocha
2005-02-11 14:06   ` Gonéri Le Bouder [this message]
2005-02-11 15:41     ` Luciano Miguel Ferreira Rocha
2005-02-11 17:04 ` Mark Williamson
2005-02-12 18:18   ` Gonéri Le Bouder
2005-02-12 17:32     ` Mark Williamson
2005-02-14 11:06       ` Gonéri Le Bouder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=420CBBEC.5000509@sitadelle.com \
    --to=goneri@sitadelle.com \
    --cc=strange@nsk.no-ip.org \
    --cc=xen-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.