Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ A story of file corruption, with a happy ending

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š A story of file corruption, with a happy ending


๐Ÿ’ก Newskategorie: Linux Tipps
๐Ÿ”— Quelle: reddit.com

Ten years ago, I finally set up my first raid. Three Samsung EcoGreen F4 2TB hard drives. I felt real fancy.

I had a bunch of rare, random file corruption. No hard drive errors, no operating system errors, nothing. Just files gone. Seriously demoralizing.

Part of the problem, I realized, to my great horror, is that the default file systems of all operating systems, including ext4, do not include any checksums: There's no way to detect file corruption. So even if I had a backup to restore the corrupted files from, there was no way to find out what files were corrupted.

Six years later, four years ago, I ended up replacing all four of my hard drives, without finding a source of the problem, and the problem went away. Not satisfying.

Fortunately, on linux, there is a well supported file system with checksums all over the place: zfs. It even includes functionality similar to raid5 but better, so you can have a hard drive fail, without losing data. Called raidz1. Which uses one drive for parity, basically another layer of checksums.
On my new drives, I used zfs raidz1.

Recently, I learned raidz1 is not recommended on drives over 1TB, because of the higher chance that when a drive fails, and you replace it, the rebuild will cause a second drive failure. My drives are 3TB, so I'm planning to upgrade to raidz2, which can handle 2 drive failures.

Meanwhile, I decided to copy the 2TB of data I had only on that raidz1 to one of those old drives with the data corruption, using zfs. An unreliable copy, which I can verify, is better than no copy.

During the 6 hour copy, I checked the hard drive for hardware errors with smartctl. It gave me a dire warning. This model of hard drive, when any program, in any operating system, asks what model it is, will give up on any file write it was in the middle of, to answer you. That's bad. How uncommonly bad was this?

The page about the cause of the corruption: https://www.smartmontools.org/wiki/SamsungF4EGBadBlocks

Finally, after all these years, I know the cause of the corruption. I had never been entirely sure it was specific to those hard drives. There is a firmware upgrade to fix it. The program that warned me about the problem also triggered the problem. I wanted to say "unfortunately", but honestly, it was a joy to witness zfs doing its thing, on the same problem that was so traumatizing to me.

After the 6 hour copy, I ran a zpool scrub, which verifies all the checksums in the zfs file system. It also took 6 hours, and told me 11 files were corrupted. I copied those files again from the source. After running another zpool scrub, zpool status is showing no errors.

I upgraded the hard drive's firmware, fixing the corruption problem. It was a dos executable, I used this method: https://wiki.archlinux.org/index.php/Flashing_BIOS_from_Linux#Using_a_FreeDOS-provided_Disk_Image_+_USB_stick_on_Linux

I now have all my files on at least two file systems, and can handle any 2 hard drive failures.
It is so immensely satisfying to finally defeat this demon.

Hard drives fail. Back up your shit. Use a file system with checksums if you can. I'm planning to build a computer out of old parts (primarily with these old 2TB F4EG drives), to finally keep a backup on a different machine. And hopefully keep it at somebody else's house.

I love zfs.

submitted by /u/DarxusC
[link] [comments] ...



๐Ÿ“Œ A story of file corruption, with a happy ending


๐Ÿ“ˆ 43.85 Punkte

๐Ÿ“Œ Alleged Hack of Steam Bitcoin Trader Concludes with a Happy Ending


๐Ÿ“ˆ 27.49 Punkte

๐Ÿ“Œ Dear Edward gets its predictably boring happy ending at last [Apple TV+ recap] โ˜…โ˜†โ˜†โ˜†โ˜†


๐Ÿ“ˆ 27.49 Punkte

๐Ÿ“Œ Alleged Hack of Steam Bitcoin Trader Concludes with a Happy Ending


๐Ÿ“ˆ 27.49 Punkte

๐Ÿ“Œ Happy Ending for Nexus 6P Battery Saga: Google Offers Free Pixel XL Replacement


๐Ÿ“ˆ 27.49 Punkte

๐Ÿ“Œ A never-ending story: Adopting a mainframe growth mindset


๐Ÿ“ˆ 24.27 Punkte

๐Ÿ“Œ Vulnerabilities: The Never-Ending Story


๐Ÿ“ˆ 24.27 Punkte

๐Ÿ“Œ BankBot Returns On Play Store โ€“ A Never Ending Android Malware Story


๐Ÿ“ˆ 24.27 Punkte

๐Ÿ“Œ Russian data hack saga on SolarWinds seems to be a never-ending story


๐Ÿ“ˆ 24.27 Punkte

๐Ÿ“Œ The Arch-Illager's story is ending in Minecraft Dungeons 'Echoing Void' DLC


๐Ÿ“ˆ 24.27 Punkte

๐Ÿ“Œ OpenAI CEO: We're happy if Microsoft makes a sale, and they're happy if we make a sale


๐Ÿ“ˆ 23.94 Punkte

๐Ÿ“Œ Happy 10th anniversary & Kali's story ...so far


๐Ÿ“ˆ 20.72 Punkte

๐Ÿ“Œ h1-ctf: [H1-2006 2020] The Story of Making Bounty Hunters Happy


๐Ÿ“ˆ 20.72 Punkte

๐Ÿ“Œ โ€œSolo: A Star Wars Storyโ€: Han Solos Origin-Story im Kino


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ Ruined King: A League of Legends Story - das Story-basierte Rollenspiel zu LoL


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ Katana Kami โ€“ A Way of the Samurai Story: Rollenspiel ab sofort erhรคltlich โ€“ Ein Story-Trailer zum Launch


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ Gears 5: Update im November macht Dave Bautista zu einer Hauptfigur in der Story - DLC mit neuer Story im Dezember


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ How to Add a Story to your Instagram Story Highlights


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ How to Add a Story to your Instagram Story Highlights


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ Survival game Vintage Story set for a huge update with a big story event


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ How to Add a Story to your Instagram Story Highlights


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ Doom Eternal: "Story"-Trailer ohne viel Story, dafรผr mit viel Action


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ โ€žA Toy Story โ€“ Wo ist Forkyโ€œ: Interaktiver Skill fรผr Amazon Echo zum neuen Toy Story Film verรถffentlicht


๐Ÿ“ˆ 17.5 Punkte

๐Ÿ“Œ A Wet Year Wonโ€™t Beat Californiaโ€™s Never-Ending Drought


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ A Wet Year Wonโ€™t Beat Californiaโ€™s Never-Ending Drought


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Beware bogus โ€˜WhatsApp subscription endingโ€™ emails and texts


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Microsoft Ending Support for Windows 7, 8, & Older Apps in the Microsoft Forums


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Skype Classic Fans Change Microsoft's Mind About Ending Support


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Akamai Boots Krebs From Their Network After Never-Ending DDoS Attack


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Ending The Year With A 650Gbps DDoS Attack


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Galaxy S7 and Galaxy S7 Edge Nougat Beta Program Ending Soon


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Akamai Boots Krebs From Their Network After Never-Ending DDoS Attack


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Ending The Year With A 650Gbps DDoS Attack


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ HHVM ending support for PHP


๐Ÿ“ˆ 15.53 Punkte

๐Ÿ“Œ Microsoft Is Ending Support for Skype Classic on November 1st


๐Ÿ“ˆ 15.53 Punkte











matomo