I just set up a software raid for the first time after I set it up I rebooted and noticed it doesn’t automount. (fstab reverted as well)
I can remount the raid via the drive manager but every time on reboot it does not stay mounted. These are not external drives either.
Please let me know what sort of information you will need and I will gladly get it for you.
Below is what fstab shows after reboot.
# Please use "dietpi-drive_manager" to setup mounts
#----------------------------------------------------------------
# NETWORK
#----------------------------------------------------------------
#----------------------------------------------------------------
# TMPFS
#----------------------------------------------------------------
tmpfs /tmp tmpfs size=11905M,noatime,lazytime,nodev,nosuid,mode=1777
tmpfs /var/log tmpfs size=50M,noatime,lazytime,nodev,nosuid,mode=1777
#----------------------------------------------------------------
# MISC: ecryptfs, vboxsf (VirtualBox shared folder), gluster, bind mounts
#----------------------------------------------------------------
#----------------------------------------------------------------
# SWAPFILE
#----------------------------------------------------------------
#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
UUID=2e9d8509-a765-48ba-ba71-4110f21ef219 / ext4 noatime,lazytime,rw 0 1
#UUID=9bdec8cd-8e95-f476-3158-9f8e68a06280 /mnt/9bdec8cd-8e95-f476-3158-9f8e68a06280 linux_raid_member noatime,lazytime,rw,nofail,noauto,x-systemd.automount
#UUID=9bdec8cd-8e95-f476-3158-9f8e68a06280 /mnt/9bdec8cd-8e95-f476-3158-9f8e68a06280 linux_raid_member noatime,lazytime,rw,nofail,noauto,x-systemd.automount
#UUID=9bdec8cd-8e95-f476-3158-9f8e68a06280 /mnt/9bdec8cd-8e95-f476-3158-9f8e68a06280 linux_raid_member noatime,lazytime,rw,nofail,noauto,x-systemd.automount
#UUID=9bdec8cd-8e95-f476-3158-9f8e68a06280 /mnt/9bdec8cd-8e95-f476-3158-9f8e68a06280 linux_raid_member noatime,lazytime,rw,nofail,noauto,x-systemd.automount
#UUID=847b2756-5e7d-464c-9dcf-954e644f1fe3 /mnt/847b2756-5e7d-464c-9dcf-954e644f1fe3 ext4 noatime,lazytime,rw,nofail,noauto,x-systemd.automount
lsblk
root@DietPi:/# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
└─sda1 8:1 0 111.8G 0 part /
sdb 8:16 0 931.5G 0 disk
└─sdb1 8:17 0 931.5G 0 part
└─md127 9:127 0 2.7T 0 raid5
sdc 8:32 0 931.5G 0 disk
└─sdc1 8:33 0 931.5G 0 part
└─md127 9:127 0 2.7T 0 raid5
sdd 8:48 0 931.5G 0 disk
└─sdd1 8:49 0 931.5G 0 part
└─md127 9:127 0 2.7T 0 raid5
sde 8:64 0 931.5G 0 disk
└─sde1 8:65 0 931.5G 0 part
└─md127 9:127 0 2.7T 0 raid5
EDIT: Actually it looks like they only auto mount when accessed?