[ale] VM guest partitioning practices
Beddingfield, Allen
allen at ua.edu
Tue Dec 9 11:49:10 EST 2014
I do the following:
sda1 /boot (ext3, 1gb)
sda2 swap appropriate size
sda3 / xfs
If it makes sense to do a separate /srv, /opt, etc... I add a second virtual hard drive...so..
sdb1 /srv, /opt, etc...
I put all data directories under /srv (apache, tomcat, ftp, MySQL, MariaDB, etc...), and anything built from source goes under /opt, instead of /usr/local
Btrfs throws all of this out the Window, though.
If I do LVM, I still do /dev/sda1 as /boot
Then, make the rest of the disk a physical volume, and create logical volumes inside for swap, /, etc...
Allen B.
--
Allen Beddingfield
Systems Engineer
The University of Alabama
________________________________
From: ale-bounces at ale.org [ale-bounces at ale.org] on behalf of James Sumners [james.sumners at gmail.com]
Sent: Tuesday, December 09, 2014 10:43 AM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Subject: [ale] VM guest partitioning practices
I've been asked to research how others layout their filesystems in virtual machines. I long ago decided it wasn't worth splitting stuff like /var off onto its own partition. I particularly don't think it's necessary in a virtual machine. But I need to get some other opinions before I can be validated in mine.
So, how do you guys partition the filesystems in your virtual machines?
--
James Sumners
http://james.roomfullofmirrors.com/
"All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted."
Missionaria Protectiva, Text QIV (decto)
CH:D 59
More information about the Ale
mailing list