Похожие чаты

Wow after further reading: dd is just not suitable for

the job. partclone can only copy partitions but not entire disks..
How is there no tool for such a simple task? D:

10 ответов

12 просмотров

Copying a disk means copying the data, regardless the file system in them There are a lot of tools to do disk images. Your request is not valid, you don't want to copy the unused/free space

Misan- Автор вопроса
Muflone
Copying a disk means copying the data, regardless ...

ok, is there a tool that can turn a disk into an img file ignoring the blank space?

Misan
ok, is there a tool that can turn a disk into an i...

Wrong question again. Fill your unused space with zeroes, then image the disk

Misan- Автор вопроса
Muflone
Wrong question again. Fill your unused space with...

it takes too much time on huge disks. This looks like a non-sensical strategy to me. You pay with I/O and time. There must be a better way. Maybe there is a way to create an img file from cloned partitions.

Misan
it takes too much time on huge disks. This looks l...

To know if the space is needed requires knowing the file system in them, hence clone the file systems

Misan
it takes too much time on huge disks. This looks l...

Guess the filesize, create an image, create btrfs fs with compression (for smaller file size) and rsync the data to it

Misan- Автор вопроса
Martin Rys
Guess the filesize, create an image, create btrfs ...

Sounds similar to this solution: https://serverfault.com/a/785995

What about clonezilla? I think it can do that

Misan
it takes too much time on huge disks. This looks l...

Lots of options - zero the unused space and use dd conv=sparse - mount the partition and copy the files some place else (e.g. a loop device formatted with some FS) - tell the file system on your partition to shrink itself as much as it can and copy the first N bytes of that partition

Похожие вопросы

Обсуждают сегодня

Карта сайта