[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] simple seeming but don't know how



On Mon, 2015-06-29 at 17:43 -0700, Dave Stevens wrote:
> I've got a failed raid array. I have been anble to assemble the two
> remaining partitions into a working but degraded raid array. The data
> is in the form of a lvm Logical Volume00. I can inspect the contents
> and they are the right names and sizes for the former xen domains. I
> want to mount and start one of the domUs to do data recovery. The xm
> command works but my efforts are hampered by ignorance of how to
> proceed. Do I need to use lvm for get access to the appropriate vm? And
> if so how? And then how do I go about starting the vm?

If you have the LVM volumes you may not even need to start the domains,
you may be able to simply mount the volume on your dom0 (or even a
non-Xen system). If the volumes contain partition tables then you may
need to use the kpartx tool to expose the subpartitions of the LVM
volume which actually contain the filesystems such that you can mount
them. Linux supports at least read access for a bunch of foreign
filesystems, including e.g. NTFS.

If for some reason you really do need to boot the domains then do you
have the previous cfg files for the domains handy? They should contain
the necessary configuration information to start the domain.

If you are needing to write the configuration files from scratch then
you will need to minimally provide a kernel, an amount of RAM and a disk
spec. /etc/xen/xmexample* should contain examples of the sorts of thing
which is needed.

Were you originally using xm to manage these domains or some other
toolstack? If some other then do you have the cfg data from that
toolstack somewhere?

Ian.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.