Environment


All OnApp versions. Linux virtual servers

Answer


To use the Recovery Console:

  1. Select the virtual server you wish to boot into recovery mode and click the Reboot in Recovery button.
  2. When the virtual server boots in recovery mode, access it with the following credentials:

    User: root
    Pass: <initial root password> or 'recovery'
    CODE
  3. Once you are logged in, you will notice a few changes in the system. To get a list of the disks for your virtual server, use fdisk:

    [ root@onapp ~]# fdisk -l
    
    Disk /dev/sda: 280 MB, 280252416 bytes
    255 heads, 63 sectors/track, 34 cylinders
    Units = cylinders of 16065 512 = 8225280 bytes
    
    Disk /dev/sda doesn't contain a valid partition table
    
    Disk /dev/sdb1: 5368 MB, 5368709120 bytes
    255 heads, 63 sectors/track, 652 cylinders
    Units = cylinders of 16065 512 = 8225280 bytes
    
    Disk /dev/sdb1 doesn't contain a valid partition table
    CODE

If you need to run fsck on a disk, run forced fsck:

[ root@onapp ~]# fsck -yf /dev/sdb1
CODE