[mythtv-users] Storage Directories

Jonathan Larson jtlarson at u.washington.edu
Thu Oct 23 14:03:45 UTC 2008



From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Michael Lynch
Sent: Wednesday, October 22, 2008 8:16 PM
To: MythTV Users
Subject: [mythtv-users] Storage Directories

I recently had a drive in my LVM volume die so I figured now is as good of a time as any to give storage directories a try.  Here is how I have my current disks configured:

root at mythmaster:~# df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/hdb1               18G    13G   4.8G  73% /
/dev/hdc1              201G    25M   200G   1% /mythtv/storage/hdc1
/dev/hdd1              300G    37M   300G   1% /mythtv/storage/hdd1
/dev/sda1              201G    25M   200G   1% /mythtv/storage/sda1
/dev/sdb1              201G    25M   200G   1% /mythtv/storage/sdb1

I added each /mythtv/storage/* directory as a storage directory via mythtv-setup (without mythbackend running) and all appeared to go as planned.  When viewing the backend status via mythweb it looks like it tried to combine sda and sdb into one directory, like so:

=================
Disk Usage:

 *   MythTV Drive #1:

    *   Directory: mythmaster:/mythtv/storage/hdc1
    *   Total Space: 190,741 MB
    *   Space Used: 23 MB
    *   Space Free: 190,717 MB

 *   MythTV Drive #2:

    *   Directory: mythmaster:/mythtv/storage/hdd1
    *   Total Space: 286,061 MB
    *   Space Used: 35 MB
    *   Space Free: 286,026 MB

 *   MythTV Drive #3:

    *   Directories: mythmaster:/mythtv/storage/sda1, mythmaster:/mythtv/storage/sdb1
    *   Total Space: 190,741 MB
    *   Space Used: 23 MB
    *   Space Free: 190,718 MB

 *   Total Disk Space:

    *   Total Space: 667,544 MB
    *   Space Used: 81 MB
    *   Space Free: 667,462 MM
=================

Any ideas as to why the two would appear to be as one to mythbackend?

It's caused by the fact that both of those storage volumes have the same amount of total/free space. This causes myth to assume that you just mounted the same volume twice.

The good news is that you don't need to do anything-as soon as Myth stores a program in one of those paths, it will automatically realize that they are different volumes. As an alternative you can create/copy a dummy file to one of the storage dirs to change the free space.

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081023/e6d82770/attachment.htm 


More information about the mythtv-users mailing list