So far I can follow the process in the link provided above and the minute ii reboot it ALL gone (Like I never even built the array which takes 8.5 hours on 12TB)
Chuck
Need help with Raid 5
Re: Need help with Raid 5
Then you did something wrong. Without more details I can't suggest what that "something" might be.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.
-
- Developer
- Posts: 372
- Joined: Mon Apr 16, 2012 4:51 pm
Re: Need help with Raid 5
JayM wrote: Fri Mar 20, 2020 8:04 pm BTW I confirmed yesterday that cli-installer can't install to a RAID0 either, even if I partitioned it ahead of time. Whenever I'd select /dev/md0p2 for the root partition it would reject it. I was expecting as much since mdadm is started as a service in /etc/init.d and if /etc is on a RAID, /etc can't be accessed until after /etc/init.d is accessed: catch-22. That's why you would need a hardware RAID controller, which sets up the RAID at the system/BIOS level so it's already there before an OS even comes into the picture.
Hmm, yes the install now does a sanity check for sd* or hd*. I guess it will also fail for mmcblk then. Perhaps it is possible to get around this without editing the installer by making symlinks from md* to hd*. (ln -s /dev/md0 /dev/hda0)
If I understood correctly grub has a module for reading md raid devices and the kernel also has the needed drivers built in (modprobe raid*). So the mdadm service should not be needed immediately.
Edit:
https://en.wikipedia.org/wiki/Mdadm#Booting
Edit #2:
You should be able to see if the md module is in initramfs to allow using a raid array without needing to have a separate raid 1 partition by running
lsinitramfs /boot/initrd.img-VERSION_HERE | less
and searching for md
-
- Posts: 7
- Joined: Mon Mar 02, 2020 1:32 pm
Re: Need help with Raid 5
I followed that guide to the letter twice and I mean to the letter, I did it just like it says to.JayM wrote: Sat Mar 21, 2020 9:00 pm Then you did something wrong. Without more details I can't suggest what that "something" might be.
-
- Developer
- Posts: 372
- Joined: Mon Apr 16, 2012 4:51 pm
Re: Need help with Raid 5
Perhaps you could post the output of parted -l/fdisk -l so we can see what disks you have and how you hope to arrange them for data storage?NibblesMctwitch wrote: Sat Mar 21, 2020 11:57 pmI followed that guide to the letter twice and I mean to the letter, I did it just like it says to.JayM wrote: Sat Mar 21, 2020 9:00 pm Then you did something wrong. Without more details I can't suggest what that "something" might be.
Also what the commands looked like from the article after you altered them for your application?
Also by the statement
It seems as though you are running a live instance instead of an installed copy. Maybe you could point out which disk you are installing to / have installed on in the parted -l /fdisk -l output?NibblesMctwitch wrote: Sat Mar 21, 2020 8:24 am So far I can follow the process in the link provided above and the minute ii reboot it ALL gone (Like I never even built the array which takes 8.5 hours on 12TB)
Re: Need help with Raid 5
I may try again later this week as I'm pretty much confining myself to the house so it'll be a fun project. I'll try your symlink idea and let everyone know if it works. (I should probably start a new topic though instead of hijacking this one, huh?)
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.