[mythtv-users] removable storage questions

Michael T. Dean mtdean at thirdcontact.com
Wed May 27 14:07:55 UTC 2009


On 05/27/2009 09:21 AM, Dan Wilga wrote:
> IMHO, you'd be better off not using a storage group that points to an 
> occasionally-present drive. If you do that, the backend will try to 
> record new programs in the directory, even if there's nothing mounted 
> there.

Never specify a directory that's the mount point in a storage group.  
Instead /always/ create a subdirectory and specify that in a storage 
group.  That way, if the filesystem is unmounted, Myth will not use the 
directory (because it doesn't exist) so it won't "accidentally" write 
recordings to the parent filesystem.

For example, if you have a mount point for a filesystem:

/mythtv/filesystem1

do /not/ specify that directory in a storage group.  Instead create a 
subdirectory:

/mythtv/filesystem1/recordings

and specify that directory in your storage group.  If 
/mythtv/filesystem1 is not mounted, the "mount point directory" on the 
parent filesystem, /mythtv/filesystem1, still exists, but 
/mythtv/filesystem1/recordings does not.  Therefore, Myth will skip that 
filesystem/directory when deciding where to record.

Mike


More information about the mythtv-users mailing list