My new machine has a 2TB M2… I let the installer automatically install. When I look at that disk I see 3 partitions: 629mb /Boot/efi, 1.1GB /boot, 2TB LVM not mounted no name — ??? – Is this an artifact of the Gnome Disk tool and not right? Is the os using the 2TB LVM and I just can’t see it – or is it really dead space (totally unused) and how do I claim it for use? –
259:3 0 1.8T 0 part
│ 253:0 0 70G 0 lvm /
│ 253:1 0 31.4G 0 lvm [SWAP]
253:2 0 1.7T 0 lvm /home
OK, I’ve got some rather large mariadb databases – they are normally stored in /var something – Should I move them to /home/something? — I fear “AutoMagic” something going on.
This is a common problem with the default installer.
Unless you select a meaningful size for /home it will extend to the end of the disk.
Best option is wipe the whole thing and start again.
The installer default is to create LVM volumes (except /boot and /boot/efi) and use XFS filesystem.
LVM is great. XFS … cannot be shrunk. Better to adjust in installer.
One could create
/home/mariadb/ and bind-mount it to
/var/lib/mysql (or whatever) but then there are SELinux contexts to tackle.
At this stage of my life, I like gerry666uk’s solution – The problem is I can’t quite figure out how to get the half-vast automagic installer to let me completely start over … breaking a nail on it … Got a suggestion?
I helped someone through a custom partition set up a while ago: Installing a Rocky 8.4 Virtual Box VM as a qcow2 Openstack Image - #10 by iwalker
That post has screenshots taking you through the GUI installer process step-by-step of setting up your partitions. Whilst this example was for a custom setup with a single partition, it’s easy enough for you to see and adapt it, creating partitions for /, /usr, /var or whatever other ones you need. You can even adapt it further using LVM instead of standard partitions - you’ll see how to do that once you get into the custom partition setup anyway.
Sections 10.3 and 10.6 in Chapter 10. Customizing your installation Red Hat Enterprise Linux 8 | Red Hat Customer Portal
See also Appendix E. Partitioning reference Red Hat Enterprise Linux 8 | Red Hat Customer Portal
as it has recommendations, notes, and warnings about partitioning.
Thanks, that would be great … I’ve got 2 days of travel, before I can tinker with it again
There’s also this forum post (click on it to see proper formatting)
It shows keeping the o/s separate to /home and /data. The o/s is on it’s own disk. In this scenario, mariadb databases and websites would go in “/data”, allowing them to be backed up without all the o/s and homedir junk.
Gerry, I’m back – Thanks, I got it setup – Part of the problem is reading the UI. – (Oh, that’s not just decorative, it means something… )