gnuton / asuswrt-merlin.ng

Extends the support of Merlin firmware to more ASUS routers
Other
1.29k stars 75 forks source link

Any way to increase 4tb limit? #613

Closed ajalberd closed 1 week ago

ajalberd commented 1 week ago

Is your feature request related to a problem? Please describe. I love the ability to make a SMB share on the router itself, however my14TB drive cannot mount, seems like a partition limit unfortunately

Describe the solution you'd like Able to export the 14TB drive in router menu

Describe alternatives you've considered n/a :(

Additional context My filesystem has the same attributes of a 4tb one that I CAN mount, making this even stranger.

Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum

image image

ajalberd commented 1 week ago

Got it to work! I formatted using the router's mke2fs -t ext4 -O ^has_journal /dev/sda1

It now has these features:

Filesystem features: ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize

I notice the two missing are 64bit and metadata_csum, but the 4tb one DID have those features, lol. Strange, but I am not a filesystem expert.

gnuton commented 1 week ago

can this be closed?

ajalberd commented 1 week ago

can this be closed?

Sure! I was curious if you had any insight on this one.

gnuton commented 1 week ago

You tried to mount an unsupported filesystem. I am not sure all features are supported by the kernl I should check, but you can disable them with sudo tune2fs -O ^metadata_csum /dev/sdXn Closing this issue since it's invalid. The Kernel supports more than 4GB partitions, the problem here are in the unsupported FS features, which are not gonna be supported unless required. Formatting the disk with the router utility allows 14GB partitions.