I moved one hard drive from a pool to a different controller, and now it isn''t recognized as part of the pool. This is the pool: NAME STATE READ WRITE CKSUM video DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 c13t0d0 UNAVAIL 0 0 0 cannot open c12d1 ONLINE 0 0 0 c11d0 ONLINE 0 0 0 c12d0 ONLINE 0 0 0 c11d1 ONLINE 0 0 0 c13t0d0 is now c15d0, so I tried "zpool replace -f c3t0d0 c15d0" but that just tells me that it is already part of a zpool. How do I tell zfs that c15d0 is the new name for c13t0d0? -- This message posted from opensolaris.org
I had the same problem after disabling multipath and some of my device names having changed. I performed replace -f - then noticed that the pool was resilvering. Once finished it displayed the new device name if I recall correctly. I could be wrong, but that''s how I remember it. -- This message posted from opensolaris.org
In general, ZFS can detect device changes but we recommend exporting the pool before you move hardware around. You might try exporting and importing this pool to see if ZFS recognizes this device again. Make sure you have a good backup of this data before you export it because its hard to tell if moving one device impacts the paths of the pool''s other devices. We''ve seen that too. Thanks, Cindy On 07/29/10 16:00, - wrote:> I moved one hard drive from a pool to a different controller, and now it isn''t recognized as part of the pool. > > This is the pool: > > NAME STATE READ WRITE CKSUM > video DEGRADED 0 0 0 > raidz1-0 DEGRADED 0 0 0 > c13t0d0 UNAVAIL 0 0 0 cannot open > c12d1 ONLINE 0 0 0 > c11d0 ONLINE 0 0 0 > c12d0 ONLINE 0 0 0 > c11d1 ONLINE 0 0 0 > > c13t0d0 is now c15d0, so I tried "zpool replace -f c3t0d0 c15d0" but that just tells me that it is already part of a zpool. > > How do I tell zfs that c15d0 is the new name for c13t0d0?
Thanks that seems to have done it. I exported with the -f option and imported it again, it is now resilvering. ...Oh, it''s finished resilvering, that was quick! It has shown 4 checksum errors so I''m doing a scrub now, but it seems to be working. Thanks for helping me out! -- This message posted from opensolaris.org