Op zondag 23 juli 2017 16:13:50 CEST schreef Carlos E. R.:
On 2017-07-23 15:51, Richard Brown wrote:
On 23 July 2017 at 15:45, Carlos E. R.
wrote: As on my computer the Leap partition 42.1 was broken, I want to clone Leap 42.3 from the other disk. On my pc I have installed Leap 42.2, so no hard disk needs to be mounted, both the source and the destination to clone Leap 42.3.
¿Which is the better way?
There is no good way to clone a btrfs root partition. Better install again.
Carlos, please don't be so inaccurate with your statements when someone is legitimately asking for help
To my knowledge, there is no way to clone a btrfs filesystem. You have to format and manually create the volumes and subvolumes, and there is no listing of which they are on each openSUSE release. The question has been asked several times, and none has answered it adequately.
My answer, to my knowledge, is perfectly accurate. It is not the first time I have made the same answer and none has yet proposed a better method during the years.
Juan, you can use btrfs send and receive to clone a system to another disk.
https://www.suse.com/documentation/sles-12/stor_admin/data/sec_filesystems _major_btrfs.html This does not explain how to clone a btrfs filesystem from scratch. The word "clone" does not even exist in the entire page. It only explains how to copy the files and keep them in sync.
Guess you misread, it makes a copy of the filesystem "Btrfs send/receive Btrfs allows to make snapshots to capture the state of the file system. Snapper, for example, uses this feature to create snapshots before and after system changes, allowing a rollback. However, together with the send/receive feature, snapshots can also be used to create and maintain copies of a file system in a remote location. This feature can, for example, be used to do incremental backups." i.e. have a backup system ready all the time. Nice, very nice, didn't know this feature. -- Gertjan Lettink, a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org