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

[Xen-users] DomU goes into fsck error at boot up.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: rohan nigam <locaterohan@xxxxxxxxx>
  • Date: Fri, 3 Sep 2010 14:19:19 -0700 (PDT)
  • Delivery-date: Fri, 03 Sep 2010 14:21:09 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=m9BSL/794NG9PaqJ09ZDSGoLRKK2IrvR1rLfOhnEgGpkchKI9EwHDiEpNFXtVnqyJbmz7md5jnWvF7ZkRBd22mSwAfS+d5Y1Fb9I85Jz+dnJrRy27bCRcro+5mlS9j9lowqIjDJr9+LY4IJ08I+9pkKgfigD1EBOXPIkAO3dUnw=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi Guys,

I have a xen set up with two domu VM's. One of these VM has recently crashed and was running lot of web services. When I tried to xm shutdown and xm create -c domainname, it directly starts fsck and ends up with the following:

INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd[    2.724077] udevd version 125 started
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Setting the system clock.
Unable to set System Clock to: Fri Sep 3 20:30:12 UTC 2010 (warning).
Activating swap...[    4.517198] Adding 524280k swap on /dev/hda1.  Priority:-1 extents:1 across:524280k
done.
Checking root file system...fsck 1.41.3 (12-Oct-2008)
/dev/hda2 contains a file system with errors, check forced.
/dev/hda2:                                                                      Unattached inode 403


/dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
fsck died with exit status 4
failed (code 4).
An automatic file system check (fsck) of the root filesystem failed. A manual fsck must be performed, then the system restarted. The fsck should be performed in maintenance mode with the root filesystem mounted in read-only mode. failed!
The root filesystem is currently mounted in read-only mode. A maintenance shell will now be started. After performing system maintenance, press CONTROL-D to terminate the maintenance shell and restart the system. (warning).
Give root password for maintenance
(or type Control-D to continue):
Login incorrect.

Now, this might sound stupid but I do not have the root password for maintenance. Used sudo su - access all this while and I am also in a remote location.

Do any of you know if we can do anything with the .img domu files directly and run manual fsck or at least change the root password for automatic maintainance?

Please help me get around this problem with some quick suggestions.

Thanks,
Rohan

PS: The 'xm list' still lists the crashed domu in a blocked state.

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