Re: Move Fedora Server to new machine, RAID1 -> Single disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 28, 2024 at 1:42 AM Peter Boy <pb@xxxxxxxxxxxxxx> wrote:
>
> > Am 28.09.2024 um 01:05 schrieb Jeffrey Walton <noloader@xxxxxxxxx>:
> >
> > I have a Fedora Server running F40 on an old Proliant G5 with hardware
> > RAID1. The machine is giving too much trouble so I would like to
> > migrate to newer hardware with a single SSD. Both machines are x86_64.
> >
> > I've been researching methods to perform the migration, but I am not
> > clear on the strategy. Some folks say provide a method and say it
> > works, other folks say it does not work. I think I have hit
> > diminishing returns on reading from the web.
> >
> > I am planning on using Clonezilla to clone the image to a portable
> > drive, and then restore the image from the portable drive to the new
> > machine. I've had success with Clonezilla in the past, but I restored
> > to the same machine.
> >
> > Does anyone have experience with a migration like this? If so, can you
> > provide feedback?
>
> I did that for a couple of machines some times back. It can range from simple, albeit with a tedious number of steps, to extremely complicated and error-prone.
>
> Cloning is probably not an option here. Your old machine is a BIOS system, your newer one should be an UEFI system. And in any case, you should migrate from deprecated MBR partitioning to GPT, if you haven’t already done.

Yeah, this is a problem. Originally I was going to use legacy or mbr,
but I think I am going to avoid it now.

The original plans were more ambitious -- do the mbr restore, and then
convert to gpt. I think that is a dumb idea now based on reading the
replies in this thread.

> The details depend largely on how your current storage is organized. Did you follow the Fedora Server recommendation? If you are using LVM as recommended, it’s quite easy. So it might be helpful it you post a fdisk listing.

I think I am going to try rsync. Boot into single user mode, and then
make a backup with:

  rsync -aAXv --delete \
    --exclude=/dev/* --exclude=/proc/* \
    --exclude=/sys/* --exclude=/tmp/* \
    --exclude=/run/* --exclude=/mnt/* \
    --exclude=/media/* \
    --exclude="swapfile" \
    --exclude="lost+found" \
    / <usb drive>

Then restore on a newly installed F40 server.

Jeff
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux