[mythtv-users] Migrating existing recordings to new Storage Groups

Larry K lunchtimelarry at gmail.com
Tue Sep 11 00:08:53 UTC 2007

I am facing the same issue.  I also have two drives that make up an LVM
volume.  I am planning to upgrade to 0.20 and ditch LVM in favor of storage
groups as well, and was hoping to do this without the hassle of migrating my
recordings to some external storage device.

Assuming all my recording will fit on one side of the LVM group, isn't it
possible to:

1) move all the recordings from drive B to drive A (pvmove)
2) shrink the volume group (vgreduce)
3) drop physical volume B (pvremove)
4) reformat B and mount the file system (fdisk)
5) move files from A to B
6) reformat A and mount the file system
7) configure both mount points A and B as myth storage groups

I suppose there is no way to remove LVM with the recordings in place?  I was
hoping for a way to dump LVM without having to move the files around...

On 12/29/06, Janne Grunau <janne-mythtvusers at grunau.be> wrote:
> On Saturday 30 December 2006 02:05, Matt wrote:
> > On 12/29/06, Janne Grunau <janne-mythtvusers at grunau.be> wrote:
> > > On Saturday 30 December 2006 01:13, Matt wrote:
> > > > A couple of quick questions:
> > > > 1) What's the easiest way to migrate existing recordings from the
> > > > old recordings directory to the new storage groups method?
> > >
> > > The database update code takes care of this. It creates the default
> > > storage group and adds the old recording directory to the created
> > > storage group. No manual action necessary.
> >
> >   That really did actually answer my question, but I'm kinda going a
> > step farther.  My current recording directory is spread across two
> > drives on an LVM.  I want to destroy the LVM and create a single
> > partion on each drive.  Any ideas on how to accomplish this?
> With enough free space. Move all your data to a different location,
> remove the LVM, create ordinary partitions, format and mount them and
> move the data back.
> Janne
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070910/1b707ef8/attachment.htm 

More information about the mythtv-users mailing list