Koozali.org: home of the SME Server
Contribs.org Forums => Koozali SME Server 10.x => Topic started by: umbi on February 09, 2024, 12:01:27 PM
-
Hi there
i tried to install sme 10 on used 2pcs 1tb ssd disks wd blue.
at the installation i tried automatic partitioning.
I guess it does LVM format.
When installation is finished the raid 1 is not present but i find both disks sda sdb
allso when i log in in cli with admin "raid" its writing "no raid present".
Can someone tell me what im doing wrong?
Thank you
-
first https://wiki.koozali.org/Raid#Reusing_Hard_Drives
then at setup simply don't touch disk setup
-
thank you,i tried in sme cli :
[root@ ~]#dd if=/dev/zero of=/dev/hdx bs=512 count=1
+
dd if=/dev/zero of=/dev/sda bs=512 count=1
+
[root@ ~]#dd if=/dev/zero of=/dev/sdb bs=512 count=1
+
reboot
reinstall with disk default automatic settings
the same:
[root@ ~]#cat /proc/mdstat
personalities:
unused disks: none
-
try again without # and count=100 for both sda and sdb
you might need the other command too if hdds were used in hw raid
-
i tried now with 2x 250GB SSD Disks :
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 200M 0 part /boot/efi
├─sda2 8:2 0 500M 0 part /boot
└─sda3 8:3 0 232.2G 0 part
├─kss-root 253:0 0 449.4G 0 lvm /
└─kss-swap 253:1 0 15.7G 0 lvm [SWAP]
sdb 8:16 0 232.9G 0 disk
└─sdb1 8:17 0 232.9G 0 part
└─kss-root 253:0 0 449.4G 0 lvm /
-
by default automatic we mean:
do not enter in the disk utility in any way.
if you select automatic in this section you erase the automatic partitioning for SME Server and you get the automatic partitioning for CentOS, i.e. all disks under a large lvm volume without any raid.
which is exactly what you show to us!
-
That was the smoking gun !
And at first reboot we need wait a lot of time for raid build, may be my misstake was at blank installation to not being patient enough and made a hardware reboot
]# cat /proc/mdstat
Personalities : [raid1]
md9 : active raid1 sdb2[1] sda2[0]
204736 blocks super 1.0 [2/2] [UU]
resync=DELAYED
bitmap: 1/1 pages [4KB], 65536KB chunk
md0 : active raid1 sda1[0] sdb1[1]
510976 blocks super 1.2 [2/2] [UU]
bitmap: 0/1 pages [0KB], 65536KB chunk
md1 : active raid1 sda3[0] sdb3[1]
975911936 blocks super 1.2 [2/2] [UU]
[======>..............] resync = 33.1% (323236992/975911936) finish=56.8min speed=191318K/sec
bitmap: 6/8 pages [24KB], 65536KB chunk
Thank you verry much !!!
-
on initial install yoi have the raid to sync and also the DH parameter to create for dovecot. this take a. long time and a lot of cpu.
-
I never stop to learn :lol:
Thank you again Jean-Philippe
-
Agree to umbi ^_^