notes_brot

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
Next revisionBoth sides next revision
notes_brot [2014/11/19 20:52] brotnotes_brot [2014/12/07 11:04] brot
Line 281: Line 281:
   * mount -o ro /dev/md4 /mnt/raid_datenpartition   * mount -o ro /dev/md4 /mnt/raid_datenpartition
   * cp -av /mnt/raid_datenpartition/Daten /mnt/btrfs-daten-subvol/ | tee cp-log.tee   * cp -av /mnt/raid_datenpartition/Daten /mnt/btrfs-daten-subvol/ | tee cp-log.tee
 +  * 
 +
 +==== Kopieren der Backups ====
 +
 +Problem: btrfs-image-files auf den alten FS. Jetzt: subvolumes auf dem btrfs-fs
 +
 +Lösung: Übertragen aller Snapshots per btrfs send/receive
 +
 +<code bash>
 +nas ~ # for i in $( ls /mnt/current_backup_file/ | grep backup); do btrfs property set -t s /mnt/current_backup_file/$i ro true; done
 +nas ~ # btrfs send -v /mnt/current_backup_file/backup-2011.11.07-22\:43/ | btrfs receive -v /mnt/btrfs-brot-backup-subvol/
 +At subvol /mnt/current_backup_file/backup-2011.11.07-22:43/
 +At subvol backup-2011.11.07-22:43
 +receiving subvol backup-2011.11.07-22:43 uuid=9c52dfc1-499f-9640-a4f9-0f8b89974a61, stransid=0
 +</code>
 +
 +==== Hinzufügen der alten Platten in den BTRFS-Pool ====
 +
 +  * Platte sdc soll dem BTRFS-RAID1 hinzugefügt werden (sda und sdb sind die neuen Platten)
 +  * Degradieren der RAID5s
 +  * Neupartitionieren der Platte
  
  
  • notes_brot.txt
  • Last modified: 2021/01/31 23:04
  • by brot