linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* change UUID of RAID devcies
@ 2022-09-12 15:04 Reindl Harald
  2022-09-12 21:37 ` Wol
  0 siblings, 1 reply; 31+ messages in thread
From: Reindl Harald @ 2022-09-12 15:04 UTC (permalink / raw)
  To: Linux RAID Mailing List

is is possible to change the UUID of RAID devcies?

background: we have several machines with 4 disks (/boot RAID1, / 
RAID10, /data RAID10)

the plan is buy twice as large SSDs (currently HDD), partition them from 
a Live-ISO and dd-over-ssh the contents

at that time the RAID10 would be degraded and two disks out of the machines

besides the UUID one interesting question is how to make sure the copy 
of /etc/mdadm.conf contains "RAID1" instead of "RAID10"

the reason for that game is that the machines are running for 10 years 
now and all the new desktop hardware can't hold 4x3.5" disks and so just 
put them in a new one isn't possible

-----------------

[root@srv-rhsoft:~]$ cat /etc/mdadm.conf
MAILADDR root
HOMEHOST localhost.localdomain
AUTO +imsm +1.x -all

ARRAY /dev/md0 level=raid1 num-devices=4 
UUID=1d691642:baed26df:1d197496:4fb00ff8
ARRAY /dev/md1 level=raid10 num-devices=4 
UUID=b7475879:c95d9a47:c5043c02:0c5ae720
ARRAY /dev/md2 level=raid10 num-devices=4 
UUID=ea253255:cb915401:f32794ad:ce0fe396

-----------------

GRUB_CMDLINE_LINUX="quiet hpet=disable audit=0 rd.plymouth=0 
plymouth.enable=0 rd.md.uuid=b7475879:c95d9a47:c5043c02:0c5ae720 
rd.md.uuid=1d691642:baed26df:1d197496:4fb00ff8 
rd.md.uuid=ea253255:cb915401:f32794ad:ce0fe396 rd.luks=0 rd.lvm=0 
rd.dm=0 zswap.enabled=0 selinux=0 net.ifnames=0 biosdevname=0 noresume 
hibernate=no printk.time=0 nmi_watchdog=0 acpi_osi=Linux 
vconsole.font=latarcyrheb-sun16 vconsole.keymap=de-nodeadkeys 
locale.LANG=de_DE.UTF-8"

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2022-11-27 20:04 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-12 15:04 change UUID of RAID devcies Reindl Harald
2022-09-12 21:37 ` Wol
2022-09-13 10:28   ` Reindl Harald
2022-09-13 10:39     ` Pascal Hambourg
2022-09-13 11:12       ` Reindl Harald
2022-09-13 11:17         ` Pascal Hambourg
2022-09-13 11:30           ` Reindl Harald
2022-09-13 11:35             ` Pascal Hambourg
2022-09-13 11:39               ` Reindl Harald
2022-09-13 11:48                 ` Pascal Hambourg
2022-09-13 11:50                   ` Reindl Harald
2022-09-13 12:03                     ` Pascal Hambourg
2022-09-13 12:21                       ` Reindl Harald
2022-09-13 12:47                         ` Pascal Hambourg
2022-09-13 13:02                           ` Reindl Harald
2022-09-13 14:12                             ` Pascal Hambourg
2022-09-13 19:32                             ` Roman Mamedov
2022-09-13 19:54                               ` Reindl Harald
2022-09-13 20:28                                 ` Roman Mamedov
2022-09-13 20:46                                   ` Reindl Harald
2022-09-13 20:48                                     ` Roman Mamedov
2022-09-13 20:56                                       ` Reindl Harald
2022-09-13 21:03                                         ` Roman Mamedov
2022-09-13 21:11                                           ` Reindl Harald
2022-09-13 21:13                                             ` Reindl Harald
2022-09-13 17:39         ` Wols Lists
2022-09-13 18:03           ` Reindl Harald
2022-09-13 19:44             ` Wol
2022-09-13 19:53               ` Reindl Harald
2022-11-27 20:03                 ` Reindl Harald
2022-09-13 15:37     ` Reindl Harald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).