problem with geli and LSI controller

John-Mark Gurney jmg at funkthat.com
Mon Jul 20 22:32:29 UTC 2015


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 <ubm at u-boot-man.de> 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."


More information about the freebsd-stable mailing list