Difference between revisions of "OVH server Rescue Mode"

From Kolmisoft Wiki
Jump to navigationJump to search
 
Line 6: Line 6:


After login over SSH to the server, you need to mount your HDD:
After login over SSH to the server, you need to mount your HDD:
Run
fdisk -l
to find out what HDD you have, example:
root@rescue:/# fdisk -l
<br>
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007ec91
<br>
  Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          1      90564  727450624+  83  Linux
/dev/sda2          90564      91201    5119360  82  Linux swap / Solaris
<br>
Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
<br>
  Device Boot      Start        End      Blocks  Id  System
/dev/sdb1  *          1        1306    10485760+  fd  Linux raid autodetect
/dev/sdb2            1306      91136  721558528  fd  Linux raid autodetect
/dev/sdb3          91136      91201      525696  82  Linux swap / Solaris
And let's mount it:
root@rescue:/# mount /dev/sda1 /mnt/
After that go to /mnt and retrieve necessary files. (We usually take DB).




Line 11: Line 45:
<br><br>
<br><br>
= See also =
= See also =
* [http://help.ovh.ie/RescueMode | OVH Rescue Mode page]
* [http://help.ovh.ie/RescueMode OVH Rescue Mode page]

Latest revision as of 18:58, 2 December 2011

When some problem happens with OVH server, we need to enter Rescue Mode.

Over panel select Boot: rescue-.. and reboot the server.

You will get email with password to login to Rescue Mode.

After login over SSH to the server, you need to mount your HDD:

Run

fdisk -l

to find out what HDD you have, example:

root@rescue:/# fdisk -l

Disk /dev/sda: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0007ec91
Device Boot Start End Blocks Id System /dev/sda1 * 1 90564 727450624+ 83 Linux /dev/sda2 90564 91201 5119360 82 Linux swap / Solaris
Disk /dev/sdb: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000
Device Boot Start End Blocks Id System /dev/sdb1 * 1 1306 10485760+ fd Linux raid autodetect /dev/sdb2 1306 91136 721558528 fd Linux raid autodetect /dev/sdb3 91136 91201 525696 82 Linux swap / Solaris

And let's mount it:

root@rescue:/# mount /dev/sda1 /mnt/

After that go to /mnt and retrieve necessary files. (We usually take DB).





See also