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

Re: [Xen-users] how to run fsck for a crashed domU?



On 01/08/2008 13:30, Rudi Ahlers wrote:

Okso what do you suggest I do then?

kpartx should make the partition(s) from the img to be visible to the dom0

if any of the partitions is an PV then you probably need a pvscan/vgscan for LVM to pick them up

then you'll probably need to mark the LV active with lvchange -ay

then you can try to mount or fsck it

beware that the /dev/mapper names will usually vary from the device names you use in the domU

I tend to use LVM in the dom0, but not in the domU, it makes life complicted like this when you come to expanding filesystems, and presumably has some sort of (minor) performance hit.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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