The ext2 filesystem uses 32-bit timestamps and will be unable to
represent timestamps beyond early 2038. It is now deprecated in Linux
for this reason.
As we're generally moving to 64-bit time times in the trixie release, I
think it's time to address this in partman, so far as possible.
Currently many of the partman recipes specify ext2 for the /boot
partition. In some cases I expect that this is necessary due to
limitations of older boot loaders. For mainstream architectures using
GRUB to boot, ext4 can be used for the /boot partition.
Should I start proposing specific changes or does someone else have
time to work on this?
Felix Miata wrote:...
Niltze [Hello], Mr. 'Team OS/2' peer -
Have you considered using JFS for your /boot partition(s)? Just a
suggestion, of course!
Ben Hutchings composed on 2024-11-10 01:50 (UTC+0100):
The ext2 filesystem uses 32-bit timestamps and will be unable to
represent timestamps beyond early 2038. It is now deprecated in Linux
for this reason.
As we're generally moving to 64-bit time times in the trixie release,
I
think it's time to address this in partman, so far as possible.
Currently many of the partman recipes specify ext2 for the /boot
partition. In some cases I expect that this is necessary due to
limitations of older boot loaders. For mainstream architectures using
GRUB to boot, ext4 can be used for the /boot partition.
Should I start proposing specific changes or does someone else have
time to work on this?
Last week I was under a misunderstanding that upgrading EXT2
filesystems to EXT4
would be a satisfactory solution to eventual 64 bit timestamp support necessity,
when it turns out some EXT4 filesystems suffer the same condition. EXT4 supported,
and supports, inode size 128, as does EXT2. I had quite a number of
EXT2, as well
as having EXT4 configured with 128. Only after I managed to get most of
my EXT2s
converted to EXT4 did I discover the 128 byte inodes on those converted
from EXT2
to EXT4 do not support timestamps after January 2038. Furthermore, EXT4 filesystems with feature flex_bg cannot be converted to 256 byte inode
size by
simply using e2fsck and tune2fs. So, all those already converted EXT2s
need
another conversion, /and/ many more than not of my (much large quantity
of) EXT4s
need complete reformats. :(
Simply switching to EXT4 for /boot/ won't go far enough. Small sizes of
those
EXT4s suited to /boot/ use by default feature 128 byte inodes.
Formatting those
may require explicit use of '-I 256', and/or a change to mke2fs.conf to prevent
small EXT4s from misfeaturing 128 byte inodes.
jose.r.r composed on 2024-11-09 19:12 (UTC-0800):Indeed, until a crash leaves your EXT[x-y-z] /boot partition trashed but
Felix Miata wrote:...
Niltze [Hello], Mr. 'Team OS/2' peer -
Have you considered using JFS for your /boot partition(s)? Just a
suggestion, of course!
The "J" in JFS means journal…, correct? My use of EXT2 was intended originally due
to lack of need for journal on small file system with few files, rarely written
to, and infrequently read from.
That situation hasn't materially changed. I'veOS/2 LVM enabled multiple JFS partitions and/or disks to be accessed as
never used JFS on Linux or OS/2.
EXT4 with absent journal and 256 byte inodes will
do for the foreseeable future. :~D
The ext2 filesystem uses 32-bit timestamps and will be unable to
represent timestamps beyond early 2038. It is now deprecated in Linux
for this reason.
As we're generally moving to 64-bit time times in the trixie release, I
think it's time to address this in partman, so far as possible.
Currently many of the partman recipes specify ext2 for the /boot
partition. In some cases I expect that this is necessary due to
limitations of older boot loaders. For mainstream architectures using
GRUB to boot, ext4 can be used for the /boot partition.
Should I start proposing specific changes or does someone else have
time to work on this?
Last week I was under a misunderstanding that upgrading EXT2 filesystems to EXT4
would be a satisfactory solution to eventual 64 bit timestamp support necessity,
Simply switching to EXT4 for /boot/ won't go far enough. Small sizes of those EXT4s suited to /boot/ use by default feature 128 byte inodes. Formatting those
may require explicit use of '-I 256', and/or a change to mke2fs.conf to prevent
small EXT4s from misfeaturing 128 byte inodes.
Hi Ben,
On 10/11/2024 at 01:50, Ben Hutchings wrote:
The ext2 filesystem uses 32-bit timestamps and will be unable to
represent timestamps beyond early 2038. It is now deprecated in Linux
for this reason.
What exactly is deprecated ? The ext2 standalone driver (which is
disabled in Debian kernels), ext2 support in the ext4 driver, or both ?
IIUC 64-bit timestamps require at least 256-byte inodes, and ext2[...]
supports 256-byte inodes. Or am I missing something ?
The ext2 filesystem uses 32-bit timestamps and will be unable to
represent timestamps beyond early 2038. It is now deprecated in Linux
for this reason.
As we're generally moving to 64-bit time times in the trixie release, I
think it's time to address this in partman, so far as possible.
Currently many of the partman recipes specify ext2 for the /boot
partition. In some cases I expect that this is necessary due to
limitations of older boot loaders. For mainstream architectures using
GRUB to boot, ext4 can be used for the /boot partition.
Should I start proposing specific changes or does someone else have
time to work on this?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 236:12:54 |
Calls: | 9,612 |
Files: | 13,686 |
Messages: | 6,155,691 |