In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what to do if the host cannot be restarted due to improper modification of Linux fstab". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what to do if the host cannot be restarted due to improper Linux fstab modification"!
Today, the power was cut off in the computer room. After the database server was restarted, the rac2 host lost the data3 data directory. Then, if you want to adjust the directory to boot and mount it automatically, the boot is stuck in the following interface:
From the error interface, the boot file system failed to check fsck, and the problem may be the configuration of fstab files.
So, remotely ask him to enter the host root password to enter the following interface:
Then, check the contents of the / etc/fstab configuration file (mainly to see the configuration of the line corresponding to / dev/mapper/data3)
From the / dev/mapper/data3 / orabak ext4 defaults 12 entry in the / etc/fstab configuration file, it is necessary to perform a boot check, but the host does not complete the restart, multipath does not complete the mapping, / dev/mapper/data3
Does not exist, causing the fsck check to fail. The solution is to change / dev/mapper/data3 / orabak ext4 defaults 1 / 2 to / dev/mapper/data3 / orabak ext4 defaults 0 0 to make / dev/mapper/data3 not available.
Perform boot check, modify / etc/fstab requires re-mount / partition, execute command: mount-o remount rw /
Then execute: vi / etc/fstab, change 1 / 2 to 0, save and exit
Then execute reboot.
After the steps above, the machine is rebooted successfully and / dev/mapper/data3 is mounted automatically.
At this point, I believe that everyone has a deeper understanding of "what to do if the host cannot be restarted due to improper Linux fstab modification". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.