Skip to main content
FortiKoala
Staff
Staff
September 28, 2018

Technical Note: Drive in Read Only mode

  • September 28, 2018
  • 0 replies
  • 1508 views
Description
NAC services are down due to hard drive being in read only mode.   This this state, files are unable to be written.

Examples of responses in a Read-Only file system:

> touch filename1
touch: cannot touch `filename1': Read-only file system

> service dhcpd restart
Shutting down DHCP server rm: cannot remove `/bsc/services/dhcpd/var/state/lib/libnss_dns.so.2': Read-only file system
rm: cannot remove `/bsc/services/dhcpd/var/state/lib/libresolv.so.2': Read-only file system
done


Possible Causes:  Disk full, file system corruption,  improperly seated hard drive or hard drive failure.

Solution
1.  Verify disk space:
df -h
2.  Ensure configuration files are copied to a remote server (in case a recovery is necessary).  If remote backups are not already scheduled, they can be uploaded using SCP or to a FTP server.
3.  Power down the appliance.
4.  Re-seat the hard drive.
5.  Power up the appliance.

If database is corrupt, restore the last database.