WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] HVM domU doesnt start

To: Alberto Asuero Arroyo <albertoasuero@xxxxxxxxx>
Subject: Re: [Xen-users] HVM domU doesnt start
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Tue, 15 Feb 2011 21:53:11 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Feb 2011 06:54:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTimcUzUOv5HKH15Gi0EOK1ZGMyxPRUOZBk0ePXf7@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTimcUzUOv5HKH15Gi0EOK1ZGMyxPRUOZBk0ePXf7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Feb 15, 2011 at 2:57 PM, Alberto Asuero Arroyo
<albertoasuero@xxxxxxxxx> wrote:
> Hello!
>
> I've a ubuntu server running over a HVM DomU. After a hang, the domU doesn't
> start again.
>
> The domU was not able to mount the virtual machine disk so I started with a
> live cd and I tried to mount the disk root part / with no success so I ran
> fsck.ext3 and it gave me input/output error in the domU and in dom0 the
> kernel says:
>
>
> Feb 14 18:22:28 scofield last message repeated 5 times
> Feb 14 18:22:30 scofield kernel: sd 0:2:3:0: [sdd] Unhandled error code
> Feb 14 18:22:30 scofield kernel: sd 0:2:3:0: [sdd] Result:
> hostbyte=DID_ERROR driverbyte=DRIVER_OK
> Feb 14 18:22:30 scofield kernel: end_request: I/O error, dev sdd, sector
> 1073919
> Feb 14 18:22:30 scofield Server Administrator: Storage Service EventID:
> 2095  SCSI sense data Sense key:  3 Sense code: 11 Sense qualifier:  0:
> Physical Disk 0:0:3 Controller 0, Connector 0

Is the message on dom0?
If there's a disk error on dom0, then it'd make perfect sense that
domU will have an error too (regardless whether it's passed directly
as phy:/, or as a file on that disk).

>
>
> Other important think was that in domU with live CD I could mount other
> partitions of the disk with no errors but not the root partition.
>
> The first think I thought it was a hard disk problem, so I tried to copy the
> img to another hard disk in my dom0 but input /output erros was reported.
> After that I've reinstalled the machine on the same hard disk and it works
> perfectly.

How do you determine "work perfectly"?
Two things can happen when you reuse a disk with bad sector:
- the disk will mark the sector as bad, and assigning a spare sector
to replace it when another write occurs (something like
https://guust.tuxes.nl/~bas/wordpress/?p=12)
- the bad sector is still there, but your new installation simply does
not use it yet (you'll get an error later when you eventually use that
sector)

If your data is more valuable than the cost of new disk, I'd simply
replace the disk, possibly with enough redundancy in place (RAID5,
etc)

-- 
Fajar

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

<Prev in Thread] Current Thread [Next in Thread>