Killed EXT4 Filesystem any ideas ?

  • Okay, so today I totally screwed ~5TB of data ;( .


    I switched from onboard sata to an IBM1015-IT, which worked fine at first but when I was booting OMV up I noticed some "EXT4-fs..." errors popping up. fsck aborted after ~17% and wanted me to run it manually. I though "let's fix this real quick, can't be that bad right ?"....boy was I wrong.
    After some trial and error getting fsck to run properly I got to the point where it ran out of memory. So I added more RAM and a bigger swapfile and ran fsck again. No luck still not enough memory, at that point I figured I was screwed because I wasn't even able to mount the FS anymore, which worked before even with those errors.


    I don't think there's anything I can do at this point right? I guess I'll have to format and start all over again X( .

  • You could try to use photorec (gparted live, parted magic or so have it onboard) to recover your data onto new drives.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

    • Offizieller Beitrag

    The openmediavault-backup plugin has a photorec tab too.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for the tips. I tried a bunch of things before I gave up, gparted/partedmagic/testdisk all failed to get me even into the filesystem. Didn't know photorec, I'll remember that for next time.
    I decided to start from scratch, good time to test out kralizec too. I was smart enough to fill up my old 2TB drive, with which I started this project with, about a year ago as a cold backup, has been lying around ever since. So I guess i got that going for me.
    I switch to xfs too, I hope it's a bit more stable than ext4. I'm still not sure why the filesystem went bonkers, could be because of power outages, we've had a few of those. Sh*t happens.


    Anyway, whats your strategy in terms of filesystem structure ?
    I've got a raid5 as base and on top of that two logical volumes, one for homedirs and the other for everything else.

  • Why use LVM at all? ^^


    For me this just adds an unneccessary layer of complexity, and doesn't serve any goods in return in a home Environment.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Why use LVM at all? ^^


    For me this just adds an unneccessary layer of complexity, and doesn't serve any goods in return in a home Environment.


    Greetings
    David


    No particular reason. I just liked it. The ability to split and manage your storage with a few clicks is kinda nice. On top of that you could, for example, combine multiple raid arrays to one big storage pool.

    • Offizieller Beitrag

    You can split and manage your storage with shared folders just as easily. If you lost an array for some reason, everything is gone with lvm on top. Not an lvm fan here :)

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Okay, can someone explain this to me?


    I was watching some videos that I copied back to the new filesystem yesterday. They were all skipping and some even restarting for no apparent reason. I tested it from another pc, same thing.
    I had a video file that I downloaded locally which I later renamed and copied to the new filesystem. The local copy played fine, the one on the filesystem did not. I compared MD5 and CRC32 they didn't match. So far so good, could've been a bad transfer or something.
    Then while I was listening to music from the new filesystem I noticed that it started skipping and sometimes it seemed there were parts of other songs mixed in. I compared checksums again, all mismatched. So I though "okay let's try this again". I Deleted the music from the filesystem and copied it back again, checksums were fine. I cleared my playlist, imported the songs again and started listening. After a few minutes it happened again, skipping/parts of other songs. Compared the checksum of the file I had verified before again, mismatch.
    I looked at video files randomly and all had been corrupted to some degree, some restarted after a few seconds others had weird artifacts.


    I've deleted the xfs filesystem again and this time created it via cli after a fresh boot. Copying files back right now, music is fine so far.

  • Problem is still there. Syslog shows a lot of these.


    Rebuilding Raid right now. But I think I might have a damaged drive. The drive in question has a very high "Command timeout" counter. See http://pastebin.com/raw.php?i=JYkWMWed

  • Data corruption is still happening. I've pulled the drive that I think is broken now, it wasn't part of the raid anymore but maybe it still did something weird. I've found an interesting article that describes somewhat what I've been experiencing. https://peterkieser.com/2013/0…-causing-data-corruption/
    I have to do some more testing but right now it looks like it really is a controller problem. Passing through the drives directly would fix this I guess, but then I'd lose SMART data.


    Has anyone tried to install Openmediavault alongside Proxmox ? That would be sweet. I've installed Proxmox-testing on debain wheezy before, the only question is if it would peacefully co-exist with OMV.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!