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

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



I wrote this:

Have you tried this?

I'm not sure about, but you could try the following:
losetup loop4 vm01.img
and then try to rescan PVs. You have too add loop 4 to your scan list.
Then you should see the logical volumes and might reapair them.
Hope this helps.

If you need more details, just let me know.

Cheers,
Alex




Rudi Ahlers schrieb:


> Andy Burns schrieb:
>> On 01/08/2008 13:07, MS wrote:
>>
>>> fsck.ext2 -y -f /home/vm/vm01.img
>>
>> Be careful!
>>
>> If the domU uses partitions inside the .img file, the OP will need >> to use kpartx to see the partitions in dom0, then it can be fsck'ed >> by dom0
>>
>>
> You're right I think he uses LVM inside the Image, so fsck.ext2 won't
> work for this.
> It could destroy the Image!
>
>

Okso what do you suggest I do then?

--

Kind Regards
Rudi Ahlers

------------------------------------------------------------------------

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


__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3316 
(20080731) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com


_______________________________________________
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®.