ok, it seems my actual problem got lost.
- The array is still reforming (80% by now)
- After reboot I can start it with mdadm --run /dev/md0
- after 2. it picks the reforming up where it left off and I can mount the partition on the drive
The problem is, that the array gets assembled on reboot, but doesn’t start
[root@<FQDN>]# sudo mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Raid Level : raid6
Total Devices : 7
Persistence : Superblock is persistent
State : inactive
Working Devices : 7
Delta Devices : 1, (-1->0)
New Level : raid6
New Layout : left-symmetric
New Chunksize : 512K
Name :<FQDN>:md0 (local to host serena.fritz.box)
UUID : 50f387c6:39b2da4f:e2b3f7b3:eeae3d82
Events : 197230
Number Major Minor RaidDevice
- 8 64 - /dev/sde
- 8 32 - /dev/sdc
- 8 0 - /dev/sda
- 8 112 - /dev/sdh
- 8 80 - /dev/sdf
- 8 48 - /dev/sdd
- 8 96 - /dev/sdg
I found a million tutorials for Ubuntu and Arch, but they all use system-tools Fedora doesn’t have (and I don’t really know what they actually do).
I need help getting my system to properly start my Array on Bootup, so I can mount its partition via /etc/fstab.
I have services actually depending on the data, so I can’t have the system boot without it.
edit:
If I just do this:
mdadm --stop /dev/md0
mdadm --assemble /dev/md0
my console hangs itself and I have to ssh in again (or change to another tty)
BUT if I do
mdadm --stop /dev/md0
mdadm --assemble --scan
My Array gets initialised and I get:
[root@serena ~]# mdadm --assemble --scan ^C
[root@serena ~]# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid6 sda[0] sde[6] sdg[7] sdh[5] sdf[3] sdd[2] sdc[1]
62502989824 blocks super 1.2 level 6, 512k chunk, algorithm 18 [7/6] [UUUUU_U]
[================>....] reshape = 84.4% (13196004352/15625747456) finish=321.5min speed=125952K/sec
bitmap: 10/117 pages [40KB], 65536KB chunk
unused devices: <none>
and
[root@serena ~]# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Wed Jan 5 18:21:28 2022
Raid Level : raid6
Array Size : 62502989824 (58.21 TiB 64.00 TB)
Used Dev Size : 15625747456 (14.55 TiB 16.00 TB)
Raid Devices : 7
Total Devices : 7
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Tue Jan 11 16:40:01 2022
State : clean, degraded, reshaping
Active Devices : 6
Working Devices : 7
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric-6
Chunk Size : 512K
Consistency Policy : bitmap
Reshape Status : 84% complete
Delta Devices : 1, (6->7)
New Layout : left-symmetric
Name : serena.fritz.box:md0 (local to host serena.fritz.box)
UUID : 50f387c6:39b2da4f:e2b3f7b3:eeae3d82
Events : 197265
Number Major Minor RaidDevice State
0 8 0 0 active sync /dev/sda
1 8 32 1 active sync /dev/sdc
2 8 48 2 active sync /dev/sdd
3 8 80 3 active sync /dev/sdf
5 8 112 4 active sync /dev/sdh
7 8 96 5 spare rebuilding /dev/sdg
6 8 64 6 active sync /dev/sde