View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Feb 02, 2007 12:41 pm 
Offline
Joined: Tue Jun 20, 2006 12:25 pm
Posts: 12
I have a problem with my mythtv box where I want to install another hard drive into the system. I realize that there is a way around this by using the Raid method however there might be another way round

what if there was another partition in hda2 which would link up to a folder such as /myth2. Then recording could be recorded here as well. But to do that and make mythtv believe that the files are still located in /myth we could use symbolic links to get access to them, this step could even be written as a job. this way installation of another hard drive would be easier and safer

So if anyone knows if this is possible or not then please tell me


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 12:49 pm 
Offline
Joined: Fri Nov 18, 2005 9:22 am
Posts: 777
Location: spencerport, ny (USA)
Just mount the new drive under /myth or /myth/tv and use the new drive only for recordings.
There is NOT a way to tell MythTV to have multiple storage locations. That would be awesome if it could, but it can't. Hopefully somebody smart will add that someday. Then you could just tell MythTV to use a handful of storage locations, ideally with prioritization and intelligent moving of old shows. That way you could just add disks or network mounts and tell Myth to use them, and which to use for recording and which to use for archiving (i.e. record to the fastest drive, then after 3 days, or after it's been watched, move to secondary or tertiary locations). No more LVM, so no more risk of losing everything if one drive fails.
I think that's what you want, me too, but it isn't here yet.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 12:53 pm 
Offline
Joined: Tue Jun 20, 2006 12:25 pm
Posts: 12
well its good to know someone has the same problem, however I wanted mythtv to use both hard drives for recordings, hmm Im gonna go mess with some links and see what happens, you never know


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 1:18 pm 
Offline
Joined: Mon Nov 28, 2005 10:44 am
Posts: 137
Location: Austin, TX
What about LVM? (http://en.wikipedia.org/wiki/Lvm)

There's instructions here:
http://knoppmythwiki.org/index.php?page=LvmHowTo


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 1:43 pm 
Offline
Joined: Tue Jun 20, 2006 12:25 pm
Posts: 12
i am thinking about LVM however does it format/delete the contents on the drive


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 6:57 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
SInce there's nothing on the new drive the trick is to set that up as LVM first, copy all the old content over, then add the old partition to the LVM volume, and extend you FS. You can do this with EXT3, and I think JFS supports this too.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 02, 2007 7:42 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
thornsoft wrote:
There is NOT a way to tell MythTV to have multiple storage locations.


There is in SVN head. It is called Storage Groups. If you can wait several months for 0.21 (or are willing to live on the bleeding edge and compile/run the latest source), it is much tidier.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 03, 2007 12:42 pm 
Offline
Joined: Tue Jun 20, 2006 12:25 pm
Posts: 12
cool, good information peeps, I think i may do the LVM thing for now, however using yje idea from nigelpearson this could mean that we "could" use multiple servers for storage meaning that a multiple backend setup will not be needed


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 04, 2007 1:41 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
The storage groups seem like the way to go. Meanwhile, for a workaround now, you can use multiple drives in the /myth filesystem, as suggested before. Think of separate hard drives for:

/myth/tv
/myth/video
...

Put a 500G hard drive on each and separate your TV shows from your movies, etc. This was my plan before I learned of the new feature in SVN.

Now I plan to watch less TV until it's ready... ;-)

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 04, 2007 10:03 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You can also move the files manually and leave just a symlink in the /myth/tv directory. At one point I had a script to do this which I may even have posted. For this to work properly you should do any commercial cutting, transcoding or the like, before moving the files and make sure to check the "Delete follows symlinks" option in mythtv-setup under 1. General on the 3rd page.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu