On Tue, Mar 10, 2020 at 05:57:33AM +0800, 積丹尼 Dan Jacobson wrote:
> Package: e2fsprogs
> Version: 1.45.5-2
> 
> Idea: make a new file
> /usr/share/doc/e2fsprogs/Year2038warnings
> that would say:
> 
> If you get
>  ext4 filesystem being mounted at ... supports timestamps until 2038 
> (0x7fffffff)
> warnings, here is what to do.
> 
> As there is no way to simply "tune" the old filesystem, we must copy the
> files to a new filesystem, and then make the UUID numbers the same (for
> those people who mention them in their fstabs and don't want to have to
> change them on each machine they use.)

Well.... there is in theory a way to adjust a file system using
"tune2s -I 256 /dev/sdXX".  ***However*** this code doesn't get that
much use in real life, and if you crash while you are running, you
could lose all or most of your data in the file system.

So I strongly recommend that you back up your file system first, and
then try to use "tune2fs -I 256" --- and if it works, huzzah!  If it
doesn't at least you had a backup of your file system.

Also note that recreating the file system will result in a better file
system with better performance, so in general it's the better thing to
do.

Finally, realistically speaking most storage media will wear out well
before we get to 2038, so I really would just relax about this whole
thing and chill out.

Cheers,

                                                        - Ted

Reply via email to