For a simple transfer of /home to another disk i use
cp -a that seems to me an extremely slow way. Should like know a more efficient way to complete the task. I have /home mounted as logical volume, but the target disk is not an LVM system
In any case, those will not have the limitation of
For ext4 and if you're copying onto a partition that is at least as large as the source, see also
partclone generalises that to a few different file systems.
Now a few things to take into consideration when cloning a file system.
Cloning would be copying all the directories, files and their contents... and everything else. Now the everything else varies from file system to file systems. Even if we only consider the common features of traditional Unix file systems, we have to consider:
Then if you consider
Not all tools support all of those, or when they do, you have to enable it explicitly like the
You may also have to consider attributes of the file system themselves like the UUID, the reserved space for root, the fsck frequency, the journalling behavior, format of directories...
Then there are more complex file systems, where you can't really copy the data by copying files. Consider for example
The byte to byte copy of the block device (or at least of the allocate blocks when possible) is often the safest if you want to make sure that you copy everything. But beware of the UUID clash problem, and that implies you're copying onto something larger (though you could resize a snapshot copy of the source before copying).
I recommend rsync, for example:
Or, to transfer with compression: