Site Tools


staff-wiki:storage_zfs_troubleshooting

Storage Troubleshooting

CoreZFS Cold Boot

Zpools

On boot, corezfs01 may not automatically import its zpools. To import the pools manually, run the following:

# Check by ls /p, /u
[root@corezfs01 ~]# zpool import p
[root@corezfs01 ~]# zpool import u

If corezfs01 does claims the pools don't exists. In this case, reset hba adapters

[root@corezfs01 ~]# echo 1 >  /sys/class/fc_host/host1/issue_lip 
[root@corezfs01 ~]# echo 1 >  /sys/class/fc_host/host2/issue_lip 

Backup Jobs

Backups on the old zfs servers will run automatically via cron, however you must start the backup program on corezfs01. Coresrv05 must be started first!

Mariadb on coresrv05:

[root@coresrv05 named]# lxc list            # See if 'mysql2' is running
[root@coresrv05 named]# lxc start mysql2    # start if not
[root@corezfs01 ~]# su goBackup
bash-4.2$ screen -S backups
bash-4.2$ cd /opt/goBack
bash-4.2$ ./gobackd --noupdate run
# hit 'ctrl-a' then hit 'd'

Old ZFS Servers

zfs1-zfs3

  • Check nfs mounts on coresrv01
    • /home - run umount home; mount /home or umount home; mount zfs3:/home /home
  • Check clockskew - run ntpdate -u coresrv01
staff-wiki/storage_zfs_troubleshooting.txt · Last modified: 2023/08/29 19:56 by 127.0.0.1