optimal(?) layout of fedora 19 with one SSD drive and one regular HD?
Robert P. J. Day
rpjday at crashcourse.ca
Mon Dec 2 09:30:51 UTC 2013
i'm about to install f19 new on an ASUS G74S laptop with:
* primary 240G SSD drive
* secondary 750G regular HD
as well as 16G RAM, so i'm open to suggestions as to the best
way to do this for efficiency, protecting the SSD from constant
activity, and wanting to be able to do all this at installation
time if possible. finally, i'd like to have LVM in the mix
somewhere, even if only for the ability to experiment with it
and get some practice.
as i see i, first, if i want LVM, i want to restrict it to the
second drive. i don't see much value in LVM on the SSD, and i
certainly don't want to have a single volume group spanning both
drives as that just gives LVM the opportunity to create LVs mixing
SSD and non-SSD PVs, and i'm pretty sure i want to avoid that.
so, as a first impression, i'm tempted to partition the SSD
drive using standard partitions:
* small /dev/sda1 for /boot
* another small regular partition for swap?
* remainder for root partition, with the understanding that anything
under root that represents constant activity will be partitioned
off to the secondary drive.
so what goes on the second drive? i'd turn it into one PV, and
define a single VG based on that, then define a number of LVs,
the biggest one being /home, perhaps 500G. but what else deserves
to be an LV? i might create a /srv LV for serving content, but what
about things like /tmp, /var, /run, etc. some are of type tmpfs,
what should i do with those? if they run totally out of RAM, then
i don't care. in short, / and /boot aside, what other top-level
directories merit their own LV on the second drive?
and, finally, can i do all of this at install time? i suspect so,
just want to make sure.
More information about the users