[mythtv-users] Moving to Storage Group (0.21-fixes)

Nick Rout nick.rout at gmail.com
Mon Nov 23 07:38:59 UTC 2009


On Mon, Nov 23, 2009 at 4:46 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 11/22/2009 09:24 PM, Nick Rout wrote:
>>
>> Running 0.21-fixes on mythbuntu.
>>
>> Original setup was 'out of the box' - recordings are in
>> /var/lib/mythtv/recordings
>>
>> Partition filling up, particularly as I also have a lot of videos in
>> /var/lib/mythtv/videos and music in /var/lib/mythtv/music
>>
>> Solution: buy terrabyte drive, partition, format and mount at
>> /mnt/sdb1.
>
> Never add the mount-point directory to the storage group directory list.  If
> you do, and for some reason that drive's file system isn't mounted, Myth
> will happily write to the "parent" file system--your root filesystem.
>  Instad, make a subdirectory under /mnt/sdb1--something like recordings--and
> then add /mnt/sdb1/recordings to the storage group directory list.
>

Yes I thought about that afterwards, I'll sort that in due course.

Your suggestion also allows me to us some portions of /mnt/sdb1 for
other purposes, eg I could also have a videos or music directory in
there.

>>  Go to mythtv-setup and add /mnt/sdb1 to the default storage
>> group. Note that /var/lib/mythtv/recordings is not listed as part of
>> the default storage group.
>>
>> Move all files from /var/lib/mythtv/recordings to /mnt/sdb1. System
>> works as normal.
>>
>> BUT now the system is only seeing a total of 1TB of storage with 280MB
>> used. In other words /var/lib/mythtv/recordings doesn't seem to be
>> counted any more, and I assume isn't being recorded to either.
>>
>> I had thought that by adding the new directory to the default storage
>> group myth would record both to there and to the old location. Am I
>> wrong?
>
> It will, but--and here I quote you--"Note that /var/lib/mythtv/recordings is
> not listed as part of the default storage group."  You seem to want both
> /var/lib/mythtv/recordings and /mnt/sdb1/recordings (corrected, as above) in
> the Default storage group, but you didn't configure it that way.

So before I made these changes, what awas telling myth to record to
/var/lib/mythtv/recordings? Is that another, non storage groups,
setting? Or just a default?


More information about the mythtv-users mailing list