Inexplicable file system damage

Source: Internet
Author: User
Inexplicable file system damage-Linux Enterprise Application-Linux server application information. The following is a detailed description. I checked the information on the Internet today and suddenly found that I was unable to access the Internet. I logged on to the server and found that the proxy server was stopped. I can't afford to start the service any more. One of them is that my IP address is blocked by the server. However, telnet to 212 from another machine cannot start the service, which makes me wonder. It was strange that the file could not be found when I restarted the service. So I switched to the/etc directory, but ls found that there was no file in the entire directory. No wonder the Service could not start. And cd to the root directory, there is no file. Only the/home directory contains a few files. Even vi and cat are useless. For the first time, this strange phenomenon occurs, just as someone uses "rm-rf *" in the root directory *".

Perhaps the biggest mistake is to restart the machine, which is forced to restart, but always "kernel panic ". In fact, this should have been expected. The file system cannot see any files. How can the system start! Use the emergency boot disk to check the partition. The file system of the root partition has been damaged and the super block has been damaged. In desperation, you can only use live cd to back up the files in the remaining/home to another machine, and then reinstall the system.

This article is intended to be used as a lesson. In fact, in this case, you should not restart it immediately, but carefully look for a record that may find this "destructive operation.

1. utmp and wtmp log files are the key to most Linux Log systems. They keep records of user logon and exit. Utmp records the information of the currently logged-on user. You can use the who, w, users, and finger commands to view the information. wtmp records logon and exit records, data exchange, shutdown, and restart information. You can use last, ac view.

2. system events recorded through syslogd are generally stored in the/var/log directory and need to be learned with the/etc/syslog. conf file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.