So I‘m a bit lost … hope someone can help.
My current storage setup looks like this:
- One M.2 SSD containing my Ubuntu 22.04 installation + programs
- One M.2 SSD where I store the data I use on a daily basis
- One (software) RAID5 with 4 HDD containing data I want to access from all clients in my LAN (e.g. media streaming) … more or less like a NAS
- And finally one (software) RAID5 (also 4 HDD) to where I synch all the data from the other RAID5 on a weekly basis as a backup
All HDDs are connected to the System via a Broadcom HBA 9500-8i. Currently everything is mounted at boot and works fine.
BUT: I only use the “media RAID” every other day and the “backup RAID” once a week.
For reasons of power consumption, longevity of the 8 HDDs in the two RAIDs, noise reduction, boot time, etc. I would like them to be ignored and kept powered off (no spin up) at system start.
Is there a way how this can be done with the possibility to spin up and mount them (separately) only when needed from within Ubuntu (shell script?) and maybe remotely with SSH?
The data on the two RAIDs is very important to me and there are currently no other backups.
Any and all help is highly appreciated!