Data scrubbing

Data scrubbing is an error correction technique that uses a background task to periodically inspect main memory or storage for errors, then corrects detected errors using redundant data in the form of different checksums or copies of data. Data scrubbing reduces the likelihood that single correctable errors will accumulate, leading to reduced risks of uncorrectable errors.

Data integrity is a high-priority concern in writing, reading, storage, transmission, or processing of data in computer operating systems and in computer storage and data transmission systems. However, only a few of the currently existing and used file systems provide sufficient protection against data corruption.[1][2][3]

To address this issue, data scrubbing provides routine checks of all inconsistencies in data and, in general, prevention of hardware or software failure. This "scrubbing" feature occurs commonly in memory, disk arrays, file systems, or FPGAs as a mechanism of error detection and correction.[4][5][6]

RAID

With data scrubbing, a RAID controller may periodically read all hard disk drives in a RAID array and check for defective blocks before applications might actually access them. This reduces the probability of silent data corruption and data loss due to bit-level errors.[7]

In Dell PowerEdge RAID environments, a feature called "patrol read" can perform data scrubbing and preventive maintenance.[8]

In OpenBSD, the bioctl(8) utility allows the system administrator to control these patrol reads through the BIOCPATROL ioctl on the /dev/bio pseudo-device; as of 2019, this functionality is supported in some device drivers for LSI Logic and Dell controllers — this includes mfi(4) since OpenBSD 5.8 (2015) and mfii(4) since OpenBSD 6.4 (2018).[9][10]

In FreeBSD and DragonFly BSD, patrol can be controlled through a RAID controller-specific utility mfiutil(8) since FreeBSD 8.0 (2009) and 7.3 (2010).[11] The implementation from FreeBSD was used by the OpenBSD developers for adding patrol support to their generic bio(4) framework and the bioctl utility, without a need for a separate controller-specific utility.

In NetBSD in 2008, the bio(4) framework from OpenBSD was extended to feature support for consistency checks, which was implemented for /dev/bio pseudo-device under BIOCSETSTATE ioctl command, with the options being start and stop (BIOC_SSCHECKSTART_VOL and BIOC_SSCHECKSTOP_VOL, respectively); this is supported only by a single driver as of 2019 — arcmsr(4).[12]

Linux MD RAID, as a software RAID implementation, makes data consistency checks available and provides automated repairing of detected data inconsistencies. Such procedures are usually performed by setting up a weekly cron job. Maintenance is performed by issuing operations check, repair, or idle to each of the examined MD devices. Statuses of all performed operations, as well as general RAID statuses, are always available.[13][14][15]

File systems

Btrfs

As a copy-on-write (CoW) file system for Linux, Btrfs provides fault isolation, corruption detection and correction, and file-system scrubbing. If the file system detects a checksum mismatch while reading a block, it first tries to obtain (or create) a good copy of this block from another device – if its internal mirroring or RAID techniques are in use.[16]

Btrfs can initiate an online check of the entire file system by triggering a file system scrub job that is performed in the background. The scrub job scans the entire file system for integrity and automatically attempts to report and repair any bad blocks it finds along the way.[17][18]

ZFS

The features of ZFS, which is a combined file system and logical volume manager, include the verification against data corruption modes, continuous integrity checking, and automatic repair. Sun Microsystems designed ZFS from the ground up with a focus on data integrity and to protect the data on disks against issues such as disk firmware bugs and ghost writes.[failed verification][19]

ZFS provides a repair utility called scrub that examines and repairs silent data corruption caused by data rot and other problems.

Memory

Due to the high integration density of contemporary computer memory chips, the individual memory cell structures became small enough to be vulnerable to cosmic rays and/or alpha particle emission. The errors caused by these phenomena are called soft errors. This can be a problem for DRAM- and SRAM-based memories.

Memory scrubbing does error-detection and correction of bit errors in computer RAM by using ECC memory, other copies of the data, or other error-correction codes.

FPGA

Scrubbing is a technique used to reprogram an FPGA. It can be used periodically to avoid the accumulation of errors without the need to find one in the configuration bitstream, thus simplifying the design.

Numerous approaches can be taken with respect to scrubbing, from simply reprogramming the FPGA to partial reconfiguration. The simplest method of scrubbing is to completely reprogram the FPGA at some periodic rate (typically 1/10 the calculated upset rate). However, the FPGA is not operational during that reprogram time, on the order of micro to milliseconds. For situations that cannot tolerate that type of interruption, partial reconfiguration is available. This technique allows the FPGA to be reprogrammed while still operational.[20]

See also

References

  1. ^ "Checking ZFS File System Integrity". Oracle Solaris ZFS Administration Guide. Oracle. Archived from the original on 31 January 2013. Retrieved 25 November 2012.
  2. ^ Vijayan Prabhakaran (2006). "IRON FILE SYSTEMS" (PDF). Doctor of Philosophy in Computer Sciences. University of Wisconsin-Madison. Archived (PDF) from the original on 29 April 2011. Retrieved 9 June 2012.
  3. ^ Andrew Krioukov; Lakshmi N. Bairavasundaram; Garth R. Goodson; Kiran Srinivasan; Randy Thelen; Andrea C. Arpaci-Dusseau; Remzi H. Arpaci-Dusseau (2008). "Parity Lost and Parity Regained". In Mary Baker; Erik Riedel (eds.). FAST'08: Proceedings of the 6th USENIX Conference on File and Storage Technologies. Archived from the original on 2020-08-26. Retrieved 2021-05-28.
  4. ^ "An Analysis of Data Corruption in the Storage Stack" (PDF). Archived (PDF) from the original on 2010-06-15. Retrieved 2012-11-26.
  5. ^ "Impact of Disk Corruption on Open-Source DBMS" (PDF). Archived (PDF) from the original on 2010-06-15. Retrieved 2012-11-26.
  6. ^ "Baarf.com". Baarf.com. Archived from the original on November 5, 2011. Retrieved November 4, 2011.
  7. ^ Ulf Troppens, Wolfgang Mueller-Friedt, Rainer Erkens, Rainer Wolafka, Nils Haustein. Storage Networks Explained: Basics and Application of Fibre Channel SAN, NAS, ISCSI, InfiniBand and FCoE. John Wiley and Sons, 2009. p.39
  8. ^ "About PERC 6 and CERC 6i Controllers". Archived from the original on 2013-05-29. Retrieved 2013-06-20. The Patrol Read feature is designed as a preventative measure to ensure physical disk health and data integrity. Patrol Read scans for and resolves potential problems on configured physical disks.
  9. ^ "/sys/dev/ic/mfi.c — LSI Logic & Dell MegaRAID SAS RAID controller". BSD Cross Reference. OpenBSD.
  10. ^ "/sys/dev/pci/mfii.c — LSI Logic MegaRAID SAS Fusion RAID controller". BSD Cross Reference. OpenBSD.
  11. ^ "mfiutil — Utility for managing LSI MegaRAID SAS controllers". BSD Cross Reference. FreeBSD.
  12. ^ "sys/dev/pci/arcmsr.c — Areca Technology Corporation SATA/SAS RAID controller". BSD Cross Reference. NetBSD.
  13. ^ "RAID Administration". kernel.org. Archived from the original on 2013-09-21. Retrieved 2013-09-20.
  14. ^ "Software RAID and LVM: Data scrubbing". archlinux.org. Archived from the original on 2013-09-21. Retrieved 2013-09-20.
  15. ^ "Linux kernel documentation: Documentation/md.txt". kernel.org. Archived from the original on 2013-09-21. Retrieved 2013-09-20.
  16. ^ "btrfs Wiki: Features". The btrfs Project. Archived from the original on 2012-04-25. Retrieved 2013-09-20.
  17. ^ Bierman, Margaret; Grimmer, Lenz (August 2012). "How I Use the Advanced Capabilities of Btrfs". Archived from the original on 2014-01-02. Retrieved 2013-09-20.
  18. ^ Coekaerts, Wim (2011-09-28). "btrfs scrub – go fix corruptions with mirror copies please!". Archived from the original on 2013-09-21. Retrieved 2013-09-20.
  19. ^ Bonwick, Jeff (2005-12-08). "ZFS End-to-End Data Integrity". Archived from the original on 2017-05-06. Retrieved 2013-09-19.
  20. ^ "Xcell journal, issue 50" (PDF). FPGAs on Mars. Xilinx. 2004. p. 9. Archived (PDF) from the original on 2019-08-30. Retrieved 2013-10-16.

Read other articles:

Feliks Yusupov dan Irina Aleksandrovna, 1913 Pangeran Feliks Feliksovich Yusupov (bahasa Rusia: Фéликс Фéликсович Юсýпов; 23 Maret 1887 – 27 Juli 1967), Pangeran Yusupov dan Graf Sumarokov-Elston (bahasa Rusia: Юсýпов и Граф Сумакóров-Эльстон) ialah seorang bangsawan Kekaisaran Rusia yang dikenal akan keikutsertaannya dalam pembunuhan Grigori Yefimovich Rasputin. Kehidupan Yusupov adalah putra dari Feliks Feliksovich Sumarokov-E...

 

Pemukiman di Edinburgh of the Seven Seas. Lokasi Edinburgh of the Seven Seas dengan pulau-pulau disekitarnya di Tristan da Cunha. Edinburgh of the Seven Seas adalah ibu kota dari kepulauan Tristan da Cunha, bagian dari Saint Helena, Ascension, dan Tristan da Cunha, wilayah seberang laut Britania Raya di Samudra Atlantik Selatan. Penduduknya berjumlah lebih dari 200 orang. Pranala luar Description of the settlement Information from the Tristan da Cunha Association Diarsipkan 2009-04-22 di Wayb...

 

Ilustrasi Balder. Balder (bahasa Norwegia kuno: Baldr, bahasa Islandia dan Faroe: Baldur, bahasa Norwegia modern, Swedia, Denmark adalah Baldr) adalah Dewa kedamaian, keindahan, kegembiraan, dan kesucian dalam Mitologi Nordik Dia adalah putera kedua Odin. Istrinya Nanna dan putranya bernama Forseti. Balder memiliki kapal terbesar yang pernah dibuat, bernama Hringhorni, dan sebuah balairung yang bernama Breidablik. Ia mati karena ulah Loki yang memperdaya Hodhr. Lihat pula Æsir Vanir lbsMitol...

  لمعانٍ أخرى، طالع المحرم (توضيح).   هذه المقالة عن شهر محرم الهجري. لمعانٍ أخرى، طالع محرم (توضيح). <<محرم - 1445 هـ>>السبتالأحدالاثنينالثلاثاءالأربعاءالخميسالجمعة2715 يوليو 2023 2816 يوليو 2023 2917 يوليو 2023 3018 يوليو 2023 119 يوليو 2023 220 يوليو 2023 321 يوليو 2023 422 يوليو 2023 523 يول...

 

العلاقات البوليفية الميانمارية بوليفيا ميانمار   بوليفيا   ميانمار تعديل مصدري - تعديل   العلاقات البوليفية الميانمارية هي العلاقات الثنائية التي تجمع بين بوليفيا وميانمار.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: و�...

 

Italian freestyle skier Silvia MarciandiPersonal informationNationalityItalianBorn (1963-05-13) 13 May 1963 (age 60)Aosta, ItalySportCountryItalySportFreestyle skiing Medal record Women’s freestyle skiing Representing  Italy World Championships 1986 Tignes Moguls 1986 Tignes Combined Silvia Marciandi (born 13 May 1963) is an Italian freestyle skier. She was born in Aosta. She competed in the 1992 Winter Olympics in Albertville, and at the 1994 Winter Olympics in Lillehammer, in wo...

Ne doit pas être confondu avec Hiérapolis. Manbij (ar) منبج Administration Pays Syrie Gouvernorat Alep Démographie Population 74 575 hab. (2009) Géographie Coordonnées 36° 31′ 36″ nord, 37° 57′ 23″ est Altitude 465 m Localisation Géolocalisation sur la carte : Syrie Manbij modifier  Manbij, Manbidj ou Minbej (en arabe : منبج; Adyghe: Mumbuj; Syriaque: ܡܒܘܓ), est une ville syrienne du gouvernorat d'Alep, c...

 

Coppa del Re 1922Campionato di Spagna 1922 Competizione Copa del Rey Sport Calcio Edizione 22ª Organizzatore RFEF Date 12 marzo 1922 - 14 maggio 1922 Luogo  Spagna Partecipanti 8 Formula Torneo a eliminazione diretta Risultati Vincitore  Barcellona(5º titolo) Secondo  Real Unión Statistiche Incontri disputati 17 Gol segnati 78 (4,59 per incontro) Cronologia della competizione 1921 1923 Manuale La Copa del Rey 1922 fu la 22ª edizione della Coppa del Re. Il torneo inizi...

 

English physical chemist (1874–1936) Thomas Martin LowryLowry, c. 1910Born(1874-10-26)26 October 1874Low Moor, Bradford, UKDied2 November 1936(1936-11-02) (aged 62)Cambridge, UKNationalityBritishKnown forBrønsted–Lowry acid–base theoryAwardsFellow of the Royal Society[1]Scientific careerFieldsPhysical chemistryDoctoral advisorHenry Edward Armstrong Martin Lowry Thomas Martin Lowry CBE FRS[1] (/ˈlaʊri/; 26 October 1874 – 2 November 1936) was an English ...

Americans of Peruvian birth or descent Peruvian AmericansPeruanoestadounidensesPeruvian Ancestry by stateTotal population720,626 (2021)[1][2] 0.21% of the U.S. population (2018)[1]Regions with significant populations New Jersey New York City Miami Greater Houston Greater Los Angeles Washington Metropolitan Area San Francisco Bay Area LanguagesAmerican EnglishPeruvian SpanishQuechuaReligionMajor Roman CatholicismRelated ethnic groupsPeruvians, Ecuadorian Americans, Colo...

 

Ponte NuovoLocalizzazioneStato Italia CittàVerona AttraversaAdige Coordinate45°26′33.5″N 11°00′05.5″E / 45.442639°N 11.001528°E45.442639; 11.001528Coordinate: 45°26′33.5″N 11°00′05.5″E / 45.442639°N 11.001528°E45.442639; 11.001528 Dati tecniciTipoponte ad arco Lunghezza97 m Mappa di localizzazione Modifica dati su Wikidata · Manuale Il ponte Nuovo è un'opera infrastrutturale situata a Verona lungo il fiume Adige. Indice 1 St...

 

38°15′19.26″N 85°42′56.86″W / 38.2553500°N 85.7157944°W / 38.2553500; -85.7157944 United States historic placeClifton Historic DistrictU.S. National Register of Historic PlacesU.S. Historic district Frankfort Ave in CliftonShow map of KentuckyShow map of the United StatesLocationRoughly bounded by Brownsboro Rd., William and E. Main Sts., Frankfort and N. Ewing Aves., Louisville, KentuckyArea169 acres (68 ha)Built1870Architectural styleItalianate...

District of Hawaii County, Hawaii, US Kaʻū district highlighted Kaʻū is the southernmost and largest district (922 sq. miles or 2,388 km2)[1] of Hawaii County, Hawaii, located on the island of Hawaiʻi. Kaʻū was one of the six original districts of ancient Hawaii on the island, known as moku.[2] It includes the areas of South Point (Ka Lae), Hawaiian Ocean View Estates (HOVE), Hawaiian Ocean View Ranchos (HOVR), now together known as Ocean View, Nīnole, Waiʻōhinu, Na�...

 

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)&#...

 

Google Cardboard assemblé Le Google Cardboard est un casque de réalité virtuelle fonctionnant à l'aide d'un smartphone compatible. Il fut développé par Google et lancé en 2014. Le masque permet principalement de visualiser des images de réalité virtuelle générées par des applications spécifiques ainsi que des vidéos et prises de vues en 360 degrés. Historique Le Google Cardboard est à l'origine l'idée de deux Français[1] : David Coz et Damien Henry, salariés au Google ...

American judge and lawyer For his son, a prominent New York attorney, see Charles A. Peabody Jr.Charles Augustus PeabodyJudge of the United States Provisional Court for the State of LouisianaIn office1863–1865 Personal detailsBornJuly 10, 1814Sandwich, New HampshireDiedJuly 3, 1901New York City, New YorkEducationHarvard CollegeAlma materHarvard Law SchoolProfessionAttorney, Judge Charles Augustus Peabody (born July 10, 1814 – July 3, 1901) was a prominent New York attorney and a judge of ...

 

كتاب الإيمان الإيمان الكبير صورة غلاف كتاب الإيمان معلومات الكتاب المؤلف ابن تيمية اللغة العربية الناشر دار العاصمة تاريخ النشر 2013 السلسلة مجموع الفتاوى الموضوع عقيدة إسلامية الفريق المحقق الشبراوي بن أبي المعاطي المصري المواقع جود ريدز صفحة الكتاب على جود ريدز ويكي مص�...

 

Військово-музичне управління Збройних сил України Тип військове формуванняЗасновано 1992Країна  Україна Емблема управління Військово-музичне управління Збройних сил України — структурний підрозділ Генерального штабу Збройних сил України призначений для планува...

Kerajaan Buyeo부여(夫餘)2 SM–494 MIbu kotaTak diketahuiBahasa yang umum digunakanBuyeoAgama Shamanisme KoreaPemerintahanMonarkiRaja • 239 SM? - SM BCE? Suku Yemaek• ? - 494 M Raja Buyeo Era SejarahKuno• Didirikan 2 SM• Dibubarkan 494 M Didahului oleh Digantikan oleh Gojoseon Goguryeo Baekje Malgal Sekarang bagian dari Tiongkok Sunting kotak info • Lihat • BicaraBantuan penggunaan templat ini Bagian dari seri mengenai Sejarah Korea...

 

This article relies largely or entirely on a single source. Relevant discussion may be found on the talk page. Please help improve this article by introducing citations to additional sources.Find sources: Capital commitment – news · newspapers · books · scholar · JSTOR (February 2020)This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged an...