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

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sat, 9 Jan 2016 10:00:29 +0100
Am Sat, 9 Jan 2016 09:01:48 +0100
"Ranjan1018 ." <214748mv_at_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_at_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
> 
>        sys                    ONLINE       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_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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

Received on Sat Jan 09 2016 - 08:00:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC