In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
At 8 o'clock on Saturday, in my dream, a sudden bell broke the stillness of the night sky. Oh, it was not the night sky, it was already bright. When I picked up the phone, I was told that the server could not be connected. It was said that I could not connect when I copied the data to more than 2 o'clock last night. Think that the network problem is not taken seriously, wash your face and brush your teeth for dinner, to the unit at 09:30, a look at the server, immediately dumbfounded! Previous figure:
Quickly report, and then connect the monitor keyboard and mouse, a look at the system, and dumbfounded! What year's system is this! The previous picture: do not move, the crash state, ah, 5 hard drives burst two, it is estimated that the cool. Quickly order two hard drives, the hard disk model shown in the previous picture
And what do you want to do? Frozen like a chicken wood, as quiet as clear. Several colleagues came, asked for instructions to restart the system, has been unable to start, think of how to use the boot CD to restore data, and the management of the server teacher began to work, unable to start. Oh, is the system CD broken?! Build a virtual machine on this machine and use CD-ROMs, no problem. That must be the server CD-ROM drive over. Comrades, do not have a vision for the server CD-ROM drive. Basically, disappointment is greater than hope. Use U disk to start it, make a red flag U disk boot disk, change the startup item, start …... I can't get up. No, no, no. Oh, is it all right? it's too bad. Let's burn incense next week. Dumbfounded again! Begging grandpa everywhere to tell grandma, finally borrowed a Misumi external optical drive, connected to the server, really fuck, u mouth is not enough, then expand it, start, really give face, this time there is no silly, open, Ami TOEFL …...
Enter the system rescue mode, the picture is not on, du Niang's family has many pictures, basically consistent, linux rescue setting language, keyboard, network card, network card should be set carefully, because to get the data away, so … Next, we choose read-only and the system is read-only; you can also run the following command
# mount-o remount,rw /; next, # chroot / mnt/sysimage/, next, get data, many commands don't work well, enable commands, cd, cp-rup, df, fsck, touch, cat, scp-r / home/kkk/ root@172.16.3.112:/home/yyy/, rsync-avz-- progress / home/kkk/ root@172.16.3.112:/home/yyy/ mainly use the last two commands, each has its own advantages. You can also add a & if there are too many files to copy in a day. The data finally came out and it was easy. Comrades can do whatever they have to do. Ha. Oh, yes, I forgot to mention that the model of the HP server is DL380G6 RAID 4-disk raid1+0 and the fifth block is raid0.
Analysis and summary: 1, to pay attention to the hard disk lights, looking back to reflect, the first hard disk light should be damaged, the third lamp means offline degradation, should have different meanings. While the hard disk synchronization is flickering, when the synchronization is completed, it is always bright (the HP server is like this) 2. Should you do other operations when the new hard disk does not arrive, including restarting the server, because this will cause the offline hard disk to reload and synchronize, directly leading to system file corruption. 3. After copying the data files, you can start the computer in rescue mode to repair the Linux system, or you can reinstall the system, but be careful not to destroy the partition and data folder. 4. Compared with Raid1+0, the data security of raid5 is higher, because it is at the expense of disk capacity. 5, different machine backup, say the important question three times.
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.