Author Topic: remote diskspace / NAS - HOWTO?  (Read 3951 times)

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
remote diskspace / NAS - HOWTO?
« on: June 05, 2008, 10:57:27 pm »
Hi forum,

I'm running out of diskspace.
As my system is still in a 'experimental' stadium, I'm looking at:

- How to let LMCE make use of external diskspace (FreeNAS or other)
-> I have a FreeNAS machine in my network with plenty of space, it has been discovered multiple times (I think I remedied that by adding MAC address to the device in DCEROUTER admin page)
-> This FreeNAS device has both NFS and SMB share, I've added the SMB as per the wiki, and added the NFS share analogous

Problem / Question?
LMCE still reports it's running out of diskspace.
When I SSH into LMCE and do df -h, the remote filesystems are not reported...??

- How can I move some recordings to an external share without disturbing the mythtv database??

Thanks for helping out!!

Erwin

cirion

  • Guru
  • ****
  • Posts: 353
    • View Profile
Re: remote diskspace / NAS - HOWTO?
« Reply #1 on: June 07, 2008, 11:23:56 am »
LMCE reports that you are running out of diskspace when the drive LMCE is using is low...
How big a disk did you install on? How much space is left?

If you have no media on your LMCE and it still say you are running out of space, then you should install LMCE on a bigger HD or Partition.

Your FreeNAS should provide the space needed for media, but it will not change the size of the install disk/partition.

If you are using TV, recordings and timeshifting may fill your drive. Move the paths...

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: remote diskspace / NAS - HOWTO?
« Reply #2 on: June 07, 2008, 11:45:10 am »
Cirion thanks for replying,

I agree;
hd = 250 G but indeed filling up with recordings

Can you advise on preferred way to change recording path so as to not disturb databases?
Do I change these in Myth?

I'm also looking for info on:
- what databases LMCE uses for managing video / audio / TV recordings
- is it all in one db? or several?

I have experienced that sometimes recording information is present in the db - but recording is not existing
I have experienced the contrary: recording information is lacking in db - but recording is present!!

(I use MythTV Player on my XP station, it connects directly to mythconverg db - there I see recording present
When checking on orbiter -> video recording is not present... or it may just be time lag in db updating)

I would definetely like to get a grip on this.
I've also considered adding a hd and mounting it to the /home/public/data dir, but I find this rather cumbersome and think there should be more user friendly solutions.

Have you or any forumuser experience with mythrename.plhttp://www.mythtv.org/wiki/index.php/Mythrename.pl or mythlink.pl?
Can this be used in LMCE??

Thanks for your advice!!

Erwin

royw

  • Guru
  • ****
  • Posts: 261
    • View Profile
Re: remote diskspace / NAS - HOWTO?
« Reply #3 on: June 08, 2008, 11:23:57 am »
I'm also looking for info on:
- what databases LMCE uses for managing video / audio / TV recordings
- is it all in one db? or several?

There are 5 databases (pluto_main, pluto_media, pluto_myth, pluto_security, & pluto_telecom) with a combined total of 317 tables.  There are some inter-database referencing (for example, pluto_media.File references pluto_main.MediaType via the pluto_media.FileAttribute join table).  Also LMCE is tightly coupled to MySQL and SqlCVS (http://wiki.linuxmce.org/index.php/SqlCVS).

A good starting point is to check out the source (http://wiki.linuxmce.org/index.php/Source) then look at the code for pluto-admin (.../web/pluto-admin).  You will also probably run into id3 tags, so looking at the source to UpdateMedia (.../src/UpdateMedia) might help.

There have been discussions in the forum on creating database documentation.  I've created Freemind mind maps of the 5 DBs.  I've also created ruby ActiveRecord models for each of the tables which handle the various associations (close, but still being refined).  Also can create rdocs from the models.

Most of my exploration has been around DVD media, so can't help much on the the audio & TV recordings...

HTH,
Roy

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: remote diskspace / NAS - HOWTO?
« Reply #4 on: June 08, 2008, 11:39:50 am »
Roy,

Thanks a lot for your precise input!
I'm happy to read you put information in Freemind! Actually I'm using mindmapping a lot to gain an insight in whatever subject. I have quite some input of my systems in Freemind as well.
I'm actually looking into integrating Freemind in mediawiki, as I feel this might be interesting for the LMCE community as well.

Would you be prepared to share your mindmaps about LMCE?

Thanks a lot!

Erwin
« Last Edit: June 08, 2008, 12:30:09 pm by Lexje »

royw

  • Guru
  • ****
  • Posts: 261
    • View Profile
Re: remote diskspace / NAS - HOWTO?
« Reply #5 on: June 08, 2008, 03:09:39 pm »
I'd love to see freemind integrated into the wiki, that'd be real cool!

Original article where I released the script to generate the mindmaps:

http://forum.linuxmce.org/index.php?topic=3459.msg22903#msg22903

I've also added the 0710 mindmaps at:

* http://roy.wright.org/linuxmce/pluto_main.mm
* http://roy.wright.org/linuxmce/pluto_media.mm
* http://roy.wright.org/linuxmce/pluto_myth.mm
* http://roy.wright.org/linuxmce/pluto_security.mm
* http://roy.wright.org/linuxmce/pluto_telecom.mm

Have fun,
Roy