Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jul 2015 09:54:49 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        freebsd-fs@freebsd.org, "Matthew Seaman" <m.seaman@infracaninophile.co.uk>
Subject:   Re: Attach a device to an unimported pool?
Message-ID:  <op.x135lnzkkndu52@ronaldradial.radialsg.local>
In-Reply-To: <55ADCFFD.8090000@infracaninophile.co.uk>
References:  <55ADA043.5060002@FreeBSD.org> <55ADCFFD.8090000@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Jul 2015 06:52:13 +0200, Matthew Seaman  
<m.seaman@infracaninophile.co.uk> wrote:

> On 2015/07/21 02:28, Matthew Seaman wrote:
>> I have an unimportable zpool which is telling me to 'attach the missing
>> devices and try again'
>>
>> The missing devices are a mirrored pair for logs -- they exist and
>> should be readily attachable, but it seems I cannot attach devices to an
>> un-imported pool, and I can't import the pool with out attaching the
>> devices.
>>
>> Any clues as to how to unfuck this system most gratefully received.
>
> Following myself up, because I missed out providing enough useful
> information.
>
> This is a 10.1-RELEASE machine -- I was upgrading it from p5 to p14 and
> changing the vfs.zfs.arc_max setting: nothing that should have been
> anything other than routine.  However the machine wouldn't reboot
> properly, and I have eventually ended up with it booted up from a USB
> stick trying to repair it's boot pool.
>
> I've tried:
>
>    zpool import -R /mnt zroot
>    zpool import -f -R /mnt zroot
>    zpool import -f -F -R /mnt zroot
>    zpool import -f -m /mnt zroot
>
> plus variations on zpool attach ... and zpool replace ... none of which
> has succeeded.
>
> 	Matthew
>
>


I did not try, but can you import the pool readonly?

Ronald.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.x135lnzkkndu52>