Hello,
I've an existing Debian 9/stretch installation that I'd like to migrate to a raid 1 setup.
I've search around but most of the how to's I've found seem to be a bit dated.
Anyone got a link to a more recent one ?
I'm pretty new to this.
Thanks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
migrating existing Debian stretch to raid 1
-
- df -h | grep > 20TiB
- Posts: 1418
- Joined: 2012-10-06 05:31
- Location: /dev/chair
- Has thanked: 80 times
- Been thanked: 191 times
Re: migrating existing Debian stretch to raid 1
The Arch Wiki looks about right. The grub hand-editing can be ignored, just install to both member disks & update-grub. Check that the rootfs uuid is right in grub.cfg, if you use them.
make degraded array(s)
copy system
chroot in
install grub
rebuild initramfs
update fstab
reboot
add old disk.
Same as it ever was...
Everything up until the last step is easily reversible, but you have backups already, right?
make degraded array(s)
copy system
chroot in
install grub
rebuild initramfs
update fstab
reboot
add old disk.
Same as it ever was...
Everything up until the last step is easily reversible, but you have backups already, right?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: migrating existing Debian stretch to raid 1
I recommend to update fstab before rebuilding the initramfs.steve_v wrote:rebuild initramfs
update fstab
Make sure you reboot using the new disk.steve_v wrote:reboot
to the RAID array.steve_v wrote:add old disk.
Reinstall GRUB on the old disk.