[mythtv-users] Need to manage my HDD usage, any way to tell where a recording resides?

stuart stuart at xnet.com
Fri Nov 14 07:36:33 UTC 2008



Brad DerManouelian wrote:
> On Nov 13, 2008, at 4:25 PM, stuart wrote:
> 
>> Thank you for your response to my posting.  But will this work for me?
>> I have everything on my MBE in 1 Logical Volume (my bad).  I'm  
>> thinking
>> that all links will be to the same directory no matter which hard  
>> drive
>> they actually are on.
>>
>> Regardless, what I really need is a way to tell if the recording is on
>> the SBE or the MBE machine. As I only want to reduce disk usage on the
>> MBE machine. I'm thinking that the mythrename.pl script will not be  
>> able
>> to create links to a file on a different machine.
>>
>> In the end, I have yet to hear of a easy way to manage mythtv disk  
>> usage
>> (i.e. there is not an easy way to tell where a given recording  
>> resides).
> 
> I'm not sure why you need to know where a given recording resides in  
> order to manage disk usage. Are you aware that if you move a recording  
> from one directory of a storage group to another directory in the  
> storage group, you don't have to do anything special for mythtv to  
> find that recording? It will look through all specified directories  
> until it finds the recording. If it doesn't find them in any  
> directory, then it will present an error.
> 
> Maybe if we knew *exactly* what you were trying to accomplish instead  
> of this one piece of finding where a recording resides, we could help  
> you more.
> 

Sorry if I confused anyone.

I think I have it figured out but here's another go at what I want to do:

I have 3 HDDs on my MBE and 1 HDD on the SBE.  Mythtv recordings are 
stored in both places.

Applications running on the MBE only see two partitions.  The /boot 
partition and 1 other Logical Volume.

I want to separate out the mysql data base and keep it on it's own HDD 
on the MBE to improve disk access (or so I'm lead to believe).

To do this I want to remove a 200GByte HDD from those HDDs making up the 
1 Logical Volume on the MBE.  Right now, that means I need to reduce the 
disk usage on the MBE by about 170GBytes (there is already about 30 
GBytes free now).  Afterwards, I will migrate files off the 200GByte 
Physical Volume which resides on the HDD to be removed from the Logical 
Volume.

But which recording do I need to delete in order to gain the 200GByes 
free space on the MBE?  I still don't think there is a way to tell.

What I think I can do is increase the head room on the MBE by changing 
the amount of free disk drive space needed from 10GBytes to 200GBytes.

...thanks



More information about the mythtv-users mailing list