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

Michael T. Dean mtdean at thirdcontact.com
Mon Nov 23 03:46:45 UTC 2009

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.

>  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.


More information about the mythtv-users mailing list