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] Zero LVM

To: rudi@xxxxxxxxxxx, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Zero LVM
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Mon, 06 Dec 2010 16:48:52 +0000
Cc:
Delivery-date: Mon, 06 Dec 2010 08:50:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinHmwLwkJFO6qyAqwgsv8g3rvqQ_-dYLuHneLgs@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: <4CFD0E36.7000201@xxxxxxxxxxx> <AANLkTinHmwLwkJFO6qyAqwgsv8g3rvqQ_-dYLuHneLgs@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 06/12/10 16:45, Rudi Ahlers wrote:
On Mon, Dec 6, 2010 at 6:24 PM, Jonathan Tripathy<jonnyt@xxxxxxxxxxx>  wrote:
Hi Everyone,

When providing Xen guests to cutomers, it is important to make sure that the
LVM LV is "zeroed" before use. What is the correct syntax to do this?

What do you mean it should be "zero'd" ?
Most regular file systems do not actually remove files from disk when using standard commands such as rm or del. They block are simply marked as "ignore". This means that if you delete an LV, then create a new one, you run the risk of using the same physical portions of the physical disk...which still contains data (marked as "ignore). This means that your new customer could just simple do a disk dump and view all of this data.

By zero'ing, you write 00000.... to the whole LV before placing your OS on top, so no data from past customers is available

Hope this helps

Cheers

Jonathan

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

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