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-devel

Re: [Xen-devel] Supporting large dump files

To: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Supporting large dump files
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 7 Feb 2007 19:31:41 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Feb 2007 11:31:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <342BAC0A5467384983B586A6B0B3767104A69E56@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <342BAC0A5467384983B586A6B0B3767104A69E56@xxxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, Feb 07, 2007 at 02:20:47PM -0500, Graham, Simon wrote:
> This may have come up before but I can't find it - with the default
> build of Xen, libxc is built in a way that does not support large files
> - this is a problem currently when attempting to dump domains larger
> than 2GB - the dump eventually fails with:
> 
> [root@teller diag]# xm dump-core penn1
> Dumping core of domain: penn1 ...
> Error: Failed to dump core: (27, 'File too large')
> 
> My (admittedly limited) knowledge of this area leads me to the need to
> define _FILE_OFFSET_BITS as 64; is there any issue with turning this on
> for the tools/libxc build? Is there any other #define that should be
> used instead of or in addition to this one?

What version of Xen are you using ? I submitted a patch to have this fixed
many months ago, and I'm pretty sure it was incorporated in Xen 3.0.4

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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

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