Problem description
The Linux Cloud Cache is showing as disconnected in the Phoenix Console
When connecting to the Linux CloudCache Server the Login screen shows the message below:
OSError: [Errno 30] Read-only fle system: '/var/lib/cloud/data'
Cause
This problem may occur when there are inconsistencies in the file system.
Resolution
Check and Repair Filesystem running the fsck command.
Run the command below to list the different partitions on the Cloud Cache:
mount
Find out what partition is in Read-Only mode.
For Example:/dev/mapper/ubuntu--vg/ubuntu--lv
Stop the Phoenix Agent service:
/etc/init.d/PhoenixCacheServer stop
unmount the partition:
sudo umount /dev/mapper/ubuntu--vg/ubuntu--lv
Run the fsck command below to repair the File System:
sudo fsck -f /dev/mapper/ubuntu--vg/ubuntu--lv
Mount the partition:
sudo mount /dev/mapper/ubuntu--vg/ubuntu--lv
Sart the Phoenix Agent service:
/etc/init.d/PhoenixCacheServer start
Reboot your Linux CloudCache.
After the reboot check the Login screen and verify that the message OSError: [Errno 30] Read-only file system: '/var/lib/cloud/data' is no longer present.
Check the status of the Linux CloudCache in the Phoenix console and confirm that it is showing as 'connected'