[mythtv-users] too tight

Hika van den Hoven hikavdh at gmail.com
Fri Dec 19 19:28:04 UTC 2014


Hoi Hika,

Friday, December 19, 2014, 8:24:39 PM, you wrote:

> Hoi Daryl,

> Friday, December 19, 2014, 6:49:03 PM, you wrote:

>> Greetings Mythizens, recently I installed a 32 Gb SSD for my OS and
>> use the two 1Tb drives for storage, it seems, however that the
>> remaining 14 Gb or so space on the SSD is too tight for manipulating
>> HD recordings with mytharchive, so I'm considering moving
>> mytharchive to one of the Tb drives, which has plenty of space for
>> such operations. So a move from here:
>> daryl at daryl-A780L3C:~$ ls -al /var/lib/mytharchive
>> total 12
>> drwxr-xr-x  3 root   root   4096 Dec  1 13:03 .
>> drwxr-xr-x 75 root   root   4096 Dec  1 13:03 ..
>> drwxrwsr-x  5 mythtv mythtv 4096 Dec  1 13:10 temp
>> to here:
>> daryl at daryl-A780L3C:~$ ls -al /media/storage2/mythtv
>> total 20
>> drwxrwxr-x 5 mythtv mythtv 4096 Nov  5 13:56 .
>> drwxr-xr-x 5 root   root   4096 Nov  2 09:26 ..
>> drwx------ 3 daryl  daryl  4096 Dec 19 11:53 Dropbox
>> drwxrwxr-x 2 mythtv mythtv 4096 Dec 19 11:53 recordings
>> drwxrwxr-x 2 daryl  daryl  4096 Nov  2 09:24 rsync
>> could be accomplished with the command"sudo mv /var/lib/mytharchive
>> /media/storage2/mythtv"  and then a link would need to be created
>> with the command "sudo ln /media/storage2/mytharchive /var/lib" and
>> then check ownership and permissions. Will this plan of attack
>> accomplish my goal? Are the commands correct as presented?   Daryl

> You don't need to use ln.
> - Create a directory mytharchive or a name of your choise on your
>   storage drive.
> - Move over the contents of /var/lib/mytharchive to your new directory
> - issue: mount --bind <full path on storage> /var/lib/mytharchiv
> - to make it permanent add to /etc/fstab:
>       <full path on storage>   /var/lib/mytharchiv  none  bind  0 0

Two more remarks:
- You have to leave the directory /var/lib/mytharchiv as mount-point
  anything you leave in there won't be accessible anymore so check for
  dot-files! ls -a
- Make sure that the new line in /etc/fstab is below the the line
  where you mount your storage drive. It's therefore good practice to
  place any 'bind mount' at the bottom.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list