[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] RE: exporting HVM physical device



On Di, MÃr 25, 2008 at 07:38:16 -0400, Johnson, Tony M wrote:
> 
> 
> ----- Original Message -----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> <xen-users-bounces@xxxxxxxxxxxxxxxxxxx>
> To: xen-users@xxxxxxxxxxxxxxxxxxx <xen-users@xxxxxxxxxxxxxxxxxxx>
> Sent: Mon Mar 24 17:32:13 2008
> Subject: [Xen-users] RE: exporting HVM  physical device
> 
> Please help me understand how to properly export the disk to the guest domain 
> given 
> the following logical setup. 
> 
> LVM Volume Group 
>   VolGroup00 
>       LogVol00                 /                   ext3            74176 
>       LogVol01                                     swap           1984 
> 
> Hard Drives 
>   /dev/sda 
>       /dev/sda                  /boot              ext3            102 
>       /dev/sda2                VolGroup00     LVMpv        76215 
> 
> The following boots the guest but I suspect is incomplete: 
> disk = [ 'file:/xen/images/RHEL.img,hda,w <file:/xen/images/RHEL.img,hda,w> 
> ', 'phy:/dev/cdrom,hdc:cdrom,r' ] 

why?

disk = [ 'file:/xen/images/RHEL.img,hda,w', 'phy:/dev/cdrom,hdc:cdrom,r' ]

it's ok

> 
> question 1: When using virt-install to create a fully virtualized redhat 
> domain, where/how should I specify the location
> 
>                  (e.g., /dev/sdaX, /xen/images/file.img, other)? 
> 
> question 2: What is the proper syntax to export disk in the configuration 
> file given the above? 
> 
> question 3: How do I access the disk within the domain? 


/dev/hda == entire disk

/dev/hda1 |
/dev/hda2 |= partitions on it
...       |
/dev/hdaN |


> 
> question 4: How do I access the CDROM within the domain? 


/dev/hdc (according to your config)

> 
> question 5: Any clue why STARTX results in a partially visible, unusable 
> XTERM? Should QEMU be used instead of VNC? 
> 

QEMU = emulator, 
VNC = remote access protocol.

So it's impossible to use one instead of another :)


To solve the problem, try to reconnect vncviewer, 
after domU changes its resolution and mode.
Just close vncviewer and attach it again.



> Your assistance is greatly appreciated. 
> 

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.