centos – Install new SSD drive and move /opt folder to it

I have a server with two SSDs in RAID1 configuration on a centos 7.9 machine. I am running out of space on the two SSDs, because of the RAID1 configuration and the size of the /opt folder. The RAID1 configuration has its’ benefits.I will install a third SSD and I would like to move the /opt folder to it.

My understanding is that I would need to edit the /etc/fstab file and I think the modification should be something like this.

UUID=abcabcabdabd..abcd /opt ext4 defaults 0 2

and then I would just have to move the folder over

Is the above understanding correct ?

Read more here: Source link