User Tools

Site Tools


linux:filesystems:brtfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:filesystems:brtfs [2020/08/17 19:15]
tkilla [btrfs RAID]
linux:filesystems:brtfs [2025/01/08 23:53] (current)
tkilla [debug / recovery]
Line 134: Line 134:
  
 1. partition the disc. use sgdisk to copy partition layout: 1. partition the disc. use sgdisk to copy partition layout:
-    sgdisk -R=/dev/sdb /dev/sda +    sgdisk --replicate=/dev/$dest $source 
-    sgdisk --randomize-guids /dev/sdb  # NEW UUIDS! +    sgdisk --randomize-guids /dev/$dest  # NEW UUIDS! 
-    partprobe /dev/sda* /dev/sdb*  #..tell the kernel:+    partprobe /dev/sda* /dev/sdb*  #..tell the kernel: partprobe /dev/sd*
  
-Fix mdadm for /boot and swap partis..+Fix mdadm for /boot and swap partis: https://wiki.fr33.info/doku.php/linux/filesystems/raid?s[]=mdadm
  
 Fix btrfs: Fix btrfs:
Line 156: Line 156:
  
  
 +==== Danger Zone !!:!: ====
 +
 +**These commands may destroy filesystems!1!**
  
 There may be problems, if btrfs runs on top of mdadm raid..maybe.. or maybe the reason is: There may be problems, if btrfs runs on top of mdadm raid..maybe.. or maybe the reason is:
linux/filesystems/brtfs.1597684503.txt.gz ยท Last modified: 2020/08/17 19:15 by tkilla