Storage directory not used in Mythtv

Asked by TonyR

My MythTv ver 0.25.3-11 installation has the following partition setup.

/dev/sda1 main system partition 157 GB
/dev/sda2 3 GB Extended partitioon which in dis manager shows "warning partition misaligned by 1024 bytes type W95 Ext d LBA
/dev/sda3 1.8 TB partition intended for recordings labeled Store.
/dev/sda5 Linux Swap 3 GB

The system automatically mounts on start up /media/Store/Recordings

In the mythTv backend I have set the following storage directories in the default section

/media/Store/Recordings/
/var/lib/mythtv/recordings/
/

My problem is that recording only ever get written to /var/lib/mythtv/recordings/ so it keeps thinking it is low on space and it never uses any of the 1.8 TB space available on /dev/sda3

Do I have the syntax wrong in mythtv backend in the storage directories setting and what do I need to do get get mythtv writing recordings to the sda3 partition?

I have verified that the permissions on /media/Store/Recordings/ and /var/lib/mythtv/recordings/ is identicle.

Kind Regards

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You could symlink the /var/lib/mythtv/recordings folder to /media/Store/Recordings and it should be ok.

Revision history for this message
TonyR (rooneyo) said :
#2

Hello

Thanks for the update.

Can you clarify how and where I need to create the symlink and also what is the issue with the Storage Directories interface that makes it so unusable.

I fail to see what I have done wrong and I do note that so many other people have logged queries on the mythtv forum not being able to get this to work.

I carefully read the mythtv documentation which is vague on this matter notably missing an example entry that you cold use to understand the syntax expected.

Surely it should not be so hard to assign a path another storage location so I would appreciate further clarification.

Revision history for this message
TonyR (rooneyo) said :
#3

Hi

I still await clarification how I should apply the suggest work-a-round. Do I use nautilus to create the symlink in the folder /var/lib/mythtv/recordings folder to represent /media/Store/Recordings or the other way round. I am not familiar with how symlinks work?

This has not explained how to use the mythTv admin interface Storage Directories? Should you enter /var/lib/mythtv/recordings, /media/Store/Recordings/ on the same line in the interface or on different lines? The document implies the same line but I can get neither variation to work. Someone out there must know the correct way to use this and not need the symlink work-a-round.

If you use the symlink you will not get the load balancing feature of Storage Directories tp work I presume?

Can you please assist as this is seriously degrading my system not being able to access at all most of my storage space.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
TonyR (rooneyo) said :
#5

Although the ownership of the /media/Store/Recordings was OK it believe the permissions was not OK on the parent folder of Recordings (Store) which was fixed by sudo chmod -R 775.

Many thanks to Steffan Hattrell who went the extra mile in his response to a similar issue.

This can be reviewed here:

http://ubuntuforums.org/showthread.php?t=1410419

It is easy to just set 775 on each folder in the path if you are suitably directed.

I'm not sure why I did not get any assistance on the Symlink request for clarification.

So relieved to have this working as before I was locked out of 85% of my storage seriously degrading my system.