Today, Guangzhou Heyuan City Technology inform me that their computer room power down, the database server restarts after the RAC2 host lost data3 data directory; Then, you want to adjust the directory to automatically mount the boot,
The boot is stuck in the following interface:
650) this.width=650; "Src=" http://img.blog.csdn.net/20170907171253070?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd3d3x3h1zv94aq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "width=" "style=" border:0px;vertical-align:middle; "/>
From the error screen, is the boot file system check fsck failed, the problem may be fstab file configuration problems.
So, remote let him enter the host root password to enter the following interface:
650) this.width=650; "Src=" http://img.blog.csdn.net/20170907171440640?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd3d3x3h1zv94aq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "width=" "style=" border:0px;vertical-align:middle; "/>
Then, look at the contents of the/etc/fstab configuration file (mainly to see the configuration of the/dev/mapper/data3 corresponding line)
650) this.width=650; "Src=" http://img.blog.csdn.net/20170907171612858?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd3d3x3h1zv94aq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "width=" "style=" border:0px;vertical-align:middle; "/>
/dev/mapper/data3/orabak EXT4 Defaults 1 2 items from the/etc/fstab profile is the item to perform a boot check, and the host does not complete the reboot, Multipath does not complete the mapping,/DEV/MAPPER/DATA3
Does not exist, causing the fsck check to fail, handled by changing/dev/mapper/data3/orabak EXT4 defaults 1 2 to/dev/mapper/data3/orabak ext4 defaults 0 0 Let/de V/mapper/data3 not
Perform boot check, modify/etc/fstab need to mount/partition again, execute command: Mount-o remount RW/
Then execute: vi/etc/fstab, change 1 2 to 0 0 and exit after saving,
650) this.width=650; "Src=" http://img.blog.csdn.net/20170907172335380?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd3d3x3h1zv94aq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "width=" "style=" border:0px;vertical-align:middle; "/>
Then execute the reboot.
After the machine has been successfully restarted and the/DEV/MAPPER/DATA3 is automatically mounted.
650) this.width=650; "Src=" http://img.blog.csdn.net/20170907172310133?watermark/2/text/ ahr0cdovl2jsb2cuy3nkbi5uzxqvd3d3x3h1zv94aq==/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity/ Center "width=" "style=" border:0px;vertical-align:middle; "/>
This article is from the "Breeze ai ai" blog, please be sure to keep this source http://3596022.blog.51cto.com/3586022/1976242
Improper modification of Linux fstab causes power on fsck to fail and the host cannot restart