View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 23 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Multiple Hard Drives
PostPosted: Fri Jul 28, 2006 11:21 am 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
Greetings Knoppmyth Experts,

I just set up my backend server for MythTV everything is working great so far. I just did the basic auto installation running through the setup screens pretty quickly but I might not have optimized my hardware storage for my computer. As I said, everything is running seemlessly right now so, hopefully, I don't have to reinstall and drop my recordings so far. So here is my question:

My machine has 3 internal hard drives but I think that the auto install is only making use of one of them. I all want to do is take the other two hard drives and add them to the space for my recordings ...

Can somebody step me through how to safely add my additional drives to the correct partition or is this possible without reformatting things.

Thanks in advance,
Wally Atkins


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 11:25 am 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Best bet is following the LVM howto on wiki.

http://www.knoppmythwiki.org/index.php?page=LvmHowTo

Can do it via the script or manual way.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 8:32 pm 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
Since I have already installed things and have my machine up and running what is the best way to accomplish this? Insert the install CD and try to do an "upgrade"? Then follow the guides that you suggested?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 8:54 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Did you read the howto? It does state how one can you this...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 11:09 am 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
I tried the steps from the Standard Automated LVM Setup and when I did the umount of /myth it told me that the drive is busy ... which makes sense. So I wasn't quite sure how to get around this and the first thought that I had was it needs to be done while things were being done from the install disk ... am I not on the right track here?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 11:27 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Yes you are... Don't mean to be hard on you, but if you'd have give the error in the first place, you'd be further along. Most likely you need to stop the backend first.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 12:09 pm 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
What is the most graceful way to shutdown the backend? I hate to sound like a complete n00b but so far I've had a bit of a rough intro into getting my Myth box up and running and I don't want to kill what I have going right now ...

Any pointers you can give would be great.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 29, 2006 12:17 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Code:
/etc/init.d/mythtv-backend stop


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 31, 2006 8:28 am 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
Just to make sure ... I have three hard drives

- 80GB [hda1, hda2, hda3]
- 80GB [hdb1]
- 200GB [hdd1]

When using:
Code:
create_lvm.sh

Do I add both drives at the same time?
Code:
create_lvm.sh /dev/hda3 /dev/hdb1 /dev/hdd1

Or one at a time?
Code:
create_lvm.sh /dev/hda3 /dev/hdb1
create_lvm.sh /dev/hda3 /dev/hdd1


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 31, 2006 8:26 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
In rough outline:

- Stop the myth daemons.

- Back up your /myth (Just make a tar ball of the whole thing and stash it somewhere.)

- Do the create with all three partitions you'll be using. (Ignore any whining about hda4)

- Format that new volume (ext3 is easy)

- Mount it as /myth (Should be just "mount /myth" since the script updates your /etc/fstab.)

- Restore the backup onto it.

- Restart your daemons or just reboot.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 8:57 am 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
When I attempt to format the drive using the line:
Code:
mke2fs -j -O sparse_super -m0 -i8000000 -L myth /dev/vg/myth

I get an error that says that it cannot find the special device /dev/vg/myth
Also I cannot mount /myth afterwards ... I am obviously doing something wrong. Where is the best place to start looking for where I made a wrong step?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 4:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
What does vgscan show?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 6:39 pm 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
Code:
root@mythtv:~# vgscan
  Reading all physical volumes.  This may take a while...
root@mythtv:~#


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 02, 2006 6:52 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
OK, how about pvscan and if that works pvdisplay? Frankly it sounds like you're failing very early in the game. Did you partition those other drives? Generally they should just be one big partition.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 03, 2006 4:20 pm 
Offline
Joined: Sun Mar 26, 2006 6:12 pm
Posts: 14
PVSCAN and PVDISPLAY didn't show me anything either. Here's a quick rundown on my scenario:

1. I can run the install CD of KnoppMyth (R5C7) and get it up and running every time ... that is to the point where it will utlize fully one of my hard drives and I can watch TV on my coputer monitor ... which is fine for now. Spitting it out to my TV will come later ... once I get the backing correctly configured.

2. I have not figured out how to setup LVM correctly so it will add my two additional drives to the /myth partition.

3. For some crazy reason I cannot get the Perl script to control my DirecTV receiver to work again ... (http://www.pdp8.net/directv/directv.shtml). It was working just fine and dandy and now I can't get it working at all. I could live with somewhat limited storage but not being able to change channels via MythTV is going to kill me.

I have re-installed KnoppMyth more times than I can count. Any suggestions on the best way to start so my drives will be fully utilized? Any pointers on how to diagnose what is going wrong with the serial port perl script? It tells me that it tries to initialize the port and stops after 4 timeouts.

Any suggestions are greatly appreciated!!!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 28 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