On 11/19/2013 07:40 PM, Zachary Kotlarek wrote:
> —
> Would there be any interest in a patch to make the resize operation 
> immediately fail when newSize>  32 TB, rather than failing after breaking the 
> on-disk structures? I’m not well versed in the JFS codebase but it seems like 
> a pretty straightforward change that would users people a lot of pain, so I’d 
> be willing to take a look at it if it’s something that might actually get 
> into the mainline code.
>
>       Zach

I knew about all the > 32 TiB isues because the userland utilities did 
not even use to support creating working file-systems > 32 TiB in size 
until I bugged the devs in they fixed it. Since I knew the userland 
utliities had to be 'fixed' to support > 32 TiB (I think I tested up to 
512 TiB with loopback) I did not trust resizes > 32 TiB.

Now the problem with making the resize operation fail is that is the 
linux kernel code not the userland code so even if you do get that 
change in there are still going to be a ton of people affected by it 
except people running newer kernels or with that change backported 
(which a lot of people probably would not bother back-porting JFS 
stuff). Honestly it seems like people using > 32 TiB are very few and 
far between on JFS so its not very likely to affect many people.

I finally did switch to XFS after a lot of years of JFS. Honestly I am 
quite annoyed with XFS's issues as it uses 64-bit inodes. Unfortunately 
XFS (for some reason?) has no option to use 32-bit inodes and still 
allocate their position on the disk > 1 TiB barrier so basically on XFS 
it is very likely you will run out if inodes at some point unless you 
use inode64.  Well inode64 breaks compatibility with *a lot* of 32-bit 
programs.  For someone like me who runs games and stuff it kinda sucks 
because I can't store any of the games on my inode-64 mounted volumes 
which is very annoying.

I know ext4's userland utilities onl fairly recently (like within 2 
years I want to say) finally support >16 TiB file-systems and ext4 seems 
to have a lot of bugs so I would honestly steer very clear of ext4 and 
use XFS if your considering switching.  JFS still has a strong place in 
my heart though and I still use it on some of my smaller file-systems.

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to