You are not logged in.

#1 2023-06-21 16:42:54

manouchk
Member
Registered: 2008-07-29
Posts: 313

cloning partition with e2image

Hi,

In order to clone a partition, I followed the instruction found on

https://wiki.archlinux.org/title/Disk_cloning

That is to say:

# e2image -ra -p /dev/sda1 /dev/sdc1

When trying to mount, I got an error: EXT4-fs (sdc1): bad geometry: block count 244190390 exceeds size of device (244190208 blocks).

Is this ok/safe to just resize /dev/sdc1 using resize2fs -f /dev/sdc1?

I just wonder if the wiki should have some warning in order to avoid this kind of problem or if it should/could include the fact that a resizing could be needed?

Offline

Board footer

Powered by FluxBB