Next Version of Install process with Partitions and RAID 0 to 6
-
Hello Guys
first you steps to integrate RAID 1 device wide is a nice step and was helpfull to integrate my RAID 5 and 6 Partitions. I am sorry i am talking about soft RAID with the mdam tools.
It ist not so esay to fix a broken device wide RAID 1 (mirroring) when no harddrive is broken. That will a split brain problem, which one is okay.
But now a breake and move over to the partitiontable.
Number Start (sector) End (sector) Size Code Name 1 46139392 83888127 18.0 GiB 0700 2 8390656 46139391 18.0 GiB 0700 3 87033856 937703054 405.6 GiB 8E00 4 83888128 84936703 512.0 MiB EF02 5 2048 8390655 4.0 GiB 0700 6 84936704 87033855 1024.0 MiB 8200
That is my table have a look on the patition types.
1,2 and 5 had the typ 0700 that is NTFS by standard.
Number 1 is the root file system with ext3
Number 2 is the backuproot file system with ext3
Number 5 is the /var/log file system with ext3
It will be nice that the filesystem use 8300 if it is a non RAID partitionAfter nomal installation the big patition for the SRs ist type 0700 to. So ich change ist to 8E00 thts the one for Linux Logical Volume Manager (LVM) partition. If you use ext4 it will be 8300.
I know this "other" types had tradition from Cytrix, but it looks like a absolut beginner and build the first partitiontable ever with Windows.
Next thing the intall process is creasy, but i do not know why. I never had success with a installation on a used HDD with GDP partitiontable. Normaly i start wit Live Linux and a dd if=zero of=/dev/sdX bs=200M to distroy any kind of data. Did anybody knows what the devil the install proces is doing to stop when an non XCP/Xenserver GDP partitiontabel in on the disk.
So i try with a big part of the success to buiel a system with 4 HDD and a softRAID 6 on the SR partition root is RAID1 and /var/log
is a RAID6, swap is a RAID 0 but on swap level kernel bild it by them selfs if like. Whats missig that the maschine can start with the second HDD when the first one is gone.What is real sad i an not make some major updates with release changes. The systems works with 8.2 very fine, but must reinstall mostly when a new versin is coming.
I this solution the SoftRaids are builded by partition with the correct partition type fd00.
If the comunnity likes to have an better or mor modern install and upgrade process. I will try to build it but i need a lill bit help to understand the old one.
If not i get some more free time to learn Rust ..
ths for your eyes, time to read this. I will hope we had a interessting discussion
thx a lot for the support the community and the fabules XCP-NG team
best wishes Axel