|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] img file to physical disk
Stuart Poulton schrieb:
Hi all.
I've got a domU that exists in a sparse file image, I'd like to now use
this on a physical partition (loopback performance issues).
Is there an a easy way to do this ?
Thanks
Stuart
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
just stop the domu, mount the image and the disk
# mount -o loop /foo/bar/myimage /mnt/old
# mount /dev/sdx1 /mnt/new
and copy all the files
# cd /mnt/old
# tar c * | tar x -C /mnt/new
and change the domu`s config
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|