Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Yesterday my system partion was damaged...afer replacing, reinstalling etc. I am now stuck that I would like to re-use my xen images. I still have the original disk and swap image, but unfortunatly not the config file.

Since I dont have enough space to backup them..I fear that xen maybe overwrites them, instead of using.

Can someone tell me the exact command so that xen re-uses the image? .... Many thanks!

share|improve this question
add comment

1 Answer

Do you have any other xen config files that you can copy from? For example, in my environment, I might do this:

cp /etc/xen/GOODMACHINE.cfg /etc/xen/MISSING.cfg
#edit MISSING.cfg to change the disk device names (since that what we use in our environment) and mac address (and ip address if you have that in your config file)
xm create -c MISSING.cfg   #<<< watch for things that may not be working right

If you don't have one that you can copy from, can you just make a new machine to copy from?

share|improve this answer
    
+1 The Xen config won't overwrite anything. It will give out a lot if you put incorrect options in there, but it won't rewrite data already on the partitions. –  Niall Donegan Mar 11 '11 at 1:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.