Carlos E. R. wrote:
On 2018-05-27 10:48, Peter Suetterlin wrote:
Carlos E. R. wrote:
It also copies the volumes structure?
Yes, of course.
Can this be used to create backups? Or just one backup per disk?
No, it replaces things. The old partition is emptied (likely, only all relevant superblocks are zeroed - I didn't check).
Uh oh... if the procedure fails for some reason, you have neither the initial disk nor the final disk.
I don't think those guys are stupid, and would expect the clearing to be the last step after the new setup is working. But all three times I've done it so far succeeded without issues.
With XFS I can "image" an entire XFS filesystem or partition to a file on another partition, and this image can be used to create a copy of that on another disk later on. The file is a full backup.
I haven't looked for similar things in btrfs so far. The solution seems to be to either play around with seed devices and mirror raid, or use partclone, which is in the OS repos. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org