optimal(?) layout of fedora 19 with one SSD drive and one regular HD?

Chris Murphy lists at colorremedies.com
Mon Dec 2 22:23:30 UTC 2013


On Dec 2, 2013, at 2:30 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:

> 
> * another small regular partition for swap?

Swap on the SSD if you will need to use swap regularly, including if you want faster recovery from sleep. Otherwise put it on the HDD. Make it as big as you plan on memory being in the life of this install so you don't have to figure out how to recreate a bigger one.

/, /boot, /home can all go on the SSD so they don't even need to be separate partitions. Just make one big partition for all of them.


>  so what goes on the second drive?

Big files, like movies, music, and photos. 

You can do this by adding a mountpoint for a partition located on the HDD. Something like /home/chris/bigfiles if you want it only accessible in your user directory. Or you can put it at /home/bigfiles. Or  you can put it at /data. The installer's Manual Partitioning will let you do this.

> 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?

It's almost not worth strategizing, I'd put everything, including apps on the SSD, and put big files on the HDD.

Down the road with F21, you'll have an install time option to turn the SSD into a cache for the HDD, so they'll look like one logical volume, but bcache will locate hot files on the SSD automatically, with everything ultimately stored on the HDD.

>  and, finally, can i do all of this at install time? i suspect so,
> just want to make sure.

Yes.

Just create a new mount point with the + button, then type in the custom mountpoint name, e.g. /home/chris/bigfiles and then specify the size. You might need to click on the tool icon, which presents a dialog letting you choose on what device these partitions are located. But this will create the file system, and add it to fstab so that it's automatically available.


Chris Murphy


More information about the users mailing list