Re: [zfs-discuss] Question about degraded drive

2012-11-29 Thread Chris Dunbar - Earthside, LLC
(opensolarisisdeadlongliveopensolaris) opensolarisisdeadlongliveopensola...@nedharvey.com To: Chris Dunbar - Earthside, LLC cdun...@earthside.net, zfs-discuss@opensolaris.org Sent: Wednesday, November 28, 2012 10:14:59 PM Subject: RE: [zfs-discuss] Question about degraded drive From: zfs-discuss-boun

Re: [zfs-discuss] Question about degraded drive

2012-11-28 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Freddie Cash And you can try 'zpool online' on the failed drive to see if it comes back online. Be cautious here - I have an anecdote, which might represent a trend in best practice, or it

Re: [zfs-discuss] Question about degraded drive

2012-11-28 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- boun...@opensolaris.org] On Behalf Of Chris Dunbar - Earthside, LLC # zpool replace tank c11t4d0 # zpool clear tank I would expect this to work, or detach/attach. You should scrub periodically, and ensure no errors after

[zfs-discuss] Question about degraded drive

2012-11-27 Thread Chris Dunbar - Earthside, LLC
Hello, I have a degraded mirror set and this is has happened a few times (not always the same drive) over the last two years. In the past I replaced the drive and and ran zpool replace and all was well. I am wondering, however, if it is safe to run zpool replace without replacing the drive to

Re: [zfs-discuss] Question about degraded drive

2012-11-27 Thread Freddie Cash
You don't use replace on mirror vdevs. 'zpool detach' the failed drive. Then 'zpool attach' the new drive. On Nov 27, 2012 6:00 PM, Chris Dunbar - Earthside, LLC cdun...@earthside.net wrote: Hello, ** ** I have a degraded mirror set and this is has happened a few times (not always the

Re: [zfs-discuss] Question about degraded drive

2012-11-27 Thread Freddie Cash
And you can try 'zpool online' on the failed drive to see if it comes back online. On Nov 27, 2012 6:08 PM, Freddie Cash fjwc...@gmail.com wrote: You don't use replace on mirror vdevs. 'zpool detach' the failed drive. Then 'zpool attach' the new drive. On Nov 27, 2012 6:00 PM, Chris Dunbar -

Re: [zfs-discuss] Question about degraded drive

2012-11-27 Thread Jan Owoc
Hi Chris, On Tue, Nov 27, 2012 at 6:56 PM, Chris Dunbar - Earthside, LLC cdun...@earthside.net wrote: Hello, ** ** I have a degraded mirror set and this is has happened a few times (not always the same drive) over the last two years. In the past I replaced the drive and and ran zpool

Re: [zfs-discuss] Question about degraded drive

2012-11-27 Thread Chris Dunbar
Sorry, I was skipping bits to get to the main point. I did use replace (as previously instructed on the list). I think that worked because my spare had taken over for the failed drive. That's the same situation now - spare in service for the failed drive. Sent from my iPhone On Nov 27, 2012,