Skip to main content

Access node in recovery mode

Select Actions for the respective node where you need to enable recovery mode from the Manage Nodes option.

Firstly, you need to power off the node to enable recovery mode.

Recovery 1

Click on Power Off action

Recovery 2

Recovery 3

Now, select Enable Recovery Mode option from Actions to enable it.

Recovery 4

Click on OK button

Recovery 5

You can see the node state in recovery mode in progress

Recovery 6

Once the recovery mode is enabled, you will see the node state as Recovery Mode Enabled.

Recovery 7

Once recovery node is enabled, start the node to boot into recovery mode.

Recovery 8

Once the node comes to a running state, click on Access Console.

Recovery 9

Navigate to Troubleshooting option using arrows and then press Enter.

Recovery 11

Now navigate to Rescue a Rocky Linux system using arrows and then press Enter to boot into recovery mode.

Recovery 11

note

If the rescue disk is enabled and left for 30 seconds, you need to quit installation as per the below screenshot.

Quit New Install Recovery mode 1

Quit New Install Recovery mode 2

After quitting, the rescue image will boot into recovery mode.

Then choose option 1 to mount the disk, enter 1 on the below screen to continue as shown in the picture below.

Press the enter button to get the command line in recovery mode.

Recovery 14

Disk Space full

When the disk space is full on the server, you can check with the command:

df -Th

and can see node's disk (vda1) will be mounted on /mnt/sysroot.

Recovery 24

Recovery 16

If you want to remove/delete files through recovery mode, you can browse and clear the unwanted files.

Recovery 18

Change password

If you want to change the password of the root user through recovery mode, you can mount disk (vda1) on /mnt/sysroot and change it as shown in the below screen.

Recovery 26

note

Please check if the user is changed to root@localhost. If not, use sudo -i; it is mandatory to change the root password.

To exit/unmount the disk (vda1) from /mnt/sysimage, run the exit command as shown in the screenshot below:

Recovery 35

Once the disk is cleared, the password reset is done, or other operations are performed through recovery mode, you can power off the node again.

Recovery 19

Then, disable the recovery mode option through Disable Recovery Mode from Actions.

Recovery 20

Finally, you can power ON the node.

Recovery 21

You can see the node in Running state.

Recovery 23