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

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


  • To: "Rudi Ahlers" <Rudi@xxxxxxxxxxx>
  • From: "Grant McWilliams" <grantmasterflash@xxxxxxxxx>
  • Date: Fri, 1 Aug 2008 09:09:49 -0700
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 01 Aug 2008 09:10:32 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=t13MLS5ET7QVUOEjY2LEeTonYzSh6m1I6qy2Y4j9fgfgVTNAaLW/mjBioGLu6MVEyO kxRz4ay1tniNcudsER8B9fjiPHlvZDCZkklLapZBEtGVWdKhFwIEfCmvAJpPfpWRVCSg lMWImS3B4xptyGFByyFVUvxgpNP/Fr0c+s8Ac=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>


----snip-----
Setting up Logical Volume Management:   2 logical volume(s) in volume group "VolGroup00" now active
[  OK  ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/VolGroup00/LogVol00
/dev/VolGroup00/LogVol00 contains a file system with errors, check forced.
/dev/VolGroup00/LogVol00: Inode 67830 has illegal block(s).

/dev/VolGroup00/LogVol00: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
       (i.e., without -a or -p options)
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.


----snip-----


So, how can I run fsck on that file system?

I have tried to mount /home/vm/vm01.img - but it fails:

# mount -o loop /home/vm/vm01.img /mnt/vm01/
mount: you must specify the filesystem type

--

Kind Regards
Rudi Ahlers
SoftDux CEO

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

Am I missing something? It seems like people like making things more complicated than they are. What's stopping you from doing an fsck from the console within the DomU just like if it were a real machine? It dropped you to a shell so just run fsck on it manually.

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