Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

My default storage group is confused

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


rldiss at yahoo

May 1, 2012, 7:11 AM

Post #1 of 5 (272 views)
Permalink
My default storage group is confused

Hi all.  I am using 0.24 (mythbackend version: fixes/0.24 [v0.24.2-28-g91a06b9] www.mythtv.org), with storage groups to hold my recordings.  I set up two directories, on separate drives, /store1/recordings and /store2/recordings, and this was working fine.  MythWeb would report these as two separate drives, and my total space was around 1.3T.  Now, something has now changed, and Myth sees these two directories as one drive, and reports this in MythWeb as "MythTV Drive #1, Directories: dvr:/store1/recordings, dvr:/store2/recordings", and reports half the total space.  What has happened, and how can I correct this?

[root [at] dv mythtv]# df -h /store1 /store2
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdf1             677G  598G   45G  94% /store1
/dev/sdc1             677G  598G   45G  94% /store2


mtdean at thirdcontact

May 1, 2012, 7:28 AM

Post #2 of 5 (254 views)
Permalink
Re: My default storage group is confused [In reply to]

On 05/01/2012 10:11 AM, Bob Diss wrote:
> Hi all. I am using 0.24 (mythbackend version: fixes/0.24
> [v0.24.2-28-g91a06b9] www.mythtv.org), with storage groups to hold my
> recordings. I set up two directories, on separate drives,
> /store1/recordings and /store2/recordings, and this was working fine.
> MythWeb would report these as two separate drives, and my total space
> was around 1.3T. Now, something has now changed, and Myth sees these
> two directories as one drive, and reports this in MythWeb as "MythTV
> Drive #1, Directories: dvr:/store1/recordings,
> dvr:/store2/recordings", and reports half the total space. What has
> happened, and how can I correct this?
>
> [root [at] dv mythtv]# df -h /store1 /store2
> Filesystem Size Used Avail Use% Mounted on
> /dev/sdf1 677G 598G 45G 94% /store1
> /dev/sdc1 677G 598G 45G 94% /store2

Because the 2 drives' statistics are identical (capacity, available and
used space and such), MythTV is erring on the side of caution and
considering them a single drive. To "fix" it, just change the stats...

dd if=/dev/zero of=/store1/garbage_file bs=64M count=1

(or just wait for the next recording to happen on one of the disks).

Mike


richard.e.morton at gmail

May 1, 2012, 7:33 AM

Post #3 of 5 (256 views)
Permalink
Re: My default storage group is confused [In reply to]

Really? If the -h stats showed the same but the more detailed stats showed
slight difference I guess myth TV would show them as two different drives?

please excuse brevity and pistakes as this email was composed on a phone.

regards
Richard


raymond at wagnerrp

May 1, 2012, 8:31 AM

Post #4 of 5 (248 views)
Permalink
Re: My default storage group is confused [In reply to]

On 5/1/2012 10:33, Richard Morton wrote:
>
> Really? If the -h stats showed the same but the more detailed stats
> showed slight difference I guess myth TV would show them as two
> different drives?
>

The comparison routine has a bit of fuzziness on the order of several
megabytes to account for the scenario of two different hosts recording
to the same NFS share, and pull filesystem metadata at slightly
different times.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

May 1, 2012, 9:43 AM

Post #5 of 5 (248 views)
Permalink
Re: My default storage group is confused [In reply to]

On 05/01/2012 11:31 AM, Raymond Wagner wrote:
> On 5/1/2012 10:33, Richard Morton wrote:
>>
>> Really? If the -h stats showed the same but the more detailed stats
>> showed slight difference I guess myth TV would show them as two
>> different drives?
>>
>
> The comparison routine has a bit of fuzziness on the order of several
> megabytes to account for the scenario of two different hosts recording
> to the same NFS share, and pull filesystem metadata at slightly
> different times.

Not to mention the fact that the sizes--even when pulled at exactly the
same time (or very closely-spaced times when no writing is being done to
the file systems)--will vary dramatically from NFS client to client
based on kernel NFS settings (such as sizes, etc, which kernel auto-tunes).

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.