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] Just some (probably useless) information

To: Brandon Lamb <brandonlamb@xxxxxxxxx>
Subject: Re: [Xen-users] Just some (probably useless) information
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 22 Mar 2010 11:37:02 +0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 21 Mar 2010 21:38:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f25c44611003200037r335dc5c6ma9efa74ac498f75b@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: <f25c44611003200037r335dc5c6ma9efa74ac498f75b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Mar 20, 2010 at 2:37 PM, Brandon Lamb <brandonlamb@xxxxxxxxx> wrote:
> cp file -> file = 11 seconds
>
> So now I am left with the question of do I use file based images which
> will have slower performance but super fast backup times, or go with a
> lvm -> disk/file for the backup.

I don't think cp does a "sync" by default. Which means in the end of
the 11 seconds some of the data has not been written to disk yet. Try

time (cp file1 file1.bak;sync)

-- 
Fajar

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