From owner-freebsd-geom@FreeBSD.ORG Mon Jan 22 12:50:46 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B0FD16A403 for ; Mon, 22 Jan 2007 12:50:46 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id F30F513C45A for ; Mon, 22 Jan 2007 12:50:45 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.8/8.13.8) with ESMTP id l0MCohaE074387; Mon, 22 Jan 2007 06:50:44 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <45B4B327.7050602@centtech.com> Date: Mon, 22 Jan 2007 06:50:47 -0600 From: Eric Anderson User-Agent: Thunderbird 1.5.0.9 (X11/20070121) MIME-Version: 1.0 To: Shane Adams References: <751291.8910.qm@web31814.mail.mud.yahoo.com> In-Reply-To: <751291.8910.qm@web31814.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/2476/Sun Jan 21 10:22:33 2007 on mh1.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh1.centtech.com Cc: Soeren Straarup , freebsd-geom@freebsd.org Subject: Re: A beginner project X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 12:50:46 -0000 On 01/22/07 01:12, Shane Adams wrote: > I've thought about geom snapshots, which I take it you would do at a block layer similarly to how snapshots are implemented in FFS. I couldnt figure out a way to do it effeciently. I've found the FFS snapshots do not work well with large disk sets, there is a noticable lag and almost a freeze-up on my computer. > > Seems you'd need to do it at the filesystem layer, and as a side effect change the format of inodes at cylinder groups in order to track changes. > > Is there any publish literature on the subject? > > Oh - by snapshot I mean something that can be mounted simlultaniously with the original filesystem. I don't think this could work at all like UFS snapshots, since those are based on using the cylinder groups to make a virtual vopy of the file system structure. To me, I would think that one would could implement it in a number of ways, not sure which is best. One idea is to supply the device to snapshot, and then also the location of a snapshot file to be created. The snapshot file would be created via COW, and could be a sparse file. One side effect could be the creation of another new geom layer - geom union. So, you can take something like a disk, and overlay an image on top, and the result would be blocks that exist in the overlay are seen, and blocks that are not in the overlay are transparent and the next layer down is visible. Eric > ----- Original Message ---- > From: Eric Anderson > To: Soeren Straarup > Cc: freebsd-geom@freebsd.org > Sent: Sunday, January 21, 2007 10:16:22 PM > Subject: Re: A beginner project > > On 01/20/07 01:31, Soeren Straarup wrote: >> What would be a beignner project within geom? >> >> Something is acutally going to be used by atleat some. >> >> I have briefly looked at: >> http://www.freebsd.org/projects/ideas/#p-psched >> >> But are there already someone out there that is working on it? >> >> /Soeren >> > > Make a 'geom taste' function? > > Other ideas: > - geom snapshots (harder!) > - gnop additional options (add latency, etc, to mimic real devices) > > > Eric > > > -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology An undefined problem has an infinite number of solutions. ------------------------------------------------------------------------