[mythtv-users] Putting the OS and database on a separate spindle on mythbuntu

Andre Newman mythtv-list at dinkum.org.uk
Thu Feb 18 13:22:08 UTC 2010


On 18 Feb 2010, at 12:50, Mike Perkins wrote:

> Johnny Walker wrote:
>> On Mon, Feb 15, 2010 at 8:44 PM, Nick Rout <nick.rout at gmail.com> wrote:
>>> Is it me or are mythbuntu making it harder to do the above on a default install?
>>> 
>>> Common advice seems to be to put the operating system and mysql
>>> database on a separate disk to your recordings. Makes sense on a busy
>>> system with lots of recordings going on and/or being watched.
>>> 
>>> Trouble is the database by default is in /var/lib/mysql/ and
>>> recordings (again by default) is in /var/lib/mythtv/recordings/ . The
>>> installer makes /var/lib/ on a separate partition.
>>> 
>>> This seems to make it pretty hard to follow the common recommendation.
>>> I guess you end up with:
>>> 
>>> disk 1: / and /var/lib/mysql/
>>> 
>>> disk2: /var/lib/
>>> 
>>> or else change the default recordings location.
>> I added a second drive and mounted it at /usr/local/storage - created
>> mythtv folder and then copied the recording there from
>> /var/lib/mythtv/blah and then symlinked back to folders at
>> /usr/local/storage/mythtv/blah
>> Didn't even take 30 mins but you may have more recordings to move than I did.
>> I didn't mess with database.
> Why bother? Why not just update your storage directory to /usr/local/storage in mythtv-setup? Saves all the farting around copying files and generating symlinks...

Or just mount your storage drive on /var/lib/mythtv  all that matters is OS & DB are on a separate spindle, I understand storage groups is clever enough to know if two partitions are on the same drive.

Andre


> 
> -- 
> 
> Mike Perkins
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



More information about the mythtv-users mailing list