Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2013 17:24:37 +0400
From:      Konstantin Kuklin <konstantin.kuklin@gmail.com>
To:        Fleuriot Damien <ml@my.gd>
Cc:        freebsd-fs@freebsd.org, zfs-discuss@opensolaris.org
Subject:   Re: zfs raid1 error resilvering and mount
Message-ID:  <CAOrTs_YeuYE4=%2B6AJse5TizALKobLzuqWPwdiK8YHAvr4gjbfg@mail.gmail.com>
In-Reply-To: <8506B305-D696-4213-BA59-929E4886B10C@my.gd>
References:  <CAOrTs_aRL1cO3Jm1YrXoQRGoUX4vVqYKvFcTXbzyijYAhDsCVA@mail.gmail.com> <5D97BF07-ECF4-45B2-91AC-3431A75ECDB3@my.gd> <CAOrTs_a1CX2tiBe%2B1zzsSMw%2BTTqvfFJD=Dr-dUURa_4s4aSYCA@mail.gmail.com> <B8CACAE9-64E5-40EE-821D-079524579C4F@my.gd> <CAOrTs_bb26hP92jNJh7CEpbRF8uHaqAeCPF06-rwwE0KoMH3Fw@mail.gmail.com> <0ED6EC22-9875-45FF-ADFC-BB23C2C94FC0@my.gd> <CAOrTs_asx4N9Pt-W3ahg=KY0Bwc%2BPQ-oXxjAHt8qdn08XQd9yA@mail.gmail.com> <8506B305-D696-4213-BA59-929E4886B10C@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help
zfs set canmount=3Doff zroot/var/crash

i can`t do this, because zfs list empty

2013/2/19 Fleuriot Damien <ml@my.gd>:
> The thing is, perhaps you have corrupted blocks that weren't caught eithe=
r by ZFS or your drives' firmware, preventing the pool's operation.
>
> Seeing zroot/var/crash is the problem, could you try:
>
> 1/ booting from a live CD or flash
> 2/ NOT start a resilver
> 3/ run the command:
> zfs set canmount=3Doff zroot/var/crash
>
>
> This should prevent /var/crash from trying to be mounted from the ZFS poo=
l.
>
> Perhaps this'll allow you to get further through the boot process and per=
haps even start your ZFS pool correctly.
>
>
>
> On Feb 19, 2013, at 12:52 PM, Konstantin Kuklin <konstantin.kuklin@gmail.=
com> wrote:
>
>> you understand me right, but my problem not in dead device... raid1
>> must work correctly with 1 device and command to replace or something
>> else not work, just freeze
>> i have only 2 warning about crash fs zroot/var/crash and thats all
>> have any idea, how i can repair it without default zfs tools like zfs, z=
pool?
>>
>>
>> 2013/2/19 Fleuriot Damien <ml@my.gd>:
>>> If I understand you correctly, you have:
>>> - booted another system from flash
>>> - NOT replaced the failed device
>>> - under this booted system, resilvering takes place automatically
>>>
>>>
>>> While I cannot tell why ZFS tries to resilver without a new, proper dev=
ice, I think it will only work once you've replaced the failed device.
>>>
>>> Could you try replacing the failed drive ?
>>>
>>>
>>> On Feb 19, 2013, at 12:39 PM, Konstantin Kuklin <konstantin.kuklin@gmai=
l.com> wrote:
>>>
>>>> i did`t replace disk, after reboot system not started (zfs installed
>>>> as default root system) and i boot from another system(from flash) and
>>>> resilvering has auto start and show me warnings with freeze
>>>> progress(dead on checking zroot/var/crash )
>>>> replacing dead disk healing var/crash with <0x0> adress?
>>>>
>>>> 2013/2/18 Fleuriot Damien <ml@my.gd>:
>>>>> Reassure me here, you've replaced your failed vdev before trying to r=
esilver right ?
>>>>>
>>>>> Your zpool status suggests otherwise, so I only want to make sure thi=
s is a status from before replacing your drive.
>>>>>
>>>>>
>>>>> On Feb 18, 2013, at 8:48 AM, Konstantin Kuklin <konstantin.kuklin@gma=
il.com> wrote:
>>>>>
>>>>>> i can`t do it, because resilvering in progress(freeze on 0.1%) and z=
fs
>>>>>> list empty
>>>>>>
>>>>>> 2013/2/17 Fleuriot Damien <ml@my.gd>:
>>>>>>> Hmmm, zfs destroy -f zroot/var/crash ?
>>>>>>>
>>>>>>> Then you can try to zfs mount -a
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Removing pjd and mm from cc, if they want to read your message they=
're old enough to check their ML subscription.
>>>>>>>
>>>>>>>
>>>>>>> On Feb 17, 2013, at 3:46 PM, Konstantin Kuklin <konstantin.kuklin@g=
mail.com> wrote:
>>>>>>>
>>>>>>>> hi, i have raid1 on zfs with 2 device on pool
>>>>>>>> first device died and boot from second not working...
>>>>>>>>
>>>>>>>> i try to get http://mfsbsd.vx.sk/ flash and load from it with zpoo=
l import
>>>>>>>> http://puu.sh/2402E
>>>>>>>>
>>>>>>>> when  i load zfs.ko and opensolaris.ko i see this message:
>>>>>>>> Solaris: WARNING: Can't open objset for zroot/var/crash
>>>>>>>> Solaris: WARNING: Can't open objset for zroot/var/crash
>>>>>>>>
>>>>>>>> zpool status:
>>>>>>>> http://puu.sh/2405f
>>>>>>>>
>>>>>>>> resilvering freeze with:
>>>>>>>> zpool status -v
>>>>>>>>     .............
>>>>>>>>     zroot/usr:<0x28ff>
>>>>>>>>     zroot/usr:<0x29ff>
>>>>>>>>     zroot/usr:<0x2aff>
>>>>>>>>     zroot/var/crash:<0x0>
>>>>>>>> root@Flash:/root #
>>>>>>>>
>>>>>>>> how i can delete or drop it fs zroot/var/crash (1m-10m size i didn=
`t
>>>>>>>> remember) and mount other zfs points with my data
>>>>>>>> --
>>>>>>>> =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD
>>>>>>>> =EB=D5=CB=CC=C9=CE =EB=CF=CE=D3=D4=C1=CE=D4=C9=CE.
>>>>>>>> _______________________________________________
>>>>>>>> freebsd-fs@freebsd.org mailing list
>>>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>>>>>>>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.o=
rg"
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD
>>>>>> =EB=D5=CB=CC=C9=CE =EB=CF=CE=D3=D4=C1=CE=D4=C9=CE.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD
>>>> =EB=D5=CB=CC=C9=CE =EB=CF=CE=D3=D4=C1=CE=D4=C9=CE.
>>>
>>
>>
>>
>> --
>> =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD
>> =EB=D5=CB=CC=C9=CE =EB=CF=CE=D3=D4=C1=CE=D4=C9=CE.
>



--
=F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD
=EB=D5=CB=CC=C9=CE =EB=CF=CE=D3=D4=C1=CE=D4=C9=CE.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOrTs_YeuYE4=%2B6AJse5TizALKobLzuqWPwdiK8YHAvr4gjbfg>