Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Apr 2014 11:47:53 -0500
From:      Wes Morgan <morganw@chemikals.org>
To:        Gena Guchin <ggulchin@icloud.com>, freebsd-fs@freebsd.org
Subject:   Re: ZFS unable to import pool
Message-ID:  <CALCz5MHuS%2B9yWwUAHpVsDBvSW66o3FSv8epg14eL3%2BDHaFMLxQ@mail.gmail.com>
In-Reply-To: <op.xeteg9jkkndu52@ronaldradial.radialsg.local>
References:  <B493BD80-CDC2-4BA6-AC14-AE16B373A051@icloud.com> <op.xeppknthkndu52@ronaldradial.radialsg.local> <6DACDF6E-E1ED-49C0-975C-A91F68EA8840@icloud.com> <op.xeteg9jkkndu52@ronaldradial.radialsg.local>

next in thread | previous in thread | raw e-mail | index | archive | help
You stated before that all you did was zero the first sector of the drive,
you should still be able to recover this. I would make an image of the
drive first, and then try copying one of the backup labels over the
corrupted ones.



On Thu, Apr 24, 2014 at 4:40 AM, Ronald Klop <ronald-lists@klop.ws> wrote:

> On Tue, 22 Apr 2014 18:36:48 +0200, Gena Guchin <ggulchin@icloud.com>
> wrote:
>
>  Ronald,
>>
>> system does see the disk, ada7, in this case. Nothing has been
>> disconnected from the system.
>>
>> what steps do you suggest I take with GEOM?
>>
>
> As I read the rest of the discussion I don't think this will help you.
> People with more knowledge about ZFS have already explained a lot of your
> problem.
>
> Ronald.
>
>
>
>
>>
>> thanks!
>>
>>
>> On Apr 22, 2014, at 2:49 AM, Ronald Klop <ronald-lists@klop.ws> wrote:
>>
>>  On Mon, 21 Apr 2014 21:29:27 +0200, Gena Guchin <ggulchin@icloud.com>
>>> wrote:
>>>
>>>  Hello FreeBSD users,
>>>>
>>>> my appologies for reposting, but I'd really need your help!
>>>>
>>>>
>>>> I have this huge problem with my ZFS server. I have accidentally
>>>> formatted one of the drives in exported ZFS pool. and now I can't import
>>>> the pool back. this is extremely important pool for me. device that is
>>>> missing is still attached to the system. Any help would be greatly
>>>> appreciated.
>>>>
>>>>
>>>>
>>>>
>>>> #uname -a
>>>> FreeBSD XXX 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16
>>>> 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC
>>>>  amd64
>>>>
>>>> #zpool import
>>>>  pool: storage
>>>>    id: 11699153865862401654
>>>> state: UNAVAIL
>>>> status: One or more devices are missing from the system.
>>>> action: The pool cannot be imported. Attach the missing
>>>>       devices and try again.
>>>>  see: http://illumos.org/msg/ZFS-8000-6X
>>>> config:
>>>>
>>>>       storage                 UNAVAIL  missing device
>>>>         raidz1-0              DEGRADED
>>>>           ada3                ONLINE
>>>>           ada4                ONLINE
>>>>           ada5                ONLINE
>>>>           ada6                ONLINE
>>>>           248348789931078390  UNAVAIL  cannot open
>>>>       cache
>>>>         ada1s2
>>>>       logs
>>>>         ada1s1                ONLINE
>>>>
>>>>       Additional devices are known to be part of this pool, though their
>>>>       exact configuration cannot be determined.
>>>>
>>>>
>>>> # zpool list
>>>> NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
>>>> zroot   920G  17.9G   902G     1%  1.00x  ONLINE  -
>>>>
>>>> # zpool upgrade
>>>> This system supports ZFS pool feature flags.
>>>>
>>>> All pools are formatted using feature flags.
>>>>
>>>> Every feature flags pool has all supported features enabled.
>>>>
>>>> # zfs upgrade
>>>> This system is currently running ZFS filesystem version 5.
>>>>
>>>> All filesystems are formatted with the current version.
>>>>
>>>>
>>>> Thanks a lot!
>>>>
>>>
>>> Does FreeBSD see the disk? Is it in /dev/ada2 (or another number)?
>>> If FreeBSD does not know anything about the disk, ZFS can't either. A
>>> reboot or some fiddling (partitioning?) with GEOM might make the disk
>>> reappear.
>>>
>>> Ronald.
>>> _______________________________________________
>>> freebsd-fs@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>>>
>> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCz5MHuS%2B9yWwUAHpVsDBvSW66o3FSv8epg14eL3%2BDHaFMLxQ>