Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2010 12:52:23 -0400
From:      Garrett Moore <garrettmoore@gmail.com>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Problems replacing failing drive in ZFS pool
Message-ID:  <AANLkTikCCmGmIcRpj7gjnRBEfLE40IjOmelMYu9WkSUO@mail.gmail.com>
In-Reply-To: <AANLkTikPJDoiTUwNHVtTDiFMdFkm6v6_ra8JYkuChBJC@mail.gmail.com>
References:  <AANLkTimOrwHe7xiwoap2H2mUtA7vU6TjENkPC4yJ02_z@mail.gmail.com> <AANLkTimOIgCIO4txpPeeoMrRSYAqM25V7cm-h7djmZUC@mail.gmail.com> <AANLkTikPOgIqkm3GhIsEnvuvEHvlc44cnh6GJQ1k7Ja_@mail.gmail.com> <AANLkTimgi2Btzv9krZZPHCPiyCcwtQyF72BmRzA1kuvi@mail.gmail.com> <AANLkTinm-kYD2vwTBCh49AeU0oxuPSOPXjusMa3FGk1h@mail.gmail.com> <AANLkTikPJDoiTUwNHVtTDiFMdFkm6v6_ra8JYkuChBJC@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm nervous to trust the hotswap features and camcontrol to set things up
properly, but I guess I could try it. When I first set the system up before
I put data on the array I tried the hotswap functionality and drives
wouldn't always re-attach when reinserted, even if I fiddled with
camcontrol, but I can't remember exactly what I did then.


On Mon, Jul 19, 2010 at 12:36 PM, Freddie Cash <fjwcash@gmail.com> wrote:

> On Mon, Jul 19, 2010 at 9:32 AM, Garrett Moore <garrettmoore@gmail.com>
> wrote:
> > The data on the disks is not irreplaceable so if I lose the array it
> isn't
> > the end of the world but I would prefer not to lose it as it would be a
> pain
> > to get all of the data again.
> >
> > Freddie's explanation is reasonable, but any ideas why it didn't happen
> when
> > I replaced my first dead drive (da5)? That replacement was completely
> > painless.
> >
> > The system is in a Supermicro case with a hotswap backplane:
> > http://www.supermicro.com/products/chassis/4U/743/SC743TQ-865.cfm
> > The backplane ports are connected to a Supermicro AOC-USASLP-L8I LSI
> 1068E
> > 8-PORT RAID 0/1/10 Uio SATA/SAS Controller.
> >
> > By the way, Freddie, in your instructions in the 'reboot' step I assume
> that
> > is when I will be switching the physical drives, correct?
>
> Correct.  export, power off, swap drives, power on, import.
>
> If it's a hot-swap backplane, though, have you tried doing it without
> the reboot?
>
> zpool offline tank da3
> camcontrol <something to turn off> da3
> <swap drives>
> camcontrol rescan (or something like that)
> zpool replace tank da3
>
> Read the camcontrol man page to see what the commands are to "turn
> off" the drive, and to rescan the controller for the new drive.  It's
> possible the device number may change.
>
> --
> Freddie Cash
> fjwcash@gmail.com
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikCCmGmIcRpj7gjnRBEfLE40IjOmelMYu9WkSUO>