Re: [zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Dustin Marquess
Cindy: AWESOME! Didn't know about that property, I'll make sure I set it :). All I did to replace the drives was to power off the machine (the failed drive had hard-locked the SCSI bus, so I had to anyways). Once the machine was powered off, I pulled the bad drive, inserted the new drive, and

Re: [zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Cindy Swearingen
Dustin, You didn't describe the process that you used to replace the disk so its difficult to commment on what happened. In general, you physically replace the disk and then let ZFS know that the disk is replaced, like this: # zpool replace pool-name device-name This process is described here:

Re: [zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Dustin Marquess
Tim: I couldn't do a zpool scrub, since the pool was marked as UNAVAIL. Believe me, I tried :) Bob: Ya, I realized that after I clicked send. My brain was a little frazzled, so I completely overlooked it. Solaris 10u7 - Sun E450 ZFS pool version 10 ZFS filesystem version 3 -Dustin -- This m

Re: [zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Bob Friesenhahn
On Wed, 23 Sep 2009, Dustin Marquess wrote: Okay.. I "fixed" it by powering the server off, removing the new drive, letting the pool come up degraded, and then doing zpool replace. I'm assuming what happened was ZFS saw that the disk was online, tried to use it, and then noticed that the chec

Re: [zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Tim Cook
On Wed, Sep 23, 2009 at 10:57 AM, Dustin Marquess wrote: > Okay.. I "fixed" it by powering the server off, removing the new drive, > letting the pool come up degraded, and then doing zpool replace. > > I'm assuming what happened was ZFS saw that the disk was online, tried to > use it, and then no

Re: [zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Dustin Marquess
Okay.. I "fixed" it by powering the server off, removing the new drive, letting the pool come up degraded, and then doing zpool replace. I'm assuming what happened was ZFS saw that the disk was online, tried to use it, and then noticed that the checksums didn't match (of course) and marked the

[zfs-discuss] RAID-Z2 won't come online after replacing failed disk

2009-09-23 Thread Dustin Marquess
I replaced a bad disk in a RAID-Z2 pool, and now the pool won't come online. Status shows nothing helpful at all. I don't understand why this is, which I should be able to lose 2 drives, and I only replaced one! # zpool status -v pool pool: pool state: UNAVAIL scrub: none requested config: