PVR to network storage

Here for general support for D series TVs, request and problem solve area.
Post Reply

zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: PVR to network storage

Post by zoelechat »

04_04_samba.init

Code: Select all

...

case $1 in 
	start)
	insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
	sync; sleep 2
	mkdir -p "$DEST_DIR"
	get_servers
	get_shares
	>>>>>>>>>>>>>>>>>HERE!!!<<<<<<<<<<<<<<<<
	;;

...
I do NOT receive any PM. Please use forum.
Deus3X
SamyGO Project Donor
Posts: 168
Joined: Wed Feb 19, 2014 10:29 am

Re: PVR to network storage

Post by Deus3X »

zoelechat wrote:04_04_samba.init

Code: Select all

...

case $1 in 
	start)
	insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
	sync; sleep 2
	mkdir -p "$DEST_DIR"
	get_servers
	get_shares
	>>>>>>>>>>>>>>>>>HERE!!!<<<<<<<<<<<<<<<<
	;;

...
Ty mate :)
it worked perfect :P
So if now i had understand well... my tv can register tv program using more space... f.e. my usb is 2gb, i can register more because my samba share is 3 TB
its true? :P
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: PVR to network storage

Post by zoelechat »

Yes, mount point takes almost no room on USB. Recordings are redirected and stored only on your samba share.
I do NOT receive any PM. Please use forum.
Deus3X
SamyGO Project Donor
Posts: 168
Joined: Wed Feb 19, 2014 10:29 am

Re: PVR to network storage

Post by Deus3X »

zoelechat wrote:Yes, mount point takes almost no room on USB. Recordings are redirected and stored only on your samba share.
nice :P
i asked it because, before the samba network starts on my tv, i'm able to browse the real usb using ftp and i can see all the recording in my usb... so i was thinking that the space limitation was always present..
is possible that i inverted the mount command?
the command that i sent is mount

Code: Select all

mount -o bind /dtv/usb/sda1/CONTENTS /dtv/usb/sdb/smb/192.168.2.33/REG_TV
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: PVR to network storage

Post by sectroyer »

Deus3X wrote:

Code: Select all

mount -o bind /dtv/usb/sda1/CONTENTS /dtv/usb/sdb/smb/192.168.2.33/REG_TV
Well this commands mounts CONTENTS from normal USB on samba share but recordings are still made to real usb ;) Are you sure that's what you wanted ? :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
Deus3X
SamyGO Project Donor
Posts: 168
Joined: Wed Feb 19, 2014 10:29 am

Re: PVR to network storage

Post by Deus3X »

sectroyer wrote:
Deus3X wrote:

Code: Select all

mount -o bind /dtv/usb/sda1/CONTENTS /dtv/usb/sdb/smb/192.168.2.33/REG_TV
Well this commands mounts CONTENTS from normal USB on samba share but recordings are still made to real usb ;) Are you sure that's what you wanted ? :)
No :P
I want the recordings ONLY on my samba directory to be able to record more then 2 gb (the usb disk space).
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: PVR to network storage

Post by sectroyer »

Deus3X wrote:
sectroyer wrote:
Deus3X wrote:

Code: Select all

mount -o bind /dtv/usb/sda1/CONTENTS /dtv/usb/sdb/smb/192.168.2.33/REG_TV
Well this commands mounts CONTENTS from normal USB on samba share but recordings are still made to real usb ;) Are you sure that's what you wanted ? :)
No :P
I want the recordings ONLY on my samba directory to be able to record more then 2 gb (the usb disk space).
Than you should read carefully what I post and don't write nonsense :P

Code: Select all

mount -o bind /dtv/usb/PATH_TO_CONTENTS_FOLDER _ON_SOME_SAMBA_SHARE /dtv/usb/_PATH_TOCONTEENTS_DIRECTORY)_ONS_USB_FORMATED_FOR_RECORDING
so your line should be:

Code: Select all

mount -o bind /dtv/usb/sdb/smb/192.168.2.33/REG_TV /dtv/usb/sda1/CONTENTS 
Now try recording something :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
zoelechat
SamyGO Moderator
Posts: 8616
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

Re: PVR to network storage

Post by zoelechat »

To answer the question: Yes paths were inverted :P
I do NOT receive any PM. Please use forum.
Deus3X
SamyGO Project Donor
Posts: 168
Joined: Wed Feb 19, 2014 10:29 am

Re: PVR to network storage

Post by Deus3X »

so...
now the samba share is correctly mounted for recording...
But there is a problem...
The tv asked me to do a test... and the samba share haven't passed the test... write speed 0 reading speed 0
The samba directory mounted has reading and writing authorization, and i'm using a gigabyte lan...
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

Re: PVR to network storage

Post by sectroyer »

Deus3X wrote:so...
now the samba share is correctly mounted for recording...
But there is a problem...
The tv asked me to do a test... and the samba share haven't passed the test... write speed 0 reading speed 0
The samba directory mounted has reading and writing authorization, and i'm using a gigabyte lan...
Check with ftp client there is

Code: Select all

.PVRPfmChkLog
on your USB. Just copy it to your samba share and it will stop asking ;)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!

Post Reply

Return to “[D] Support”