Page 5 of 18
Re: PVR to network storage
Posted: Thu Jan 01, 2015 5:46 pm
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!!!<<<<<<<<<<<<<<<<
;;
...
Re: PVR to network storage
Posted: Thu Jan 01, 2015 5:50 pm
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

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?

Re: PVR to network storage
Posted: Thu Jan 01, 2015 5:57 pm
by zoelechat
Yes, mount point takes almost no room on USB. Recordings are redirected and stored only on your samba share.
Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:05 pm
by Deus3X
zoelechat wrote:Yes, mount point takes almost no room on USB. Recordings are redirected and stored only on your samba share.
nice

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
Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:13 pm
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 ?

Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:15 pm
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

I want the recordings ONLY on my samba directory to be able to record more then 2 gb (the usb disk space).
Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:17 pm
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

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
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

Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:21 pm
by zoelechat
To answer the question: Yes paths were inverted

Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:24 pm
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...
Re: PVR to network storage
Posted: Thu Jan 01, 2015 6:33 pm
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
on your USB. Just copy it to your samba share and it will stop asking
