Help


Community tutorials and documentations

How to rescue my server

How to rescue my server

This page shows you how to boot a C1 server in rescue mode. The rescue mode allows you to debug your server.

Requirements

  • You have an account and are logged into cloud.scaleway.com
  • You have configured your SSH Key
  • You have a server

A rescue bootscript is available to help you debugging your server. The rescue bootscript creates a ramdisk with the content of a downloaded rootfs. You will have access to all your disks and will be able to perform debug/rescue actions.

important: If you attach the rescue bootscript while your server is running, you will have to reboot the server to apply changes.

Step 1 - Select the rescue bootscript

In the Control Panel, click “Servers” in the left panel.

Servers list

Select the server you want to start in rescue mode and click on the “Off” button. In the server details, display advanced options.

The list of available bootscripts appears. Select the rescue bootscript Rescue. Validate.

Server bootscript

Power on your server. In a few seconds, your server will be running in rescue mode.

Step 2 - Mount volumes that require debug / rescue action

Your server is now running and you have to mount the volumes that require debug/rescue actions.

To mount the device manually as /mnt/volume0, run the following commands:

root@c1-X-Y-Z-T:~# mkdir -p /mnt/volume0
root@c1-X-Y-Z-T:~# mount /dev/nbd0 /mnt/volume0

The server is now running in rescue, the volume that requires debug/rescue action is mounted in the /mnt/volume0. You are now be able to perform debug/rescue actions on this volume editing files in the /mnt/volume0 folder.

Discover a new cloud experience

Deploy SSD cloud servers in seconds.