Powered by SmartDoc

5.3 zpool.cache がおかしくなっているという説

これは、/boot/zfs/zpool.cache 自体が inconsistent になっているというもの。

# zpool import -o cachefile=/tmp/zpool.cache -fR /mnt zroot
# zfs list
NAME                       USED  AVAIL  REFER  MOUNTPOINT
zroot                     51.1G  13.9T    88K  /mnt/zroot
zroot/.dake               18.3M  13.9T  18.3M  /mnt/.dake
zroot/ROOT                1.71G  13.9T    88K  none
zroot/ROOT/default        1.71G  13.9T  1.71G  /mnt/mnt
zroot/ds                  45.0G  13.9T    96K  /mnt/ds
zroot/ds/backup           30.8G  13.9T    88K  /mnt/ds/backup
  :
# zfs mount zroot/ROOT/default
# cp -p /tmp/zpool.cache /mnt/mnt/boot/zfs/zpool.cache
# reboot