Lỗi CS or MDS báo die liên tục do xóa nhầm thư mục CS or MDS
Thông báo lỗi :
Pstorage top is flooded with error MDS# died unexpectedly (122): Can't load MDS id or csd: could not lock repository
MDS server fails : mdsd died unexpectedly, err 98 (Address already in use)
12-03-15 02:40:19.647 Unable connect to cluster, timeout (30 sec) expired.
Cách Fix
1. Remove CS or MDS fail
#vi /etc/pstorage/clusters/minicloud/mds.list
#vi /etc/pstorage/clusters/minicloud/cs.list
remove mấy dòng CS or MDS báo fail or xóa nhằm
2. Tìm và kill process đang bị sleep
http://kb.odin.com/en/123234
# ps fax | grep /usr/libexec/pstorage/monitor -A1
...
3979 ? S 1:09 /bin/sh /usr/libexec/pstorage/monitor
132860 ? S 0:00 \_ sleep 5