Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239932

Re: debian-installer RAID question

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: debian-installer RAID question
Date 2021-09-12 21:10 +0200
Message-ID <CWD1v-4eP-11@gated-at.bofh.it> (permalink)
References <CWewb-54H-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 9/11/21 9:55 AM, Felix Natter wrote:
> hello fellow Debian users,
> 
> I have an SSD for the root filesystem, and two HDDs using RAID1 for
> /storage running Debian10. Now I need a plan B in case the upgrade
> fails.
> 
> So I made an experiment with a VM and rougly the same setup (disk-wise),
> and found out that when reinstalling Debian11, the d-i does recognize
> the RAID1 (/storage) and can reuse it while keeping the data.
> 
> My question is: How does d-i know how the individual HDDs were combined
> into a RAID1? For all that "sudo fdisk -l" shows, the disks are
> "Linux raid autodetect". For all I see, it could be a RAIDX, X!=1 or
> two different RAIDs .... Are there RAID headers on the partitions?
> 
> The same thing applies when I boot a GNU/Linux rescue system: I think I
> can mount the RAID1 if I know the member partitions and type of RAID
> using mdadm?
> 
> Many Thanks and Best Regards,
> 

I would backup everything, unmount the RAID, shutdown, disconnect the 
RAID devices, remove the SSD, insert a blank SSD, boot the Debian 11 
installer, do a fresh install, configure, do some basic testing, 
shutdown, connect the RAID devices, boot, mount the RAID, and finish 
configuring/ testing.


If Debian 11 turns out to be bad, revert to the Debian 10 SSD.


If the RAID gets trashed, restore from backup.


David

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

debian-installer RAID question Felix Natter <fnatter@gmx.net> - 2021-09-11 19:00 +0200
  Re: debian-installer RAID question Andy Smith <andy@strugglers.net> - 2021-09-11 19:10 +0200
    Re: debian-installer RAID question Felix Natter <fnatter@gmx.net> - 2021-09-18 12:00 +0200
  Re: debian-installer RAID question Reco <recoverym4n@enotuniq.net> - 2021-09-11 19:20 +0200
    Re: debian-installer RAID question Felix Natter <fnatter@gmx.net> - 2021-09-18 12:10 +0200
  Re: debian-installer RAID question Sven Hartge <sven@svenhartge.de> - 2021-09-11 19:30 +0200
    Re: debian-installer RAID question Felix Natter <fnatter@gmx.net> - 2021-09-18 12:00 +0200
  Re: debian-installer RAID question Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-12 12:20 +0200
    Re: debian-installer RAID question Felix Natter <fnatter@gmx.net> - 2021-09-18 11:50 +0200
  Re: debian-installer RAID question David Christensen <dpchrist@holgerdanske.com> - 2021-09-12 21:10 +0200
  Re: debian-installer RAID question Darac Marjal <mailinglist@darac.org.uk> - 2021-09-12 23:00 +0200
    Re: debian-installer RAID question Felix Natter <fnatter@gmx.net> - 2021-09-18 11:50 +0200

csiph-web