I’m still in the learning stages with Linux. I’m running a virtual server with Ubuntu 22.04 Server. I have a 500GB disk, but I only used 200GB for the boot partition (300GB free). I am logged in as an admin user.
Whenever I create a partition using the free space and format it as ext4, it mounts as /media/username/volumename. Other users cannot see that partition.
I want to use this second partition to place mysql databases and website root folders on it, so I need this partition to behave like a system partition (Like having a D: drive in windows).
I have used the “Disks” utility, as well as fdisk/mkfs.ext4 commands. I have run this with sudo, and also logged into terminal as root. I am able to create the partition and access it with the user I was logged in as when I created it, but not other users. Am I going about this the right way?