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] File-based FS vs others

To: "Stephen Yum" <steveyum@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] File-based FS vs others
From: "Greg Freemyer" <greg.freemyer@xxxxxxxxx>
Date: Wed, 24 May 2006 07:47:51 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 May 2006 04:48:39 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dKbEJD6a1YJl+s59YsxfeuVXpqDX1VLw2xlcJ67hVOOpRNB8l5VeEs0O40Z77PkEBYWazQqvKBF+9Kvm3fy5DO2eAdd5Ts8jF3vagX2955xZlLU0nwkyQ+9AvG1I1pi7cKne20BAqlqH5Dm86qaFMu4C22K0pudpDd7NVzfA45o=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <844AA393-6BC2-4F10-80B1-1CBEA95A9287@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4472F8D3.1090604@xxxxxxxxxxxxx> <447354E3.5000006@xxxxxxxx> <D1DEB0BA-EEE1-4B7D-A989-EF72DADA20E7@xxxxxxxxxxxxxx> <87f94c370605231344l7864c2den15777c8aa694035d@xxxxxxxxxxxxxx> <844AA393-6BC2-4F10-80B1-1CBEA95A9287@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 5/23/06, Stephen Yum <steveyum@xxxxxxxxxxxxxx> wrote:
Greg,

Why don't you just mount it and copy the stuff over to a physical/logical volume? That's what I did. For example, for download the Debian 3.1 image file from jailtime, and do the following from your dom0:

# mount -o loop debian.3-1.img /mnt
# mkdir -p /osTemplates/debian31_base
# cp -ax /mnt/* /osTemplates/debian31_base

Make a swap file, create a config file, and away you go!

S

That's propably because of what I do for a living (Computer Forensics).  We work with filesystem images all the time, but in general we try to maintain the entire filesystem, even the unallocated pages, they may contain evidence from previously deleted files.  Using dd (or its equivalent) is the only to do that.

In this case, my method was overkill because the filesystem files from jail.org aren't evidence.  Thus your approach above should be fine.

FYI: If the jail is using mkfs options to tune the filesystem when they tune their systems then the cp process you use will not maintain them.  Using dd like I proposed should.  I don't know if the jail is doing any mkfs tuning or not.

Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>