Answer the question
In order to leave comments, you need to log in
How to properly partition Centos 7 Server for virtual machines and containers?
Hello.
Tell me how to properly mark up a hard disk for virtual machines and containers?
Main OS Centos 7 minimal, hard 500GB, 8GB Ram.
And does it even make sense to do some special markup?
Also, what file systems should be used?
Learn the Zen of LVM, Docker, OpenVZ, etc. The server is more of a test/development, but definitely not a Production.
Answer the question
In order to leave comments, you need to log in
Don't look at virtualization through the lens of a hypervisor, try Docker
Correct/incorrect is a relative assessment.
I do so.
up to 500 mega under /boot,
then I create an LVM on which I put
/
/home
/log
swap
But the important thing is that I do not allocate all the free space, but only the necessary plus a small margin. With this approach, as long as there is free space on LVM, it is possible to do lvresize and resize2fs on the fly without rebooting the system.
I allocate disks for virtualon directly in LVM.
For virtualization I use KVM.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question