[mythtvnz] Installed new storage drive - lost previous recordings

Nick Rout nick.rout at gmail.com
Thu Feb 2 02:46:14 GMT 2012


On Thu, Feb 2, 2012 at 3:19 PM, Paulgir <paulgir at gmail.com> wrote:
> On Thu, 02 Feb 2012 14:35:50 +1300, Ross Williamson <ross at inertia.net.nz>
> wrote:
>
>>> Apparently,immediately after executing this command: "sudo mount
>>> /dev/sdb1
>>> /var/lib/mythtv"
>>> I was unable to access any existing recordings that are still showing on
>>> the recordings list.
>>>
>>> Is there any way I can get these back?
>>
>>
>> Does "sudo umount /var/lib/mythtv" bring them back? Note: this will mean
>> you no longer have the new drive available for recordings.
>>
>> My guess is you have mounted your new drive over the top of the directory
>> where your previous recordings are.
>>
>> In this case, you'll either need to move all the recordings to your new
>> drive (by mounting the new drive elsewhere, moving the content to it, then
>> mounting the new drive back at /var/lib/mythtv) or set up the new drive as a
>> separate storage location in MythTV. It basically comes down to: do you want
>> the new drive to be the /only/ place for new recordings? Or an additional
>> place for recordings?
>>
>>
>> Ross
>>
>> _______________________________________________
>> 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/
>
>
> Thanks. sudo umount /var/lib/mythtv brought them back.
>
> I guess it would be advisable to keep the new drive for recordings etc.
> and the smaller drive for the OS .
> What is the best way to move those existing recordings off the smaller
> drive?

1. mount the new drive to somewhere sensible, like /mnt/recordings1

2. make a new directory in it, say /mnt/recordings1/recordings That
should already be there from what you did earlier.

3. add /mnt/recordings/recordings1  to the default storage group.

Then you have /var/lib/mythtv/recordings and
/mnt/recordings1/recordings in the default SG. You need go no further
if you are happy to still use both drives.

If you want it to stop using  /var/lib/mythtv/recordings, remove it
from the default SG and simply move everything from
/var/lib/mythtv/recordings to /mnt/recordings1/recordings with the mv
command.

Same goes for the other SG's (fanart etc)

>
> Cheers
> Paul
>
>
> _______________________________________________
> 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