Ext4 Size Limits

  • Long time lurker but just registered while waiting for parts to arrive for a new build. I am coming from a windows ecosystem and am fairly new to linux in general.
    I have been playing with OMV in a VM and noticed that I was not able to create a ext4 filesystem over 16tb. Now I know that this is a limitation of ext4 but I also have seen a few posts mention using ext4 and LVM to overcome this.


    My question is this; how does using ext4 and LVM work? I know that LVM is a plugin but how does it alone allow ext4 to go bigger than 16tb?


    Thanks

  • You could use a gparted live cd to create the ext4 filesystem. OMV will be able to mount it without problems.


    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!

  • I currently have 11 2tb drives set up in a Raid6 and when ever I attempt to create a ext4 filesystem I keep getting this error:


    Error #6000:
    exception 'OMVException' with message 'Failed to create filesystem. Please check the syslog or '/var/log/openmediavault/omv-initfs@_dev_md0.log' for more details.' in /var/www/openmediavault/rpc/filesystemmgmt.inc:522
    Stack trace:
    #0 [internal function]: FileSystemMgmtRpc->create(Array)
    #1 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('FileSystemMgmt', 'create', Array)
    #3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #4 {main}


    Anyone care to help explain this?

  • As br41n already said, the problem is the e2fsprogs version (1.41) which cannot create Filesystem bigger than 16TiB (?!).
    Grab a gparted LiveCD/USB and format the array from there. OMV will be able to mount it.


    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!

  • I understood what he was saying but I also took it as that e2fsprogs had been updated within OMV. I guess I assumed wrong since I know almost knowing of squeeze and e2fsprogs.


    Thanks

  • Last question regarding the ext4 limits with e2fsprog.


    If one were to continue to grow their array by one HDD at a time until they hit the magic 16tb, what would happen when they tried to grow it? Since there is no support for 16tb plus sizes would it simply not allow it or ?


    Thanks

  • As i remember it wont allow it since it exceeds a limit. Something like it cant be saved in variable with max <length> ...


    Or it will explode ;)



    EDIT:

    Zitat

    resize2fs 1.41.14 (22-Dec-2010)
    resize2fs: New size too large to be expressed in 32 bits

Jetzt mitmachen!

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