RAID storage disappeared after reboot

I had a large RAID array mounted at /storage which after a recent reboot of the machine did not get re-mounted for some reason. I have rebooted before with no problems. I’m not even sure where the configuration files for this are. What can I do to figure this out?

I was able to get my /storage RAID back by doing this command:

sudo zfs set mountpoint=/storage storage

I had first tried:

sudo zpool import storage

and got the errror

cannot mount '/data': directory is not empty

Which makes sense because /data is where an SSD drive is mounted. So it seems like the issue was that somehow the location that the RAID is configured to be mounted was somehow reset or changed. I’m not sure if the zfs command I used to resolve the issue is permanent, or if I will need to do it on every reboot. Is there a configuration file somewhere I should look at to see if I can permanently resolve the issue?

You need to add your drive to /etc/fstab in order to automount. Just search around for how to automount my drive on Linux and you’ll get what you need.