[mythtvnz] Adding a HDD with existing myth directories

Nick Rout nick.rout at gmail.com
Sun Nov 25 03:30:50 GMT 2007


LVM has problems. One disk goes down and you lose the lot. By all
accounts mythtv's relatively new storage groups feature is more
flexible and safer. I am not sure what version it appeared in, or
whether it is only in trunk.

On Nov 25, 2007 3:50 PM, Corrin Lakeland <lakeland at gmail.com> wrote:
> I personally would do it a little differently:
>
> Build the new one - test it and make sure it is all good.  Make sure
> you set it up with recordings on an LVM partition
> Copy all recordings across
> Export and import the recordings database
> Check the new one works perfectly with the recordings
>
> Once everything is perfectly happy with the new box, then move the
> hard drive out of the old machine and into the new machine
> format the old hard drive as LVM
> vgextend the LVM partition with recordings on
> resize the filesystem
>
> Difference in my approach is that:
>         1) You have slightly more hassle in the initial setup of the new
> machine (have to use LVM)
>         2) You have a very slightly safer transition - at all points you
> have at least one copy of mythtv running with all recordings
>         3) You get more space for recordings (size of the new drive + the
> size of the old drive)
>         4) You have slightly higher risk of data loss long term (a LVM hard
> drive failing will lose all files in the group).
>         5) You have a conceptually simpler result (a single huge directory
> for recordings rather than two medium-sized directories)
>
> I guess go with whichever appeals more :)
>
> Corrin
>
>
> On 25/11/2007, at 8:40 AM, Criggie wrote:
>
> > Noel & Di wrote:
> >> I have built a replacement MythBox using Mythbuntu 7.01 (Tier 1
> >> yaaay!)
> >> and want to add the HDD from the soon to be decommissioned Knoppmyth
> >> R5F27 box.  Any tips & tricks for this without reducing the WAF. (I
> >> intend to use only the recordings from the old driver & delete the
> >> OS)
> >
> > Build the new one - test it and make sure its all good.  Copy some
> > of the
> > recordings across to test.   You'll also need to export and import the
> > recordings database, else its just a bunch of files.
> >
> > http://www.mythtv.org/wiki/index.php/
> > Upgrading_from_0.18.1_to_0.19_on_Fedora_4_from_ATrpms#Create_a_backup_
> > of_your_database
> > gives a few hints about backing up the database.
> >
> > THEN move the recordings HDD to the new box and mount it over the
> > recordings directory, so that the files appear in the same place.  You
> > should reimport the recordings database again at this stage.
> >
> > Then when its all done and dusted, use the old mythbox as a test
> > platform.
> > Whether it should be a slave backend to the main system or not, I
> > can't
> > comment.
> >
> > --
> > Criggie
> >
> > http://criggie.dyndns.org/
> >
> >
> >
> >
> > _______________________________________________
> > mythtvnz mailing list
> > mythtvnz at lists.linuxnut.co.nz
> > http://lists.ourshack.com/mailman/listinfo/mythtvnz
> > Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>



More information about the mythtvnz mailing list