[mythtv-users] mounting more than one drive to a directory

Josh Mastronarde jmastron at gmail.com
Sun Dec 14 03:14:55 UTC 2008


On Sat, Dec 13, 2008 at 7:06 PM, steve <sfreilly at roadrunner.com> wrote:
> John Drescher wrote:
>> On Sat, Dec 13, 2008 at 9:25 PM, Christopher X. Candreva
>> <chris at westnet.com> wrote:
>>> On Sat, 13 Dec 2008, steve wrote:
>>>
>>>> now, my question, I filled one 200 gig usb drive, mounted another one,
>>>> and am starting to add to this empty drive.  is it possible to have both
>>>> drives mounted in the same directory (video) on my backend?  attempts so
>>>> far have been unsuccessful.
>>> No. What I've done is have a main 'video' directory and a secondary "video2"
>>> directory, then use symlinks from video to video2, so they all apear in one
>>> big directory.
>>>
>> You could also use aufs.
>>
>> http://aufs.sourceforge.net/aufs.html
>
> hi, thanks both for the ideas.  I think ill try the symlinks, my head
> started spinning after reading the first paragraph on the aufs page lol

Unless I'm misunderstanding what you want to do, I think you want
"Storage Groups" in Myth -- mount the drives to separate directories
(/video1, /video2, etc), and put them in one storage group.  Myth will
automagically manage the directories as it adds/deletes shows; no
manual linking/moving required.  You specify the directories in
"mythtv-setup"

The more generic way to do what you're thinking of for all uses is LVM
(Logical Volume Manager), which allows multiple physical partitions to
be used as one big logical volume.  But that has its own risks,
drawbacks (e.g. if one drive crashes, everything from all drives may
be corrupted) and benefits, so I wouldn't recommend it unless you
really know what you're doing and why -- Storage Groups is really the
better solution for just MythTV purposes.

Josh


More information about the mythtv-users mailing list