Categories
timesavers troubleshooting

Recovering the Config of a Running Xen DomU

For those “oh poop” moments

I was in a situation where I had a running Xen guest, but the config file that defined the DomU was missing.

Fortunately, the listing command (xl list) has a long option, xl list -l, which prints out domain information in JSON format. This includes config information, from which the DomU configuration can be rebuilt.

By Rob Hallam

Glasgow University graduate. I have wide-ranging interests - please see my about page either here or at roberthallam.com.

Tell us what's on your mind