On Sun, Nov 22, 2020 at 08:47:33PM -0700, Chris Murphy wrote:
ext4 I think it has some kind of dump facility but the man page for
dumpe2fs doesn't look like it does that. So I'm not sure.
dumpe2fs is for dumping the filesystem information for ext2/3/4. The
package name for the filesystem dump/restore is appropriately named
'dump' and contains a 'dump' and 'restore' executable. The
advantages
of being there before the others. :)
'dump' is probably the most appropriate tool to capture an ext4 volume
to be converted to a thin-provisioned volume. Tar could also work as
long as you capture all the extended (selinux) attributes, which I
don't believe were described in the other post. dump/restore will
only copy the data (and not unused blocks) and it reads the filesystem
directly rather than going through the VFS layer.
--
Jonathan Billings <billings(a)negate.org>