{"id":16876419,"url":"https://github.com/raphaelsc/disk_corruption_reproducer","last_synced_at":"2025-03-19T04:43:22.286Z","repository":{"id":212287796,"uuid":"730965298","full_name":"raphaelsc/disk_corruption_reproducer","owner":"raphaelsc","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-13T12:49:15.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T03:44:30.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphaelsc.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-13T04:09:00.000Z","updated_at":"2024-02-07T14:59:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"99b377bd-6b05-4bd2-b32f-5aa7fb9cbe21","html_url":"https://github.com/raphaelsc/disk_corruption_reproducer","commit_stats":null,"previous_names":["raphaelsc/disk_corruption_reproducer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsc%2Fdisk_corruption_reproducer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsc%2Fdisk_corruption_reproducer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsc%2Fdisk_corruption_reproducer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsc%2Fdisk_corruption_reproducer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaelsc","download_url":"https://codeload.github.com/raphaelsc/disk_corruption_reproducer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244358337,"owners_count":20440355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T15:39:25.164Z","updated_at":"2025-03-19T04:43:22.253Z","avatar_url":"https://github.com/raphaelsc.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Reproducer for corruption, which is currently known to be triggered by interaction of disk writes and discards. \n\nWARNING #1: writes directly into the device, potentially corrupting any file system that lives there.\nWARNING #2: Don't forget to unmount the file system if any, otherwise it can interfere with the reproducer.\n\nTo build, run: make\n\nTo run: sudo ./reproducer.sh (WARNING: don't forget to update WORKING_DEVICE in the script)\n\nIf corruption manifests, this will be dumped\n\n```\nRunning blkx #1 at offset 2G with PID 6816 and writing output at ./blkx1.output\nRunning blkx #2 at offset 5G with PID 6817 and writing output at ./blkx2.output\nBLKX failed; inspect blkx*.output files in /home/support/corruption_reproducer\n```\n\nThen proceed to inspect the log files which will show something as follow if corruption happened:\n\n```\nReading at offset=5799997440, size=131072\nWriting at offset=6322688000, size=131072\nReading at offset=6322688000, size=131072\nWriting at offset=6308896768, size=131072\nReading at offset=6308896768, size=131072\nWriting at offset=5795151872, size=131072\nReading at offset=5795151872, size=131072\nWriting at offset=5668974592, size=131072\nReading at offset=5668974592, size=131072\nFile memory differs at offset=5669064704 ('g' != 'e')\nSome file operations failed\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelsc%2Fdisk_corruption_reproducer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaelsc%2Fdisk_corruption_reproducer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelsc%2Fdisk_corruption_reproducer/lists"}