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] disk image corruption

To: "Robert Dunkley" <Robert@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] disk image corruption
From: "Justin Tianen" <jtianen@xxxxxxxxxx>
Date: Tue, 2 Jun 2009 10:08:12 -0500
Cc:
Delivery-date: Tue, 02 Jun 2009 08:09:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: <157B982DD6939449B51FC07ED5533CB211F14A@xxxxxxxxxxxxxxxx> <C1EAC9C5E752D24C968FF091D446D8233AA300@ALTERNATEREALIT> <157B982DD6939449B51FC07ED5533CB211F14B@xxxxxxxxxxxxxxxx> <C1EAC9C5E752D24C968FF091D446D8233AA303@ALTERNATEREALIT>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnjkIeZnNxdkdgRSfWb9D5PRflwLAAAKTogAABDvkAAACIycAAAIpAg
Thread-topic: [Xen-users] disk image corruption
Sorry. None of the VM images are actually mounted in dom0. Each .img file 
contains a LVM setup as configured by the OS installer. Here's what the disk 
looks like (physical; then VM).

root@vps [/etc/xen]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda3            611025584 203800484 376186720  36% /
/dev/sda1               256666     20642    222772   9% /boot
tmpfs                  1877400         0   1877400   0% /dev/shm
/usr/tmpDSK             495844     10545    459699   3% /tmp
none                   1877312       160   1877152   1% /var/lib/xenstored

root@vps [/etc/xen]# xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
Domain-0                                   0      300     4 r-----  29074.3
server1                                   22     1249     1 -b----     15.2

root@vps [/etc/xen]# xm console server1
[root@server1-backup proc]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                     150263916  22599896 119907836  16% /
/dev/xvda1              101086     27498     68369  29% /boot
tmpfs                   640088         0    640088   0% /dev/shm


Justin Tianen
Classic Services
(414) 771-0827
jtianen@xxxxxxxxxx


> -----Original Message-----
> From: Robert Dunkley [mailto:Robert@xxxxxxxxx]
> Sent: Tuesday, June 02, 2009 10:03 AM
> To: Justin Tianen
> Subject: RE: [Xen-users] disk image corruption
> 
> I might be confused here but why are you specifying a filename for the
> disk if the VM has its own LVM partition?
> 
> My dedicated LVM partition configs look a bit like this:
> disk = [ 'phy:/dev/lvvolumegroup/lvvolume,hda,w']
> 
> 
> 
> -----Original Message-----
> From: Justin Tianen [mailto:jtianen@xxxxxxxxxx]
> Sent: 02 June 2009 15:58
> To: Robert Dunkley; xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] disk image corruption
> 
> Yes. The dom0 is running as a regular disk without LVM (/dev/sda1 = /).
> All the domU are configured using LVM (default sizes for CentOS/RedHat
> Enterprise/Fedora).
> 
> Justin Tianen
> Classic Services
> (414) 771-0827
> jtianen@xxxxxxxxxx
> 
> 
> > -----Original Message-----
> > From: Robert Dunkley [mailto:Robert@xxxxxxxxx]
> > Sent: Tuesday, June 02, 2009 9:55 AM
> > To: Justin Tianen; xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: RE: [Xen-users] disk image corruption
> >
> > Do you get the issue when using LVM volumes?
> >
> >
> >
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Justin
> > Tianen
> > Sent: 02 June 2009 15:44
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-users] disk image corruption
> >
> >
> >
> > I'm going through the logs right now looking for something more
> > specific
> > (however, I don't know the time of day the disk remounts outside of
> > usually during the rsync backup). I've already gone ahead and
> staggered
> > the backup launch times to see if that helps at all. The filesystem
> > mounting issue relates only to those being handled as block devices
> > (sda1) which I'm not doing. Here's what the domU configs all look
> like
> > (differences are the names, uuid, vif mac, and disk image name).
> >
> >
> >
> > name = "server1"
> >
> > uuid = "52fa8774-020d-d66c-d47c-f1b3ecb66417"
> >
> > maxmem = 1250
> >
> > memory = 1250
> >
> > vcpus = 1
> >
> > bootloader = "/usr/bin/pygrub"
> >
> > on_poweroff = "destroy"
> >
> > on_reboot = "restart"
> >
> > on_crash = "restart"
> >
> > vfb = [  ]
> >
> > disk = [ "tap:aio:/vm/ server1.img,xvda,w" ]
> >
> > vif = [ "mac=00:16:3e:12:b6:bf,bridge=xenbr0" ]
> >
> >
> >
> > This is all being ran on a CentOS 5.3 server (and each domU is also
> > CentOS 5.3). All 3 domU were setup via the Python script
> "virt-install"
> > that is included in the CentOS version of Xen.
> >
> >
> > The SAQ Group
> >
> > Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ
> > SAQ is the trading name of SEMTEC Limited. Registered in England &
> > Wales
> > Company Number: 06481952
> >
> > http://www.saqnet.co.uk AS29219
> >
> > SAQ Group Delivers high quality, honestly priced communication and
> I.T.
> > services to UK Business.
> >
> > Broadband : Domains : Email : Hosting : CoLo : Servers : Racks :
> > Transit : Backups : Managed Networks : Remote Support.
> >
> > ISPA Member
> >
> > Find us in http://www.thebestof.co.uk/petersfield
> >
> >
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com
> > Version: 8.5.339 / Virus Database: 270.12.50/2150 - Release Date:
> > 06/02/09 06:47:00
> 
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com
> Version: 8.5.339 / Virus Database: 270.12.50/2150 - Release Date:
> 06/02/09 06:47:00
> 
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 8.5.339 / Virus Database: 270.12.50/2150 - Release Date:
> 06/02/09 06:47:00

No virus found in this outgoing message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.50/2150 - Release Date: 06/02/09 
06:47:00

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

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