Received: with ECARTIS (v1.0.0; list linux-xfs); Sun, 25 Jan 2004 11:56:11 -0800 (PST) Received: from omx1.americas.sgi.com (cfcafw.sgi.com [198.149.23.1]) by oss.sgi.com (8.12.10/8.12.9) with SMTP id i0PJtx7J012172 for ; Sun, 25 Jan 2004 11:56:00 -0800 Received: from flecktone.americas.sgi.com (flecktone.americas.sgi.com [192.48.203.135]) by omx1.americas.sgi.com (8.12.10/8.12.9/linux-outbound_gateway-1.1) with ESMTP id i0PJtouJ012061 for ; Sun, 25 Jan 2004 13:55:50 -0600 Received: from poppy-e236.americas.sgi.com (poppy-e236.americas.sgi.com [128.162.236.207]) by flecktone.americas.sgi.com (8.12.9/8.12.9/generic_config-1.2) with ESMTP id i0PJtn6B31559190; Sun, 25 Jan 2004 13:55:49 -0600 (CST) Received: from stout.americas.sgi.com (stout.americas.sgi.com [128.162.232.50]) by poppy-e236.americas.sgi.com (8.12.9/SGI-server-1.8) with ESMTP id i0PJtn0n115646; Sun, 25 Jan 2004 13:55:49 -0600 (CST) Date: Sun, 25 Jan 2004 13:55:49 -0600 (CST) From: Eric Sandeen X-X-Sender: sandeen@stout.americas.sgi.com To: Kelsey Cummings cc: linux-xfs@oss.sgi.com Subject: Re: [LNX-XFS] log questions In-Reply-To: <20040124004030.GS32531@sonic.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 1894 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: sandeen@sgi.com Precedence: bulk X-list: linux-xfs Content-Length: 1018 Lines: 23 On Fri, 23 Jan 2004, Kelsey Cummings wrote: > Another, closely related question: Is is possible to recreate a log on > an external device that has been lost? Sure, just make another device of at least tthe size of the original log, and zero it all out. you'd probably want to run repair, depending on how you lost the log in the first place. > I'm benchmarking the use of a SSD for the logdevice (results are a bit > suprising) and one concern that I have is if the SSD fails, can I create a > new log easily for it? I can always make a image of the logdevice with dd, > and keep it around as a backup, but that seems a bit strange and I'm not > sure that the it would work correctly anyway. The log is constantly changing, as it is circular. backing it up would do you no good; if it dies, you've lost metadata info and your fs is inconsistent. You can recover to some extent by adding a new device, zeroing it out, and running repair, but this is not something you want to do as a matter of course. -Eric