|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-users
Re: [Xen-users] Convert CentOS system to Xen image?
 
On Wed, 2008-04-02 at 16:32 +0300, Igor Chubin wrote:
> On Mi, Apr 02, 2008 at 08:41:40 -0400, James Pifer wrote:
> > Attempted to do this using netcat + ssh and here's my next problem. The
> > CentOS server is using LVM, so instead of getting an img file of around
> > 8 gig that I expected, I got one that is 18 gig, or the size of the LV. 
> 
> 
> If you use netcat (and dd), you will get image
> with the size of underlying harddisk.
> 
> (not LV, but whole disk).
> 
> 
> What command have you use to copy image?
> 
> If you use line
> 
>     cat /dev/DEVICE | nc ...
> 
I used:
cat /dev/ida/c0d0p2 | nc -l -p 3000
Then on dom0 I used:
netcat centoshost 3000 > centos.img
James
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- Re: [Xen-users] Convert CentOS system to Xen image?, (continued)
 
- RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
 - Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
 - RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
 
- Re: [Xen-users] Convert CentOS system to Xen image?, Joe Royall
 
- Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
 - Re: [Xen-users] Convert CentOS system to Xen image?,
James Pifer <=
 - Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
 - Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
 - Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
 - Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
 - Re: [Xen-users] Convert CentOS system to Xen image?, Igor Chubin
 - Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
 - Re: [Xen-users] Convert CentOS system to Xen image?, Tiago Cruz
 - Re: [Xen-users] Convert CentOS system to Xen image?, James Pifer
 - Re: [Xen-users] Convert CentOS system to Xen image?, Tiago Cruz
 - RE: [Xen-users] Convert CentOS system to Xen image?, Ross S. W. Walker
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |