View unanswered posts    View active topics

All times are UTC - 6 hours





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

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Adding Second Hard Drive
PostPosted: Mon Feb 02, 2004 7:17 pm 
Offline
Joined: Sat Jan 10, 2004 12:52 am
Posts: 47
After many weeks of playing around I finally have my Myth box working with my Dishnetwork box and with the IR Blaster. I have also worked out all of the bugs that were haunting me.

For the above reasons I ask all of you experts this ...

Can I add a second hard to my current setup ? What I mean is this ..

I currently have a 40 gig drive in the box. I have also purchased a 120 gig drive, now I don't want to go through all the pain I had to with starting from scratch I'd just like to add the second hard drive to the system and move the /mythtv partition over to the 120 gig'r. Is this possible ? And if so how ?

Ns


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2004 8:07 pm 
Offline
Joined: Mon Jan 12, 2004 2:36 pm
Posts: 42
Yep, you can do that.

Basically, you'll just install the drive, partition (fdisk) and format it (with mkext2fs/makefs.ext2 or equivalent depending on whether you want ext2, ext3, xfs, etc.). Something like:
Quote:
fdisk /dev/hdb
<make your new huge partition>
mkfs.ext2 /dev/hdb1


You may also be interested in copying your current /mythtv/* onto the new drive. Just do this after the format and before the reboot. You'll have to mount the new drive temporarily (probably somewhere in /mnt). Something like this (of course, adjust the /dev/hdXX to your actual devices if different):
Quote:
mkdir /mnt/newdisk
mount -t ext2 /dev/hdb1 /mnt/newdisk
cp -p /mythtv/* /mnt/newdisk
umount /mnt/newdisk
rm -fr /mnt/newdisk


Then, edit your /etc/fstab and change the /mythtv partition from /dev/hdaX to /dev/hdbX (or whatever your real /dev/hd's are set to).

Then, when the system boots, it will automatically mount the new disk as /mythtv and everything should be rockin' :D

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2004 8:49 pm 
Offline
Joined: Sat Jan 10, 2004 12:52 am
Posts: 47
Awesome. Thanks. What would the best file system be ? I'm guessing ext3.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2004 8:56 pm 
Offline
Joined: Mon Jan 12, 2004 2:36 pm
Posts: 42
I believe that ext3 is the default for KnoppMyth auto-install. I have heard many people praise XFS also.

I'd probably just go with ext3 unless you want to do a bit of digging and look into XFS.

Mike


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2004 10:16 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I would stick with ext3 since I think the devs have mentioned possibly taking xfs support out in future releases.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 04, 2004 3:45 am 
Offline
Joined: Sun Jan 11, 2004 3:01 pm
Posts: 25
Location: germany
I love ReiserFS ! Why ?
because it is fast, and it is silent !
really I made the experience that reiser makes less noise the ext2/3. please dont ask me why :-)


z


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 11:29 am 
Offline
Joined: Wed Jan 07, 2004 5:21 pm
Posts: 116
I used lvm for my second drive, I edited the /etc/fstab file and now I'm afraid to reboot :?

The lvm how-to page describes how to create a script (/etc/init.d/lvm) and then perform update-rc.d lvm start 26 S . stop 82 1 . for a Debian installation. But the script /etc/init.d/lvm was allready there. So I guess I'm wondering if the script is allready started at boot time and if i should perform that update-rc.d command?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 11:32 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
No, LVM isn't started at boot. The only daemon that start are daemons needed for MythTV to run and Apache.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 11:37 am 
Offline
Joined: Wed Jan 07, 2004 5:21 pm
Posts: 116
Do you recommend using the lvm script that was allready there, or creating it they way the specify in the lvm how-to?

Would the update-rc.d command cause the lvm script to start at boot?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 11:47 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
As I have not used LVM, I cannot recommend anything. Yes, doing update-rc.d will cause LVM to start on boot. update-rc.d lvm defaults

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 12:38 pm 
Offline
Joined: Wed Jan 07, 2004 5:21 pm
Posts: 116
IT WORKED!!! WOHOO. Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 1:32 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Posting an LVM howto in the Usage/Howto section would be nice...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 1:47 pm 
Offline
Joined: Wed Dec 03, 2003 9:46 pm
Posts: 102
Location: Provo, UT
Yes, a LVM howto would be great. If you've got the time frustrated please do so.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 18, 2004 8:20 pm 
Offline
Joined: Wed Jan 07, 2004 5:21 pm
Posts: 116
No problem, just got back from class. I write one up tomorrow after work :) I was going to post everything I needed to do in R4V2 to get pvr 350 tv-out, and all the other bells and whistles to work.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 18, 2004 9:44 pm 
Offline
Joined: Sun Oct 10, 2004 9:20 pm
Posts: 29
After searching the forum for second hard drive information I came upon this thread. I see that one can turn the new hard drive into the myth partition, but is it possible to keep the original myth partition and have the secondary drive as a second myth partition?


Top
 Profile  
 

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



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu