Alright So i am fairly new to dedicated servers and have done alot of work on other servers which were on hosting sites but this is throwing me for a loop.
To get the basics out of the way i have set up and the server is currently running.
However i think i made a mistake or something is a bit off with the set up
So it is a centos 7 Server.
i created a user MC, and created directory for minecraft
uploaded my server to the filesystem under /home/mc/minecraft
and it runs that is all good and dandy.
While trying to set up mysql i realized it is saved under root partition which is only 20gb.
My question is as im guessing this isnt good and i should of set it up under /var ?
Filesystem Size Used Avail Use% Mounted on
devtmpfs 32G 0 32G 0% /dev
tmpfs 32G 0 32G 0% /dev/shm
tmpfs 32G 19M 32G 1% /run
tmpfs 32G 0 32G 0% /sys/fs/cgroup
/dev/md2 20G 19G 0 100% /
/dev/nvme0n1p1 510M 148K 510M 1% /boot/efi
/dev/md3 393G 553M 372G 1% /var
tmpfs 6.3G 0 6.3G 0% /run/user/1001
tmpfs 6.3G 0 6.3G 0% /run/user/0
I moved the files from / to /var and it still runs but broke my user mc lol since i sent all the user files to /var as well. now it just shows up as /var when i su into it