Re: change UUID of RAID devcies

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

 



On 13/09/2022 at 14:21, Reindl Harald wrote:
Am 13.09.22 um 14:03 schrieb Pascal Hambourg:
On 13/09/2022 at 13:50, Reindl Harald wrote:
Am 13.09.22 um 13:48 schrieb Pascal Hambourg:

Legacy boot on GPT has some requirements, but it works

but we are talking about a LIVE-migration/reshape of existing disks with no place left for another partition

So what ? Aren't you going to create a GPT partition table on your 4-TB drives ? Else you won't be able to use the space beyond 2 TiB. (*)
A GPT partition table supports up to 128 partitions by default.

i won't have a choice as it looks like and so the easiest choice would be migrate /boot completly to a USB-stick and simply ignore the current /boot RAID1 which is just 482M small

I don't see how it is easier. Also, USB sticks are not reliable.
However you are right that you can get rid of the current /boot array; I don't see the need for a separate /boot, its contents could be included in the root filesystem.

since finally the new machines in the next step only support UEFI and the uefi-system partition can't live on a RAID it would end there over time anyways

Software is not natively supported by EFI boot but there are a few tricks to set up a redundant EFI boot: create independent EFI partitions on each disk, or create a RAID 1 array with metadata 1.0 (at the end of the partition) so that the UEFI firmware can see each RAID partition as a normal EFI partition with a FAT filesystem.

so for now my last remaining question is "how would the command look for "Then with just two drives you change the raid to raid-1"

I would not convert existing arrays. Rather create new arrays on the new disks and copy the data.



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux