How do I fix a corrupt file system?
My linode is accessible only in recovery mode. How can keep my existing IP, fix the file system and use my backup to restore back to working?
1 Reply
If your Linode is only accessible in Rescue Mode and you want to retain your existing IP addresses, fix the file system, and restore from a backup, I recommend these steps:
Boot Into Rescue Mode: Place your Linode in Rescue Mode to gain access to the file system for necessary repairs.
Use
fsck
for Disk Repair: Refer to our guide on usingfsck
to identify and fix disk errors.Maintain Linode Activation: Ensure the corrupted Linode stays active until you've successfully repaired the disk or completed the restoration from a recent backup. This is to retain your IP address as deleting the Linode will send the IP back into the global pool.
Deploy Backup to Existing or New Linode: If opting to recover from a recent backup, deploy that recent backup to the existing or new Linode.
IP Swap: If you opted to deploy a new Linode, swap their IP addresses from under the Networking tab of the Linodes in Cloud Manager. Reboot them with Network Helper or manually configure their networking.
By following these steps, you can effectively fix the file system errors you're running into, utilize your recent Linode backup for easy recovery, and maintain your existing IP addresses.