Re: [zfs] Cache on SD stops working after updating to 11-CURRENT r291458 amd64

2016-01-10 Thread Alan Somers
On Sun, Jan 10, 2016 at 1:32 AM, O. Hartmann
 wrote:
> Am Sat, 9 Jan 2016 02:18:27 -0800
> Xin Li  schrieb:
>
>> Please subscribe:
>>
>> https://bugs.freebsd.org/205882
>>
>> You can locally apply -r292066 or modify the code to skip the check when
>> pguid is 0 as a stopgap.
>>
>> Cheers,
>>
>
> Is there any chance this get sorted out and solved in due time?
>
> Regards,
>
> oh

Yes.  The fix will be quite quick, but it's currently being blocked by
an open code review on the same file.

https://reviews.freebsd.org/D4524
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [zfs] Cache on SD stops working after updating to 11-CURRENT r291458 amd64

2016-01-10 Thread O. Hartmann
Am Sat, 9 Jan 2016 02:18:27 -0800
Xin Li  schrieb:

> Please subscribe:
> 
> https://bugs.freebsd.org/205882
> 
> You can locally apply -r292066 or modify the code to skip the check when
> pguid is 0 as a stopgap.
> 
> Cheers,
> 

Is there any chance this get sorted out and solved in due time?

Regards,

oh


pgpdU05jPiRHD.pgp
Description: OpenPGP digital signature


Re: [zfs] Cache on SD stops working after updating to 11-CURRENT r291458 amd64

2016-01-09 Thread Ranjan1018 .
2016-01-09 11:18 GMT+01:00 Xin Li :

> Please subscribe:
>
> https://bugs.freebsd.org/205882
>
> You can locally apply -r292066 or modify the code to skip the check when
> pguid is 0 as a stopgap.
>
> Cheers,
>
>
Thank you Xin it works,
I have replace vdev_geom.c r292066 with r274619, rebuild and reinstalled
the kernel and now, the zfs cache, works as before.
I have done this test with:
# uname -a
FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r293438: Fri Jan  8
21:19:19 CET 2016 root@ativ:/usr/obj/usr/src/sys/GENERIC  amd64

Regards,
--
Maurizio
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [zfs] Cache on SD stops working after updating to 11-CURRENT r291458 amd64

2016-01-09 Thread Xin Li
Please subscribe:

https://bugs.freebsd.org/205882

You can locally apply -r292066 or modify the code to skip the check when
pguid is 0 as a stopgap.

Cheers,



signature.asc
Description: OpenPGP digital signature


Re: [zfs] Cache on SD stops working after updating to 11-CURRENT r291458 amd64

2016-01-09 Thread O. Hartmann
Am Sat, 9 Jan 2016 09:01:48 +0100
"Ranjan1018 ." <21474...@gmail.com> schrieb:

> Hi,
> 
> I use a SD card as cache for a laptop pool sys:
> 
> # zpool status -v
> 
>  pool: sys
> 
> state: ONLINE
> 
>  scan: scrub repaired 0 in 1h13m with 0 errors on Mon Jan  4 00:02:42 2016
> 
> config:
> 
>NAME STATE READ WRITE CKSUM
> 
>sys  ONLINE   0 0 0
> 
>  gpt/sys0   ONLINE   0 0 0
> 
>cache
> 
>  gpt/cache  ONLINE   0 0 0
> 
> 
> After updating 11.0-CURRENT from r291458 to r293055 the cache stops working.
> 
> I am running:
> 
> # uname -a
> 
> FreeBSD ativ 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r293055: Sun Jan  3
> 00:15:33 CET 2016 root@ativ:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> Fault cache status after the boot:
> 
> # zpool status -v
> 
> 
>  pool: sys
> 
> state: ONLINE
> 
> status: One or more devices could not be opened.  Sufficient replicas exist
> for
> 
>the pool to continue functioning in a degraded state.
> 
> action: Attach the missing device and online it using 'zpool online'.
> 
>   see: http://illumos.org/msg/ZFS-8000-2Q
> 
>  scan: scrub repaired 0 in 1h13m with 0 errors on Mon Jan  4 00:02:42 2016
> 
> config:
> 
>NAME   STATE READ WRITE CKSUM
> 
>sysONLINE   0 0 0
> 
>  gpt/sys0 ONLINE   0 0 0
> 
>cache
> 
>  1553023247900193278  UNAVAIL  0 0 0  was /dev/gpt/cache
> 
> errors: No known data errors
> 
> 
> Trying to online the cache I have the error:
> 
> # zpool online sys gpt/cache
> 
> warning: device 'gpt/cache' onlined, but remains in faulted state
> 
> use 'zpool replace' to replace devices that are no longer present
> 
> 
> To use the cache I need to remove & add it:
> 
> # zpool remove sys gpt/cache
> 
> # zpool add sys cache gpt/cache
> 
> --
> Maurizio
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

I have the very same problem here, I had this before Christmas, but I thought 
it happened
due to a defective disk!

This is quite awsome having another person experiencing the very(!) same 
problem.

I experimented a while and there was no way to get the caching SD to work again.

In my case, even removing and adding the disk/partition for caching didn't work.

Kind regards,

oh


pgpaXYp3To4DP.pgp
Description: OpenPGP digital signature