
The following sample for the fsck command shows the output when there are no errors or corruption present on the partitions for an Oracle 7.6 instance: sudo fsck -V /dev/sdb1 Partition is usually the largest partition on the volume. Run the fsck command on the volume's root partition. Lsblk, the boot volume attached as a data volume shows up Shows up as a volume attached to the instance.

After you have confirmed that the instance is functional, perform the following steps. For steps to access the instance, see Connecting to a Linux Instance.

Once you have the second instance, make sure you can log into the instance and that it is functional before proceeding with the recovery steps. If no existing instance is available, create a new Linux instance using the steps described in Creating an Instance. The second instance must be in the same availability domain and region as the boot volume's instance. You should only attach boot volumes for Linux-based instances to other Linux-based instances.
CORRUPTED BOOT.ELF SERIAL
On an instance with paravirtualized-attached boot volumes, the system may continue the boot process, but will be in a degraded state because nothing can be written to the boot drive.The serial console may display error messages similar to the following: Failed to start Create Volatile Files and Directories. Touch: cannot touch `/var/lock/subsys/iscsi': Read-only file system Touch: cannot touch `/var/lock/subsys/iscsid': Read-only file system

Iscsiadm: Could not lock discovery DB: /var/lock/iscsi/lock.write: Read-only file system The serial console may display a message similar to the following: iscsiadm: Maybe you are not root? This will typically prevent instances from continuing to boot. On an instance with iSCSI-attached boot volumes, the iscsiadm service will fail to attach a volume because the volume is in read-only mode. Most operating systems will set the boot volume to read-only as soon as disk corruption is detected to prevent writes from further corrupting the volume, so look for messages that indicate the boot volume is in read-only mode. Monitor the messages that appear as the system is starting up.

Once the reboot process starts, switch back to the terminal window, and you should see system messages from the instance start to appear in the window.
CORRUPTED BOOT.ELF HOW TO
Tip If you have already confirmed your instance's boot volume is corrupted or if you are using an imported custom image, proceed to the Recovering the Boot Volume section, which describes how to use a second instance along with standard file system tools to both detect and repair boot volume corruption.
