The Linux kernel Adventures of the MD source code interpretation of 14 RAID5 non-bar readReprint Please specify Source: Http://blog.csdn.net/liumangxiongIf it is read in a non-bar, then at least two bars of reading are involved, it is necessary to read the data separately from the two bars, and then the whole result is returned to the upper layer. Next we will see how to split a complete bio read request into multiple sub-requests to the disk, return
Welcome to use ueditor!
Let's take a look at the whole scene again:
1 Call the Md_wakeup_thread wake main thread when running the array
2 main thread call Md_check_recovery check Sync3) Md_check_recovery function to check the need to synchronize calls Md_register_thread create a sync thread
4 synchronization thread calls the Md_do_sync function to handle the synchronization process
5 Md_do_sync do synchronization process management, step by step synchronization point, record Sync completion
, originally this may be related to the hard disk, that driver 0 is not the hard disk in the BIOS ID number? Is there a problem? The server uses a RAID5 array that has broken a hard drive and can continue to serve. (The server's hardware is compared to the old Powerage 850 's machine)
The next morning came to the office early, the Dell after the After-sale technical support, explained the situation, Dell's technology tells me that it is the array of
[Data recovery failure description]
An HP DL380 G4 server that uses the HP Smart Array controller to mount a homemade disk array consisting of a set of 14 146G SCSI hard drives in a group of RAID5.
Operating system for Linux, built Nfs+ftp, as the company's internal file server use.
Because the room moved, the administrator by the way to clean the machine, to the new room after the line, unable to identify raid, did not initialize.
[Data Recovery
raid is to use bit striping and the current mainstream block striping partition method, the data is distributed to each hard disk, when the hard disk is damaged by the XOR operation, there will be other hard disk parity blocks and data The data blocks of the stripe magnetic region is calculated and reconstructed rebuild.First, RAID 5 Striping Architecture: RAID-5 Striping Mode Second, RAID 5 damaged operation mode: RAID-5 Degraded mode Third, RAID 5 xor recovery: RAID-5 xor Data Recovery
Powering on or restarting the server
When the interface runs to the following figure, press CTRL + H
Enter the interface below and click the Start button
Click the Clear button to erase the previous array
Click the Yes button
Select Configuration Wizard
Click Next button
Continue to the next step
Select the left box, turn on all detected hard drives, and then click Add to array for the right group
Are added to the right, click the Accept DG button
Then click Next
The previous section describes the synchronization functions in RAID5 sync_request potato chips are made by handle_stripe. From the initial creation of the array, to the application of various resources, to build the personality of each array, everything is prepared to meet the data flow. It's like we're cramming for college. The process of data flow is as rich and challenging as a college campus, but as long as it crosses the line, the kernel code wi
New network, Enterprise mail server, stored in the 146gx6 RAID5, there are millions of enterprise users of the mail, data area, only one district, file system for ReiserFS, normal work, RAID suddenly offline, the administrator to the computer room inspection, found two disk alarm, After one of the forced online found that the volume could not mount, so forcibly fsck and Rebuld tree, lasted 4 days, after completion still cannot mount. Unfortunately, mo
[Data Recovery issues]
RAID5 when a hard drive offline, processing degraded state, this time the normal suggestion is to replace the hard disk to do rebuild to restore the complete data status, if there is hot spares, will automatically do rebuild, this is appropriate?
Answer
A set of RAID volumes will rarely read all of the disk space on the physical hard disk after a long period of time, which is even more impossible. In some cases, the hard driv
I haven't updated my blog for a long time. A while ago, I experienced my first job hopping, which is much harder than I thought. After all, it was the first job and it was quite sad to leave. The new job has just begun, and we hope everything will go well. This blog was written during May 1, and is officially posted today. It is a good habit to write a technical blog. I want to keep it!
When I was in the previous job, I always wanted to try Flash/SSD
What is a solid state drive and how long is the SSD life?SSD refers to the use of flash memory chip composed of SSD SSD, is the use of flash flash memory particles as a storage unit, no longer using traditional mechanical storage methods, the use of simulated virtual hard disk access and sectors, etc., can also simply
As SSD How to use? How do you look at 4k alignment?
About as SSD software:
As SSD is a professional SSD (SSD) transmission Speed Test tool, it can not only test the speed of solid-state hard disk reading, but also can detect
SSD provides incredible performance for the storage system, which is 10 times higher than the fastest mechanical hard disk. However, because SSD write performance is affected by block erasure latency, SSD is usually used as a read device. However, this does not mean that SSD does not improve the write performance. In f
What is SSD?
A Solid State Disk (Solid State Disk or Solid State Drive), also known as an electronic hard Disk or Solid State electronic Disk, is a hard Disk consisting of a control unit and a Solid State storage unit (DRAM or FLASH chip. The interface specifications, functions, and usage of SSD are the same as those of common hard disks, and the product shape and size are also the same as those of common h
Years later, the use of their spare time and intermittent will caffe SSD source read, although the middle due to work for a period of time, but finally completed successfully, SSD source reading is also this year's annual plan of the more important one of the content, completed or very fulfilling. after reading the code, one of the biggest experience is that before the paper a lot of confused my details now
Focus on SSDs has been around for some time, the previous few years SSD capacity is small, more importantly, its limited life and expensive prices so that SSD can only be used as a storage area of the accelerated media exist, if anyone who want to use SSD as a disk array, the system is a bit too crazy. As a result, in previous years, both academia and industry ha
PCIe SSD introduction and application (I), pciessd introduction and application
SSD with SATA/SAS interfaces has been available for more than a decade and has been widely used in the personal consumption field. However, its performance still cannot fully meet the high throughput and low latency requirements of enterprise users, A few years ago, the world's first PCIe interface
OSX: it may not be a good idea to enable the ssd trim function.
A long time ago, since people started loading SSD to Mac machines and OSX began to support TRIM, people began to pay attention to enabling the TRIM function of OSX to optimize SSD performance, this is the slowest operation for SSD, especially when there ar
The use case is simple, I want to use both SSD disks and SATA disks within the same machine and ultimately create pools pointing to SSD or SATA disks. in order to achieve our goal, we need to modify the crush map. my example has 2 SATA disks and 2 SSD disks on each host and I have 3 hosts in total.
To revoke strate, please refer to the following picture:
I. Cr
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.