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: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] HVM domU doesnt start
From: Alberto Asuero Arroyo <albertoasuero@xxxxxxxxx>
Date: Tue, 15 Feb 2011 15:49:05 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 15 Feb 2011 06:50:30 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=TykZIOj9T5K708vcKt3d3OWynecfYv1hiv/6uNJGD9g=; b=s7wkjXuGTPxLUG+GMUWCeiQM8NpjYr24y/DqfOkfK9F6gq4dpo4GdtSDjf86soIWsE TLE/Yl0YKTaRtOktB0gPWtyfPxzW/oh5WDDiExvNRUuHMelrDhbg4tfMVZyiaE15dPYd cUGFiAQ6PtSpDzvQviQSU8lvihVM61r1+5xmA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=BCBDY0zkyz1LMJBlsJHEOm7UeV50GT5v+w9rA6J5XezwO//zGx0lwhisJzAJBM6L3v 8AoTV23t6NBQuFIbHN0xfWoVurduK3wW8dlUWzfw14iJepJl6V6kJ5SnsDOFQXYCoN1I DkjEaEDht6x5KPYZg+is0I8/A31Sx+5aK4Fw4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=07ofH+3-28MCQhFkseDiCGp+vUmr295sdM2e5@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> <AANLkTi=07ofH+3-28MCQhFkseDiCGp+vUmr295sdM2e5@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

>I think that your file system was corrupt on the disk image and yes
>copying a corrupt disk image would still leave the file system
>corrupt.
I know but Why cannot I copy this image if the hard disk of dom0 is correct?

On Tue, Feb 15, 2011 at 3:11 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
On Tue, Feb 15, 2011 at 7:57 AM, 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
>
>
> 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 is it possible? Could a corrupt image make impossible copy it? I've had
> this problem twice and I've to reinstalled the machine.
>

file system corruption can happen with improper shutdowns or when the
file system is mounted writable twice without the support of a
clustered or network file system.

Your dd commands seem fine.

I think that your file system was corrupt on the disk image and yes
copying a corrupt disk image would still leave the file system
corrupt.


> Maybe I'm doing something wrong create the image with dd. I use the
> following command for a image of 900GB
>
> dd if=/dev/zero of=file900G.img bs=1M count=921600
>
> I cant remember very well, but I think the issue is because I created a
> image with dd bigger than hard disk size, If I do it dd command doesnt says
> nothing, let's to see that.
>
> # df -h
>                            Size    Used  Avail   Use     Mounted on
>
> /dev/sdd1             917G  1,7G  869G   1%
> /vserver/images/domains/mahone
>
> Let's create a image of 900GB it should be report errors but NO errors are
> reported!!
>
> # dd if=/dev/zero of=/vserver/images/domains/mahone/mahone.img bs=1M
> count=921600
> 921600+0 records in
> 921600+0 records out
> 966367641600 bytes (966 GB) copied, 26901,7 s, 35,9 MB/s
>
> # df -h
>                            Size    Used  Avail   Use       Mounted on
>
> /dev/sdd1             917G  902G     0      100%
> /vserver/images/domains/mahone
>
>
>
>
>
> Thanks in advance
>
>
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>