Change from one ssd to another

Hello all

I have my opensuse installed on my dev/nvme0n1. I now have a bigger nvme1n1 ssd drive.
Having read that using dd or clonezilla doesn’t work for btrfs.
However, I can’t seem to find a guide that has the example of moving my whole drive over, including boot partitions etc.
The thing I have found are some man pages and guides using btrfs replace to swap one disk for another - no mentions of boot partitions.

Should I first complete btrfs replace to the new drive and then use clonezilla for the other partitions? Will that work? Should I inverse the order?

Thank you all in advance.

@rafgas:

Please take note of the “btrfs-replace” man page.
Also the openSUSE Btrfs SDB, especially with respect to the section “How to manually re-install grub on opensuse/btrfs” – <https://en.opensuse.org/SDB:BTRFS>.

Whether or not, the “Btrfs Replace” is best performed from the Rescue System booted from a stand-alone Installation .ISO is a moot point.

  • There is advice on the network, recommending that, first a Snapshot should be taken and then, the Snapshot is replaced to the new disk.
  • Don’t forget to create a Swap partition on the new device and, other partitions if you wish to have a “System-Only” Btrfs partition and, a separate partition of partitions for non-system directories …

Great, thanks!

So to be sure :

  1. Create new snapshot - then run btrfs replace on my running system to the new device
  2. Create swap and clone boot partitions.
  3. Boot into new drive and clean out old drive? (with the backup solution of manually re-installing grub as talked about in the link above)

Would that be correct?

I suspect that, it may well be correct – there is Btrfs documentation which claims that, Btrfs Replace can be performed on a live partition but,

  • I’m still suspicious and mistrustful of live system partitions …
  • I suspect that, performing the Replace with an offline system partition will be more reliable …