Issue: due to issue on storage the file system went into ro mode. Try remounting the file system.
#cat /proc/mounts | grep ro
/dev/mapper/hostname_vg-lv_app_mcafee /app/mcafee ext4 ro,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
Solution 1:
# mount -o remount,rw /app/mcafee
mount: cannot remount block device /dev/mapper/hostname_vg-lv_app_mcafee read-write, is write-protected
Solution 2: If first one is giving above error, follow this one.
a> Go to single user mode and run fsck
b> fsck /app/mcafee abd reboot
#cat /proc/mounts | grep ro
/dev/mapper/hostname_vg-lv_app_mcafee /app/mcafee ext4 ro,nosuid,nodev,relatime,barrier=1,data=ordered 0 0
Solution 1:
# mount -o remount,rw /app/mcafee
mount: cannot remount block device /dev/mapper/hostname_vg-lv_app_mcafee read-write, is write-protected
Solution 2: If first one is giving above error, follow this one.
a> Go to single user mode and run fsck
b> fsck /app/mcafee abd reboot