From owner-freebsd-stable@freebsd.org Mon Jul 20 22:32:29 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DB609A7438 for ; Mon, 20 Jul 2015 22:32:29 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C518910DE for ; Mon, 20 Jul 2015 22:32:28 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6KMWRct007684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2015 15:32:27 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6KMWQG2007683; Mon, 20 Jul 2015 15:32:26 -0700 (PDT) (envelope-from jmg) Date: Mon, 20 Jul 2015 15:32:26 -0700 From: John-Mark Gurney To: Marc UBM Bocklet Cc: freebsd-stable Subject: Re: problem with geli and LSI controller Message-ID: <20150720223226.GC8523@funkthat.com> References: <20150719173432.16bfa3be6d110571cbc8fe2a@gmail.com> <20150719161651.GQ8523@funkthat.com> <20150720145646.987e20371fd2ba2343fc8ecb@u-boot-man.de> <20150720152912.b67d215afcd8bc23c39d292f@u-boot-man.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150720152912.b67d215afcd8bc23c39d292f@u-boot-man.de> X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Mon, 20 Jul 2015 15:32:27 -0700 (PDT) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 22:32:29 -0000 Marc UBM Bocklet wrote this message on Mon, Jul 20, 2015 at 15:29 +0200: > On Mon, 20 Jul 2015 14:56:46 +0200 > Marc "UBM" Bocklet wrote: > > > > > > > This sounds like the drives were in raid0 mode, and not raw disk > > > mode... You might be able to recover the disk w/ geli resize, > > > assuming only space was added at the end, not at the begining, but > > > I have never personally tried that myself... I'd recommend trying > > > on a copy of the drive so you don't loose data if that is possible.. > > > > And one more question, directed at the list: even if geli manages to > > move the metadata via resize, the gpart metadata is probably still > > lost? It depends.. did you gpart it first and the geli it? or the other way around? If you gpart'd it first, you should be able to see your partitions, if you can't then getting a replacement controller card makes the most sense, as it's likely that the RAID card meta data is at the begining of the drive... gpart also supports the resize command... > Replying to myself again, it appears that the safest way is to get a > Rocket Raid controller identical to the one we had, put it in another > system, connect the disks, import the old pool and move the data to the > new pool on the the LSI controller. > > Am I overlooking anything? Nope... As someone else said, this is the dangers of RAID cards... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."