public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* packed_meta_blocks=1 incompatible with resize2fs?
@ 2023-06-26  9:15 Roberto Ragusa
  2023-06-27  8:35 ` Roberto Ragusa
  2023-06-28  0:03 ` Theodore Ts'o
  0 siblings, 2 replies; 6+ messages in thread
From: Roberto Ragusa @ 2023-06-26  9:15 UTC (permalink / raw)
  To: linux-ext4@vger.kernel.org

Hi,

by using

mkfs.ext4 -E packed_meta_blocks=1

all the fs metadata is placed at the start of the disk.
Unfortunately I have not found a way to enlarge the fs
and maintain this property, new metadata is allocated from the
added space.

My attempts to work around the issue have failed:
- adding resize=4290772992 in mkfs doesn't help
- creating a bigger fs with packed_meta_blocks, then shrinking it,
then re-extending it to the original size still allocates from the
new space

Is there a way to have metadata at the beginning of the disk
and be able to enlarge the fs later?
Planning to do this on big filesystems, placing the initial part
on SSD extents; reformat+copy is not an option.

This mailing list appears the best place to ask, sorry if this is
considered off topic.
Thanks.

-- 
    Roberto Ragusa    mail at robertoragusa.it

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-28 21:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-26  9:15 packed_meta_blocks=1 incompatible with resize2fs? Roberto Ragusa
2023-06-27  8:35 ` Roberto Ragusa
2023-06-28  0:03 ` Theodore Ts'o
2023-06-28 14:35   ` Roberto Ragusa
2023-06-28 15:44     ` Theodore Ts'o
2023-06-28 21:41   ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox