# df | grep data
/dev/sda6 190957912 176125932 5208248 98% /mnt/data
Since I had 256GB of disk I wasn't using, I decided to add that as a second data directory for MythTV. So I mounted this partition as /mnt/data2 and then created /mnt/data2/mythtv
I then made sure mythtv owned the new directory:
# chown mythtv:mythtv /mnt/data2/mythtv
Then I added this directory to the default MythTV storage group, which was the usual MythTV menu hell:
- Select "Utilities/Setup"
- Select "Setup"
- Select "MythBuntu" and enter root password when prompted
- Select "MythTV Configuration"
- Select "Launch MythTV Setup"
- Select "Storage Directories"
- Select "Default"
- Select "Add New Directory"
- Enter the name of the new directory (e.g. "/mnt/data2/mythtv")
- Hit Escape 3 times to start exiting out
- At this point I was presented with a warning that *none* of my mythtv data directories were writable. After double checking that I entered it right and that the directories were actually writable by themythtv user, I selected "No, I know what I'm doing"
- Continue to exit out of menus by selecting "OK"
- I canceled running mythfilldatabase
- At this point things seemed to hang for 20-30 seconds with me just starting at a blank MythTV background. I think you just wait it out. I hit escape a couple times, but don't know that actually did anything.
- Select "Quit"
- Hit Escape until you get back to the top-level MythTV menu and then select "Information Center"
- Select "System Status"
- Under "Machine" you should now see the second directory listed.
No comments:
Post a Comment