NFS Server for PVR

TAPs für die SRP- und CRP-Serie
Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1327
Registriert: Mo 12. Dez 2005, 19:14
Receivertyp: SRP2100, PVR5000, Vu+ Ultimo4K mit DVB-S2 + DVB-T2
Receiverfirmware: Die Aktuelle
Wohnort: Grafschaft

AW: NFS Server for PVR

#61

Beitrag von Mucki » Mo 14. Apr 2014, 10:27

When I press the Start-Button for the NFS-Server then TMS2100 freeze and the Telenet-Console was immediatly closed.
Gruß Mucki :)

Taps: SE, TMSArchiv, V!deotext, Callmonitor, lost+found, TMSRemote, TimeShiftSaver, NiceDisplay, FastSkip, TMSCommander, Backupsettings, FreeSatEit_TMS, TMSMount, Inf+, TMA1

Neu Ultimo4K mit SmartEPGVu+, Autotimer, AutomaticBackup, EMC, Camofs, CoolTV, AdvancedLibrary, VWeather3.
Skin: IFlatHD mit Eisman Pro Features

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#62

Beitrag von DeltaMikeCharlie » Mo 14. Apr 2014, 11:46

I have noticed from the image that you posted that the NFS server is disabled. You could try logging on to the Telnet console and loading the NFS server manually. Change directory into Settings/TMSServer and run "sh 040-unfsd.control start" and see what happens.

I will add some logging to file in the next version and perhaps we can get some more useful diagnostics data.

Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1327
Registriert: Mo 12. Dez 2005, 19:14
Receivertyp: SRP2100, PVR5000, Vu+ Ultimo4K mit DVB-S2 + DVB-T2
Receiverfirmware: Die Aktuelle
Wohnort: Grafschaft

AW: NFS Server for PVR

#63

Beitrag von Mucki » Mo 14. Apr 2014, 11:58

This is good, thank You !
Zuletzt geändert von Mucki am Mo 14. Apr 2014, 12:08, insgesamt 1-mal geändert.
Gruß Mucki :)

Taps: SE, TMSArchiv, V!deotext, Callmonitor, lost+found, TMSRemote, TimeShiftSaver, NiceDisplay, FastSkip, TMSCommander, Backupsettings, FreeSatEit_TMS, TMSMount, Inf+, TMA1

Neu Ultimo4K mit SmartEPGVu+, Autotimer, AutomaticBackup, EMC, Camofs, CoolTV, AdvancedLibrary, VWeather3.
Skin: IFlatHD mit Eisman Pro Features

Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1327
Registriert: Mo 12. Dez 2005, 19:14
Receivertyp: SRP2100, PVR5000, Vu+ Ultimo4K mit DVB-S2 + DVB-T2
Receiverfirmware: Die Aktuelle
Wohnort: Grafschaft

AW: NFS Server for PVR

#64

Beitrag von Mucki » Mo 14. Apr 2014, 12:09

When I start the NFS-Server manually the Error is, that the unfsd-File was not found in the Folder.
(none) login: root
# cd /mnt/hd/ProgramFiles/Settings/
# cd TMSServer/
# sh 040-unfsd.control start
chmod: /mnt/hd/ProgramFiles/Settings/TMSServer/unfsd: No such file or directory
040-unfsd.control: /mnt/hd/ProgramFiles/Settings/TMSServer/unfsd: No such file or directory
0,NFS,NFS Server
#

It is my mistake. I delete all Scripts in the SettingsFolder and copy your new scripts in this Folder.
The unfsd-File was not in your Script-Zip..... :patsch:
Zuletzt geändert von Mucki am Mo 14. Apr 2014, 12:17, insgesamt 3-mal geändert.
Gruß Mucki :)

Taps: SE, TMSArchiv, V!deotext, Callmonitor, lost+found, TMSRemote, TimeShiftSaver, NiceDisplay, FastSkip, TMSCommander, Backupsettings, FreeSatEit_TMS, TMSMount, Inf+, TMA1

Neu Ultimo4K mit SmartEPGVu+, Autotimer, AutomaticBackup, EMC, Camofs, CoolTV, AdvancedLibrary, VWeather3.
Skin: IFlatHD mit Eisman Pro Features

Benutzeravatar
macfan
Ex-iTiNa-Promoter
Ex-iTiNa-Promoter
Beiträge: 24968
Registriert: Fr 9. Dez 2005, 10:16
Receivertyp: 2 x TF 2401 CI+, 2100, 5200 C, VU+ Ultimo 4K
Receiverfirmware: SRP-Serie: die neueste, 5k: Jan 07 PTU, VU+ VTi 15.0
Wohnort: Dortmund

AW: NFS Server for PVR

#65

Beitrag von macfan » Fr 30. Mai 2014, 10:31

Der NFS-Server läuft jetzt. Kann ich in NASMount mein "normales" NAS und den Topf gleichzeitig konfigurieren?

Gruß, Horst

Benutzeravatar
Töppi
TöppiHolic der mit dem h tanzt , Anstifter und Möchtegernstatusaufdecker
TöppiHolic der mit dem <font color=ed>h</font> tanzt <font color=#E9E9E9>,  Anstifter und Möchtegernstatusaufdecker</font>
Beiträge: 26843
Registriert: So 27. Aug 2006, 19:22
Receivertyp: 2410M
Receiverfirmware: Feb. 2014
Wohnort: Nähe Mainz

AW: NFS Server for PVR

#66

Beitrag von Töppi » Fr 30. Mai 2014, 10:35

Gegen Ende des Beitrags steht deine Antwort: Klick
Gruß
Klaus :wink:
................
:topf: SRP-2410M

:respekt:
TAP's (Autostart):
| TMSDisplay | F*Skip TMS 3.xx | SmartEPG | SmartFiler | RebuildNAV | Automove TMS | TMSRemote | Callmonitor | SmartSeriesrename | Switch2FTA |

Benutzeravatar
macfan
Ex-iTiNa-Promoter
Ex-iTiNa-Promoter
Beiträge: 24968
Registriert: Fr 9. Dez 2005, 10:16
Receivertyp: 2 x TF 2401 CI+, 2100, 5200 C, VU+ Ultimo 4K
Receiverfirmware: SRP-Serie: die neueste, 5k: Jan 07 PTU, VU+ VTi 15.0
Wohnort: Dortmund

AW: NFS Server for PVR

#67

Beitrag von macfan » Fr 30. Mai 2014, 16:35

Danke!

Gruß, Horst

Benutzeravatar
macfan
Ex-iTiNa-Promoter
Ex-iTiNa-Promoter
Beiträge: 24968
Registriert: Fr 9. Dez 2005, 10:16
Receivertyp: 2 x TF 2401 CI+, 2100, 5200 C, VU+ Ultimo 4K
Receiverfirmware: SRP-Serie: die neueste, 5k: Jan 07 PTU, VU+ VTi 15.0
Wohnort: Dortmund

AW: NFS Server for PVR

#68

Beitrag von macfan » Fr 30. Mai 2014, 18:57

I got my new 2401 today and connected it to the old 2100 via TMSServer and NASMount. All worked at once, great! :hello: Thank you!

Gruß, Horst

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#69

Beitrag von DeltaMikeCharlie » Fr 30. Mai 2014, 23:58

Status Update: I have not forgotten about this project. I have been working on a version of TMSServer that broadcasts the fact that it is sharing its HDD.

I have also written a new TAP called TMSClient that can listen for these broadcasts and automatically mount the HDD advertised by TMSServer. Once the 2 TAPs are loaded, PVR HDDs are shared automatically with very little user configuration required.

TMSClient will also work with FireBird's TMSRemote and allow the user to control the OSD of another PVR.

TMSServer will also tell TMSClient when its PVR is powering off so that TMSClient can unmount the drive cleanly. TMSClient also checks to see if TMSServer has crashed and also unmounts the drive cleanly.

All of this works perfectly for me when there is only 1 PVR with TMSClient and only 1 PVR with TMSServer. Unfortunately, if I run TMSServer and TMSClient on the same PVR so that both PVRs can share each others HDDs, both PVRs become unstable and reboot. This does not happen if I manually share and mount the HDDs, only when TMSServer/TMSClient are running on the same PVR.

Unfortunately, I won't release these TAPs in this condition because of the potential damage they could do. I am debugging this problem, but it is a long slow process trying to identify what is going wrong.

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#70

Beitrag von DeltaMikeCharlie » Sa 31. Mai 2014, 08:22

DeltaMikeCharlie hat geschrieben:This does not happen if I manually share and mount the HDDs

I decided to test this statement and I found it to be false. The mount does not fail, however, when I tried to play a recording from PVR A on PVR B and a recording from PVR B on PVR A at the same time, both PVRs froze.

Can I please ask for a volunteer to try and replicate these results? Warning, this test may cause your PVRs to freeze.
  1. Run TMSServer on PVR A
  2. Run TMSServer on PVR B
  3. Mount PVR A's HDD on PVR B
  4. Mount PVR B's HDD on PVR A
  5. On PVR A, play a recording from PVR B
  6. On PVR B, play a recording from PVR A (Both PVRs should freeze as soon as you navigate to PVR A's directory on PVR B.)
If this is confirmed, it will mean that I will have to reconsider how TMSServer and TMSClient operate. A PVR can be either a server or a client, but not both at once.

I may have to combine TMSServer and TMSClient into a single TAP with the ability to switch modes between server and client. All of the automatic broadcasting and mounting services would remain, but sharing would only work in 1 direction at a time.

Benutzeravatar
Twilight
Zauberküchencheflehrling mit extra Butter
Zauberküchencheflehrling mit extra Butter
Beiträge: 64737
Registriert: Fr 9. Dez 2005, 09:17
Receivertyp: 1 x SRP 2100(TMS) TFIR und .1 x SRP 2410 M
Wohnort: Wien Umgebung

AW: NFS Server for PVR

#71

Beitrag von Twilight » Sa 31. Mai 2014, 08:28

where can i get this taps to do the test for you?

twilight

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#72

Beitrag von DeltaMikeCharlie » Sa 31. Mai 2014, 08:38

Thanks twilight, the TAP is here.

You will need to use NASMount as the client or issue the mount command manually from a telnet session.

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#73

Beitrag von DeltaMikeCharlie » Sa 31. Mai 2014, 09:11

I just did a test that suggests that the client and server can coexist on the same PVR as long as 2 PVRs don't try and mount each other's HDD.
  • Centos Linux shared a directory (Simulating a NAS).
  • PVR A mounted Centos and played a file.
  • PVR A shares a local directory.
  • PVR B mounts PVR A and plays a file.
PVR A is acting as a client to Centos and as a server to PVR B. It was only when PVR A <-> PVR B that the problem occurs.

Benutzeravatar
macfan
Ex-iTiNa-Promoter
Ex-iTiNa-Promoter
Beiträge: 24968
Registriert: Fr 9. Dez 2005, 10:16
Receivertyp: 2 x TF 2401 CI+, 2100, 5200 C, VU+ Ultimo 4K
Receiverfirmware: SRP-Serie: die neueste, 5k: Jan 07 PTU, VU+ VTi 15.0
Wohnort: Dortmund

AW: NFS Server for PVR

#74

Beitrag von macfan » Sa 31. Mai 2014, 09:16

The news about TMSClient sound great! :respekt:

Gruß, Horst

Benutzeravatar
Twilight
Zauberküchencheflehrling mit extra Butter
Zauberküchencheflehrling mit extra Butter
Beiträge: 64737
Registriert: Fr 9. Dez 2005, 09:17
Receivertyp: 1 x SRP 2100(TMS) TFIR und .1 x SRP 2410 M
Wohnort: Wien Umgebung

AW: NFS Server for PVR

#75

Beitrag von Twilight » Sa 31. Mai 2014, 09:25

sorry I have just mounted the first device :rolleyes:

for my understanding: if I mount reveiver A to B and B to A and the filer tap search in all directorys when I start it, it must have a feedbackloop :thinker:

twilight

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#76

Beitrag von DeltaMikeCharlie » Sa 31. Mai 2014, 09:31

[quote="Twilight"]the filer tap search in all directorys when I start it, it must have a feedbackloop[/quote]
Perhaps you could use the standard PVR file list for the test.

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#77

Beitrag von DeltaMikeCharlie » Sa 31. Mai 2014, 09:45

An Australian friend with 3 PVRs just tried: A -> B, B -> C, C -> A, and the 3 PVRs foze when the last client connected. It sounds like something to do with an NFS loop.

Benutzeravatar
Twilight
Zauberküchencheflehrling mit extra Butter
Zauberküchencheflehrling mit extra Butter
Beiträge: 64737
Registriert: Fr 9. Dez 2005, 09:17
Receivertyp: 1 x SRP 2100(TMS) TFIR und .1 x SRP 2410 M
Wohnort: Wien Umgebung

AW: NFS Server for PVR

#78

Beitrag von Twilight » Sa 31. Mai 2014, 10:02

;)

twilight

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: NFS Server for PVR

#79

Beitrag von DeltaMikeCharlie » Sa 23. Aug 2014, 07:06

Well, it has been a few months, but I think that I have progressed TMSServer and TMSClient to a stage where they can be tested more broadly.

TMSServer and TMSClient are a pair of TAPs designed to allow multiple Topfield PVRs to communicate with each other and share recordings and other media.

Before you start TMSClient anywhere, TMSServer needs to be given a name. Load TMSServer and then enter the config page using TMSCommander. The name should not contain spaces. If you are already using WebControl, you can skip this step because WebControl and TMSServer share the same name file.

TMSServer

TMSServer provides services that allow users to remotely access the PVR from other network equipment using a variety of protocols:

Telnet - Command line access to the underlying operating system. This is mainly for "power users" and is disabled by default.

NFS - Allows the recordings on your PVR to be accessed by other PVRs or networked computers. (I use NekoDrive on my PC to access my PVR)

FTP - An alternate file transfer protocol server that has higher throughput and better stability than the built-in FTP server. This is also disabled by default and requires busybox.

TMSServer is a flexible framework designed to be expandable and to be able to accommodate additional network services without significant effort in the future.

By default, TMSServer advertises the services that it provides at regular intervals. Other systems, like those using TMSClient can receive these broadcasts, learn which services are available and connect automatically.

When a PVR running TMSServer receives a shutdown command from the user, it will automatically advise all TMSClient PVRs attached that it is about to shutdown so that they can automatically disconnect cleanly and safely.

Acknowledgements

TMSServer consolidates the functionality of several other TAPs, namely: KMTelnet, TMSTelnetd and StartFTPd. TMSServer was also inspired by "Script". I acknowledge and recognise the contributions of the authors of these TAPs.

TMSClient

TMSClient allows a PVR to connect to another PVR running TMSServer and play recordings and other media stored from that device. TMSClient can automatically learn about other PVRs that are using TMSServer and attach to them immediately.

When TMSClient connects to TMSServer, new folders will be created on the client PVR with the name of the server PVR in /DataFiles, /MediaFiles, /PhotoFiles and /MP3Files. If the name allocated to a server is "LoungeRoom", then the new folders will be called "@LoungeRoom".

If a PVR running TMSServer is also running TMSRemote (v4.1 or higher), then TMSClient can take control of the server's on-screen-display and operate the PVR remotely for tasks like reading the EPG and setting recording reservations.

To control the OSD of another PVR running TMSServer. Activate TMSClient via the TMSCommander menu. Locate the PVR that you want to control and press the yellow button. To exit a remote control session, press the "Mute" button.

It does not matter if the client and server have different remote control types, TMSClient learns the remote control type of the server and ensures that the client's remote control codes are translated to the server's remote control codes before sending them.

A PVR can run both TMSServer and TMSClient at the same time. This means that both PVRs can share recordings and control each others GUI.

You can manually download TMSServer and TMSClient from here.

Test this at your own risk. The system is by no means perfect and in the interests of full disclosure, there were some issues encountered during testing:

During testing with my 2 PVRs, I sometimes found that the TMSClient PVR went into a connect/disconnect loop that made the client PVR unresponsive, but recodings were unaffected. If this happens to you, stop TMSServer on the server PVR and the client PVR will dismount and stop looping.

I have one user who has tested with 3 PVRs and can have 3 servers running but only 2 clients. It does not matter which 2 of the 3 PVRs are clients, but the total is 2. If he tries 3 clients, all 3 PVRs reboot spontaneously. By contrast, I have another test user who has had the system running on 8 PVRs simultaneously without any looping or reboots.

There was also 1 user who lost the contents of the /DataFiles directory. The exact circumstances are unknown and efforts to recreate the event have failed. However, the incident appears to have happened when the user attempted to rename a mount point and deleted something by accident. This incident was most likely the result of finger trouble. If you need to rename a mount point, stop the server, change the server's name and then restart the server.

Benutzeravatar
Twilight
Zauberküchencheflehrling mit extra Butter
Zauberküchencheflehrling mit extra Butter
Beiträge: 64737
Registriert: Fr 9. Dez 2005, 09:17
Receivertyp: 1 x SRP 2100(TMS) TFIR und .1 x SRP 2410 M
Wohnort: Wien Umgebung

AW: NFS Server for PVR

#80

Beitrag von Twilight » Sa 23. Aug 2014, 08:06

big :respekt: to you :!: that sound realy good!!

one question: do you have a solution for the "loop back directory tree" and reboot when you connect SRP1 to SRP2 and also SRP2 to SRP1 at the same time?
when I read your posting it sounds for me that this could work now...

twilight

Antworten

Zurück zu „SRP/CRP TAP-Bereich“