[Fedora-xen] managing disks inside a guest

gb spam gbofspam at gmail.com
Wed Feb 22 15:33:15 UTC 2006


On 2/22/06, Darren Birkett <darren.birkett at gmail.com> wrote:
> I have xen-3 running on fc5t3, with 3 domU fc5t3 guests.  fdisk is unable to
> see the virtual disk inside a guest, but parted is able to see it when run.
> Why is this, and is it likely to be fixed?
>
>  Darren
>

fdisk -l doesn't see it, but it does seem to edit it:

[root at xen1 ~]# fdisk -l
[root at xen1 ~]# fdisk /dev/xvda

The number of cylinders for this disk is set to 1305.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/xvda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *           1        1239     9952236   83  Linux
/dev/xvda2            1240        1304      522112+  82  Linux swap / Solaris




More information about the Fedora-xen mailing list