16TB / ext4 problem - not sure what to do now

  • I started to post in this thread about the problems I was having after I grew my array to 18TB. The array gew fine, but the resize command would not work for my filesystem. Using (livecd) gparted/part magic did not work, as gparted found problems with the partition (though OMV showed no issues). I figured I would make a new thread to discuss solutions to this problem.


    [solved] Resize doesn't work


    I attempted to run a gparted 'check' on the partition to resolve any problems, but it eventually crashes (I watched it keep coming up with 'short reads' while reading journal superblock) when trying to do something to the partition. Eventually all these error messages caused the GUI to crash.


    I killed gparted, rebooted (fsck ran) and all is OK.


    I do not believe I can use gparted to resize my filesystem. What are my options now?

    Is it possible to convert to another file system that will support 16TB (I do not have the extra drives to temporarily store this data (~12TB)).


    Can I shrink the array to 15GB? (I am using 8x3TB drives, RAID-6. With 6x3TB I had 12GB, was trying to grow to ~18GB).


    Any options that you can think of where I can use the full size of this array (8x3TB?)


    Edit - I found this.. fstransform, anyone familiar with it? - http://sourceforge.net/projects/fstransform/

  • I have a plan..

    • I've ordered 2x 5TB USB3 external drives which I will use to backup the data.
    • I will then delete the current ext4 file system, and re-create a new filesystem using XFS extending to the full 18TB.
    • Then I plan on copying the data back to the new XFS file system.


    Assumptions

    • The latest stable build of OMV can create and properly operate an XFS file system (I plan on verifying that on a virtual PC).
    • Samba can provide shares and properly operate on an XFS file system (need to verify again with virtual pc)

    If anyone has any suggestions or trips around doing this, I would appreciate it! I plan on taking screenshots of all the samba/shares, etc.. so I can re-create them as they were (perhaps I can just copy and save smb.conf?).

  • I use XFS just fine, with a 15/12TB array.


    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!

  • Thanks! Just a though though.. If I wipe the OS, install Wheezy, install Krazilec (sp?), when I create the new file system, I should be able to use etx4 to create a file system larger than 16TB, right? I'm questioning the need for XFS if I use a Wheezy base install..

  • Yes, you should able to do that.


    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!

  • Thanks! I'll give that a try, and if it fails for some reason, use XFS as a backup. I like what I've ready about XFS and think it might be a better match for HTPC / streaming video than EXT4, but the lack of robust tools like fsck for it concern me. I think the real bottleneck for any HTPC /streaming video operations is wifi transfer anyway.

    • Offizieller Beitrag

    xfs has fsck. Maybe you don't have xfsprogs installed??

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • Zitat

    xfs has fsck. Maybe you don't have xfsprogs installed??


    Thanks! I have not even tried XFS yet, this was just from research I had done comparing EXT4 and XFS. A consistent comment seemed to be that the support tools for XFS were not as mature or robust as the equivalent tools for EXT4. Perhaps I was reading outdated information.

    • Offizieller Beitrag

    Must be outdated. xfs has been around for a long time (created by SGI if I remember correctly). I use it on plenty of systems and it works well.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    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!

  • So upgraded today from 0.5.59(64bit) to Kralizec(1.0.21)64bit expecting to increase ext4 RAID size as was limit to 16TB. But still can't increase raid size.
    Its saying


    Code
    resize2fs /dev/md127
    resize2fs: New size too large to be expressed in 32 bits


    Any ideas? Thanks

    • Offizieller Beitrag

    I would try booting systemrescuecd or gparted-live to increase the size. Your current array must have a 32 bit superblock. I don't know how to convert to 64 bit.

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    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!

Jetzt mitmachen!

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