[GRLUG] Xen folks?
    L. V. Lammert 
    lvl at omnitec.net
       
    Thu Jul 19 16:40:34 EDT 2012
    
    
  
Trying to add a disk to a guest VM, .. however the config is confusing:
In /etc/xen/vm/Mainserver
disk=[ 'phy:/dev/sdb1,xvda:cdrom,r', 'file:/u/disk/Mainserver.raw,xvdb,w',
]
In /etc/xen/vm/Mainserver.xml
     </disk>
        <disk type='file' device='disk'>
        <driver name='file'/>
        <source file='/u/disk/Mainserver.raw'/>
        <target dev='xvdb'/>
      </disk>
However, the physical PATH to the disks is:
/u/VM/images/Mainserver
The VM runs, .. so what is the reason for the discrepancy? I have created
a new 250GB data drive to attach to the VM, but how should the path be
specified?
	Lee
    
    
More information about the grlug
mailing list