Date: Tue, 1 May 2012 20:57:52 -0400 From: Rich <rercola@acm.jhu.edu> To: Simon <simon@optinet.com> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: Replacing dead drives in ZRAID2 Message-ID: <CAOeNLur2q_acSf6dXcNX9a0qRgvka8dxmafRYgs1qFF-a1APMQ@mail.gmail.com> In-Reply-To: <20120501221536.4F8E4106564A@hub.freebsd.org> References: <CAOjFWZ7yuag3J8hZCfPP8XpLdo94whEcHDVN3od5aWV_4CXebQ@mail.gmail.com> <20120501221536.4F8E4106564A@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
What card is this? - Rich On Tue, May 1, 2012 at 6:15 PM, Simon <simon@optinet.com> wrote: > > Sorry, I meant to say zpool offline. > > After I take the drive out marked as offline, and put it back in, the sys= tem spits > the following: > > ahd0: someone reset channel A > ahd0: WARNING no command for scb 242 (cmdcmplt) > QOUTPOS =3D 283 > >>>>>>>>>>>>>>>>>>>>Dumpt Card State Begins>>>>>>>>>>>> > ahd0: dumping card state.... followed by a lard amount of data. > > It then freezes and won't executed any new commands. > > beta_srv# uname -a > FreeBSD beta_srv 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan =A03 07:15:2= 5 > UTC 2012 =A0 =A0 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC= =A0i386 > > beta_srv# dmesg | grep ses > ses0 at ahd0 bus 0 scbus0 target 6 lun 0 > ses0: <SUPER GEM318 0> Fixed Processor SCSI-2 device > ses0: 3.300MB/s transfers > ses0: SAF-TE Compliant Device > > Thanks, > Simon > > On Tue, 1 May 2012 14:26:35 -0700, Freddie Cash wrote: > >>On Tue, May 1, 2012 at 1:57 PM, Simon <simon@optinet.com> wrote: >>> I decided to give ZFS ZRAID2 a shot after getting fed up with some lega= cy >>> hardware RAID cards that don't properly perform, or at all, patrol-read= s + >>> consistency checking. So... >>> >>> I can't seem to figure out the proper way to replace a dead drive in a = running >>> system with SCSI+SES enclosure. I tried: >>> >>> zpool detach zroot baddrive >>> camcontrol stop baddrive > >>You can't detach drives from raidz vdevs. =A0The correct process is: > >>zpool offline zroot <baddrive> >><pull drive from system> >><insert new drive> >><do any partitioning, labelling, etc to suit your env> >>zpool replace zroot <baddrive> <newdrive> > >>"zpool detach" is only used for mirror vdevs. > >>-- >>Freddie Cash >>fjwcash@gmail.com > > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOeNLur2q_acSf6dXcNX9a0qRgvka8dxmafRYgs1qFF-a1APMQ>