Koozali.org formerly Contribs.org

Install from scratch testing raid setup - II

Install from scratch testing raid setup - II
« on: April 15, 2020, 11:20:48 AM »
Installed Alpha4

Vmware WS - 2HDD 40 GB - 2 GB RAM

First install confirm that there is no automatic creation of a RAID1 set.
Second install I did a manual partitioning for RAID1, not sure if correct from SMEs poin of view:
Quote
/ - /boot - swap
as I usually configure standard Centos servers. No LVM .... bad thing ?

As final result: (cat /proc/mdstat):
Quote
[root@sme10-alpha4-1 ~]# cat /proc/mdstat
Personalities : [raid1]
md125 : active raid1 sdb2[1] sda2[0]
      2097152 blocks super 1.2 [2/2] [UU]
md126 : active raid1 sda3[0] sdb3[1]
      37710848 blocks super 1.2 [2/2] [UU]
      bitmap: 1/1 pages [4KB], 65536KB chunk
md127 : active raid1 sda1[0] sdb1[1]
      2099136 blocks super 1.0 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk
unused devices: <none>

(mount):
Quote
[root@sme10-alpha4-1 ~]# mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=489848k,nr_inodes=122462,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio,net_cls)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/md126 on / type xfs (rw,relatime,attr2,inode64,usrquota,prjquota)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13807)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
/dev/md127 on /boot type xfs (rw,relatime,attr2,inode64,noquota)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=99576k,mode=700)

The installation went fine; some trouble with the first "yum update", after reboot I got an error: the system it was stuck at ‘Starting Switch root’ and would go no further.
According to this:
https://bugzilla.redhat.com/show_bug.cgi?id=1492208
I did this change:
Quote
mount -o remount,rw /sysroot
cd /sysroot/usr/lib
ln -s os.release.d os-release.d   
exit
At first reboot the system was still hanging on a subsequent reboot the system came up and completed update expanding templates but, to be honest, I'm not really aware of what happened.

RAID: the console does not detect that a RAID exists and presently the raidmonitor log is filling with such messages:
Quote
2020-04-15 11:11:36.193013500 mdadm: Only one autorebuild process allowed in scan mode, aborting
I don't know if this is related to the fact that presently SME is not find a RAID configured as he espects.

First round of test completed, going to check file-access funcionalities.
Consulente di Smeserver.it -  Soluzioni e supporto su Sme server in Italia.

Offline ReetP

  • *
  • 2,536
Re: Install from scratch testing raid setup - II
« Reply #1 on: April 15, 2020, 09:20:03 PM »
The RAID issue is known.

Please, check the bugs to save duplication of effort and wasting your time.

Posting issues here is not very helpful.

There are pages on how to test on the wiki. Please read them.

Even better is to ask me for a login to Rocket.Chat and talk to us directly. We can give you specific tasks and assistance which will benefit us all.

Catton has done a lot of work on the install/boot and would appreciate a hand....
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation