ZFS cache devs UNAVAIL

From: Michael Schmiedgen <schmiedgen_at_gmx.net>
Date: Tue, 23 Oct 2012 00:57:34 +0200
Hi,

after an update to CURRENT 2012-10-17 my ZFS cache devs are
marked UAVAIL after boot. These two devs are SSD partitions
that are listed with some wired numbers (see below). Before
that they were listed fine as ada0p1 and ada1p1.

Switching TRIM to 'on', installing todays world and installing
latest bootcode all did not help.

Typing

# zpool remove tank 5986966123239256412
# zpool remove tank 17739462735593715930
# zpool add tank cache ada0p1 ada1p1

after every boot helps out but is a little bit annoying after
time.

Am I doing something wrong here? Or is this a bug?

Below some information, please let me know if more is required.

Thanks,
   Michael



root_at_gizeh:/root # zpool status
   pool: tank
  state: ONLINE
config:
         NAME                   STATE     READ WRITE CKSUM
         tank                   ONLINE       0     0     0
           mirror-0             ONLINE       0     0     0
             ada3p3             ONLINE       0     0     0
             ada4p3             ONLINE       0     0     0
         cache
           5267967234359339128  UNAVAIL      0     0     0  was /dev/ada0p1
           5693315451104805234  UNAVAIL      0     0     0  was /dev/ada1p1

   pool: temp
  state: ONLINE
config:
         NAME        STATE     READ WRITE CKSUM
         temp        ONLINE       0     0     0
           mirror-0  ONLINE       0     0     0
             ada0p2  ONLINE       0     0     0
             ada1p2  ONLINE       0     0     0



root_at_gizeh:/root # gpart show
=>       34  234441581  ada0  GPT  (111G)
          34   33554432     1  freebsd-zfs  (16G)
    33554466  197132288     2  freebsd-zfs  (94G)
   230686754    3754861        - free -  (1.8G)

=>       34  234441581  ada1  GPT  (111G)
          34   33554432     1  freebsd-zfs  (16G)
    33554466  197132288     2  freebsd-zfs  (94G)
   230686754    3754861        - free -  (1.8G)

=>       63  156301425  ada2  MBR  (74G)
          63   41943006     1  freebsd  (20G)
    41943069       2019        - free -  (1M)
    41945088     204800     2  ntfs  [active]  (100M)
    42149888  114149376     3  ntfs  (54G)
   156299264       2224        - free -  (1.1M)

=>        34  5860533101  ada3  GPT  (2.7T)
           34           6        - free -  (3.0k)
           40         192     1  freebsd-boot  (96k)
          232     8388608     2  freebsd-swap  (4.0G)
      8388840  5767168000     3  freebsd-zfs  (2.7T)
   5775556840    84976295        - free -  (40G)

=>        34  5860533101  ada4  GPT  (2.7T)
           34           6        - free -  (3.0k)
           40         192     1  freebsd-boot  (96k)
          232     8388608     2  freebsd-swap  (4.0G)
      8388840  5767168000     3  freebsd-zfs  (2.7T)
   5775556840    84976295        - free -  (40G)

=>       0  41943006  ada2s1  BSD  (20G)
          0  39845888       1  freebsd-ufs  (19G)
   39845888   2097117       2  freebsd-swap  (1G)
   41943005         1          - free -  (512B)
Received on Mon Oct 22 2012 - 20:57:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:31 UTC