Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
notes_brot [2014/11/19 20:52] – brot | notes_brot [2014/12/07 11:04] – brot | ||
---|---|---|---|
Line 281: | Line 281: | ||
* mount -o ro /dev/md4 / | * mount -o ro /dev/md4 / | ||
* cp -av / | * cp -av / | ||
+ | * | ||
+ | |||
+ | ==== 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/ | ||
+ | |||
+ | <code bash> | ||
+ | nas ~ # for i in $( ls / | ||
+ | nas ~ # btrfs send -v / | ||
+ | At subvol / | ||
+ | At subvol backup-2011.11.07-22: | ||
+ | receiving subvol backup-2011.11.07-22: | ||
+ | </ | ||
+ | |||
+ | ==== 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 | ||