Date: Fri, 05 Dec 2014 12:26:01 -0500 From: Paul Kraus <paul@kraus-haus.org> To: freebsd-questions@freebsd.org Subject: Re: Problem adding second mirror to zpool Message-ID: <5481EAA9.5020006@kraus-haus.org> In-Reply-To: <20141205111900.GA98593@weller-fahy.com> References: <20141205015642.GD29540@weller-fahy.com> <20141205111900.GA98593@weller-fahy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/5/14 6:19, David J. Weller-Fahy wrote: > * David J. Weller-Fahy <dave+lists.freebsd-questions@caterva.org> > [2014-12-04 21:03 -0500]: >> #v+ >> root@nastie:~ # zpool attach pool \ >> /dev/gptid/c6ede2a4-78a6-11e4-8646-0014222d98da \ >> /dev/gptid/fadbb43d-7aa2-11e4-8452-0014222d98da >> cannot attach /dev/gptid/fadbb43d-7aa2-11e4-8452-0014222d98da to \ >> /dev/gptid/c6ede2a4-78a6-11e4-8646-0014222d98da: no such device in >> pool >> #v- >> >> Can anyone tell me how to add the last drive (ada1) without losing the >> data on the drive? > > Apologies: I just re-read this, and it doesn't say what I thought it > said. To rephrase: Can anyone tell me how to add ada1p1 to the pool > without losing the data that is on ada3p1 (which is already in the > pool)? I don't care about the data on ada1p1, because I just formatted > the darn thing. The error is about the first device not being in the zpool, so I would first make sure that I shell completed the device name (path) instead of cut and paste or typing. A hidden character (backspace maybe) could make this fail. If that fails I would try exporting the importing the zpool. I saw your comment about size, but error is not related to size of the new device, but that the zpool command cannot find the existing device in the zpool to attach the new one to. You _may_ still have a space issue, but that is not this error. -- -- Paul Kraus paul@kraus-haus.org Co-Chair Albacon 2014.5 http://www.albacon.org/2014/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5481EAA9.5020006>