[mythtv-users] Partitioning 1TB disk to MythTV

Richard Morton richard.e.morton at gmail.com
Mon Jun 28 12:11:36 UTC 2010


Keep you os and db on a separate drive to your recordings. Ideally split os
on one drive, db on another and recordings on 1 or more other drives...

Ext4 with journalling turned off, or other fs designed for large files is
recommended - review the list it has been discussed lots.

R

On 28 Jun 2010 13:00, "Simon Hobson" <linux at thehobsons.co.uk> wrote:

Josu Lazkano wrote:

> I have a HTPC and I want to install MythTV to watch satellite
> channels, the...
There's no "MUST" about it - you can partition it as you want, but there are
some recommendations.

Personally I would do it like this :
100M for /boot - not required these days, but I'm just a bit stuck in my
ways !
5G for / - should be waaay more than you need but it's hard to resize
afterwards.
Some swap
The rest as an LVM PV

Within the LVM I'd then create volumes for :
/var - about 5G should see you through
wherever the database stores it's files (/var/lib/mysql ?)
The rest for a recording store. Mount it on (for example) /store, but create
a directory in it and store the recording files in /store/recordings. That
way, if it fails to mount for some reason, Myth will fail to find the
directory and fail, rather than filling up /

Ideally you would put your OS and database on a separate physical drive -
that way you can parallelise access to the database whilst streaming
recordings to/from disk.

Also, I might keep back some of the LVM initially - that way, if you find
you want a bit more room for the db or /var, then there's some spare to
extend the LV into.
-- 
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.


_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
h...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100628/d7d2ea00/attachment.htm>


More information about the mythtv-users mailing list