<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.samygo.tv/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Remi71</id>
	<title>SamyGO - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.samygo.tv/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Remi71"/>
	<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=Special:Contributions/Remi71"/>
	<updated>2026-04-26T19:07:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1312</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1312"/>
		<updated>2011-01-26T23:55:56Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance issue ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 23:55, 26 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1266</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1266"/>
		<updated>2011-01-22T16:35:23Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance problem ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 16:21, 22 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1265</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1265"/>
		<updated>2011-01-22T16:21:27Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# /dtv/usb/sda1/SamyGO/samygo.log then try to increase this.&amp;lt;/code&amp;gt; &lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance problem ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 16:21, 22 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1252</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1252"/>
		<updated>2011-01-21T03:22:13Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the folder '''var/log''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkdir -p var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log&amp;lt;/code&amp;gt; &lt;br /&gt;
#:&amp;lt;code&amp;gt;# then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/var/log/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance problem ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 03:21, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1251</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1251"/>
		<updated>2011-01-21T03:21:16Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;--[[User:Remi71|Remi71]] 03:21, 21 January 2011 (UTC)&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the folder '''var/log''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkdir -p var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log&amp;lt;/code&amp;gt; &lt;br /&gt;
#:&amp;lt;code&amp;gt;# then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/var/log/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance problem ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=The_C_Series_Wiki&amp;diff=1250</id>
		<title>The C Series Wiki</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=The_C_Series_Wiki&amp;diff=1250"/>
		<updated>2011-01-21T02:44:41Z</updated>

		<summary type="html">&lt;p&gt;Remi71: /* SamyGO C Series Wiki Page Main */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== SamyGO C Series Wiki Page Main ==&lt;br /&gt;
On this page, you will find hacks related for only C series TVs.&lt;br /&gt;
*[[BEFORE YOU START: Safety measures for C series TVs]]&lt;br /&gt;
*[[Compatibility Table for C series TVs]]&lt;br /&gt;
*[[How to get root access on a C series TV]]&lt;br /&gt;
*[[Hacking C5xx(x), C65x(x)over Hotel mode]]&lt;br /&gt;
*[[Ex-Link Cable for C-Series]]&lt;br /&gt;
*[[Enabling the PVR for C-Series]]&lt;br /&gt;
*[[PVR Recording over NFS for C-Series]]&lt;br /&gt;
*[[Using NoN-Samsung USB WiFi dongles with TV]]&lt;br /&gt;
*[https://tobias.schroepf.de/doku/doku.php?id=garage:samsung_tv_hacking External page dealing with the C series] TODO: The contents from this page should be copied to this Wiki.&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1249</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1249"/>
		<updated>2011-01-21T02:42:58Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the folder '''var/log''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkdir -p var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log&amp;lt;/code&amp;gt; &lt;br /&gt;
#:&amp;lt;code&amp;gt;# then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/var/log/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance problem ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1248</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1248"/>
		<updated>2011-01-21T02:36:38Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the folder '''var/log''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkdir -p var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log&amp;lt;/code&amp;gt; &lt;br /&gt;
#:&amp;lt;code&amp;gt;# then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/var/log/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
&lt;br /&gt;
== Performance problem ==&lt;br /&gt;
&lt;br /&gt;
Performance of the USB stick it's not so important, because the NFS share is re-mounted into the mount point of the XFS image, so the real device to record to is the NFS share over network. If you have slow performance problem during recording check:&lt;br /&gt;
&lt;br /&gt;
*Network link (speed, full/half duplex). 100MBit FD through a good switch like 3COM or HP is recommended.&lt;br /&gt;
*Use of a real Linux server with the NFS Kernel server (more fast and reliable than user-space NFS servers) is recommended. I have not tested Pre-build NAS: I prefer build it by myself so i can fine tune each parameter.&lt;br /&gt;
*Very important is the server parameters for share exports. My '''/etc/exports''' settings are:&lt;br /&gt;
*:&amp;lt;code&amp;gt;rw,async,no_subtree_check,root_squash,anonuid=1000,anongid=1000&amp;lt;/code&amp;gt;&lt;br /&gt;
*:The most important is the '''&amp;quot;async&amp;quot;''' option: allows the NFS server to violate the NFS protocol and reply to requests before any changes made by that request have been committed to stable storage (e.g. disc drive). Using this option usually improves performance, but at the cost that an unclean server restart (i.e. a crash) can cause data to be lost or corrupted.&lt;br /&gt;
*A fast disk array is also very important: my little media server is an old PIV with 1.2GB of RAM but with a fast RAID0 SATA disk array --&amp;gt; 700Mbit/sec&lt;br /&gt;
&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1247</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1247"/>
		<updated>2011-01-21T02:20:02Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the folder '''var/log''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkdir -p var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log&amp;lt;/code&amp;gt; &lt;br /&gt;
#:&amp;lt;code&amp;gt;# then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/var/log/samygo.log'''&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
''NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.''&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1246</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1246"/>
		<updated>2011-01-21T02:14:24Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the folder '''var/log''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkdir -p var/log&amp;lt;/code&amp;gt;&lt;br /&gt;
#Under the SamyGO folder create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#Mount the image:&lt;br /&gt;
#:&amp;lt;code&amp;gt;mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
#Create the empty file '''.PlaceHolderDO-NOT-REMOVE''':&lt;br /&gt;
#:&amp;lt;code&amp;gt;touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''This file must be never removed!'''&lt;br /&gt;
#Edit the file '''etc/init.d/03_03_nfsmount.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;  ..&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Example:&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&amp;lt;/code&amp;gt;&lt;br /&gt;
#Edit the file '''etc/init.d/80_80_record_to_nwshare.init''' and modify the following parameters:&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS fileserver for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Remote NFS share for recording&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;PVRPATH='&amp;lt;SHARE&amp;gt;'&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# Number of second to wait for pvrimage mount point to be ready.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;# If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;WAIT=25&amp;lt;/code&amp;gt;&lt;br /&gt;
#Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
#Verify NFS mount via df -h command. Verify also the log file '''/dtv/usb/sda1/SamyGO/var/log/samygo.log'''&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named '''SamyGo Virt. USB''': one is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1245</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1245"/>
		<updated>2011-01-21T01:57:13Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1244</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1244"/>
		<updated>2011-01-21T01:55:40Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;mkfs.xfs -f -d file,name=pvrimage,size=1536m&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
#*:&amp;lt;br&amp;gt;&lt;br /&gt;
#*:&amp;lt;code&amp;gt;existing superblock read failed: Inappropriate ioctl for device&amp;lt;/code&amp;gt;&lt;br /&gt;
#*:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1243</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1243"/>
		<updated>2011-01-21T01:52:53Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1242</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1242"/>
		<updated>2011-01-21T01:50:47Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
*:'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1241</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1241"/>
		<updated>2011-01-21T01:49:04Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
**'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1240</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1240"/>
		<updated>2011-01-21T01:47:24Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1239</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1239"/>
		<updated>2011-01-21T01:46:46Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
*: &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1238</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1238"/>
		<updated>2011-01-21T01:45:49Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
*:test&lt;br /&gt;
&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1237</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1237"/>
		<updated>2011-01-21T01:43:10Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package '''xfsprogs''' under Ubuntu):&lt;br /&gt;
# mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
#*Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1236</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1236"/>
		<updated>2011-01-21T01:40:30Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
#Copy downloaded '''rcSGO''' file on the USB key into the '''SamyGO''' folder (replace the original one)&lt;br /&gt;
#Copy downloaded '''02_04_vusb.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''02_04_vusb.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''03_03_nfsmount.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''03_03_nfsmount.init''' and replace the original one)&lt;br /&gt;
#Copy downloaded '''80_80_record_to_nwshare.init.remi71''' file on the USB key into the '''SamyGO/etc/init.d''' folder (rename as '''80_80_record_to_nwshare.init''' and replace the original one)&lt;br /&gt;
#Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; '''package xfsprogs''' under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1235</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1235"/>
		<updated>2011-01-21T01:32:40Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
#:Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1234</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1234"/>
		<updated>2011-01-21T01:31:39Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
#:Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1233</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1233"/>
		<updated>2011-01-21T01:29:23Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
#:Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1232</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1232"/>
		<updated>2011-01-21T01:28:34Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
#:Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1231</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1231"/>
		<updated>2011-01-21T01:27:01Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#:&amp;lt;code&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#:&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;/code&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
#:Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1230</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1230"/>
		<updated>2011-01-21T01:25:00Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#: &lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
#:Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1229</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1229"/>
		<updated>2011-01-21T01:22:29Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 #:&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 #:&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1228</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1228"/>
		<updated>2011-01-21T01:18:02Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
#: &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#: &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1227</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1227"/>
		<updated>2011-01-21T01:14:54Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;br&amp;gt; &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1226</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1226"/>
		<updated>2011-01-21T01:12:59Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&amp;lt;br&amp;gt; &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt; &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1225</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1225"/>
		<updated>2011-01-21T01:12:11Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&amp;lt;br&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1224</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1224"/>
		<updated>2011-01-21T01:10:54Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1223</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1223"/>
		<updated>2011-01-21T01:09:19Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/02_04_vusb.init.remi71?revision=1083&amp;amp;pathrev=1083 02_04_vusb.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/03_03_nfsmount.init.remi71?revision=1083&amp;amp;pathrev=1083 03_03_nfsmount.init.remi71]'''&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/InitScripts/trunk/init.d/80_80_record_to_nwshare.init.remi71?revision=1083&amp;amp;pathrev=1083 80_80_record_to_nwshare.init.remi71]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1222</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1222"/>
		<updated>2011-01-21T01:03:36Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#From the '''[http://samygo.svn.sourceforge.net/viewvc/samygo?view=revision&amp;amp;revision=1083 1083 revision page]''' download the files:&lt;br /&gt;
#:*'''[http://samygo.svn.sourceforge.net/viewvc/samygo/SamyGO-Extensions/CoreScript/trunk/rcSGO?revision=1083&amp;amp;pathrev=1083 rcSGO]'''&lt;br /&gt;
&lt;br /&gt;
 Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1221</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1221"/>
		<updated>2011-01-21T00:55:28Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&amp;lt;br&amp;gt;&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&amp;lt;br&amp;gt;&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1220</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1220"/>
		<updated>2011-01-21T00:52:25Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#Explode the provided file '''[[Media:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1219</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1219"/>
		<updated>2011-01-21T00:47:56Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the '''SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip''' file on the USB stick and configure it as usual (see:'''[[SamyGO_Extensions_Pack#General_usage]]''')&lt;br /&gt;
#Explode the provided file '''[[File:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]]''' on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1218</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1218"/>
		<updated>2011-01-21T00:44:13Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
#Explode the provided file [[File:SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip]] on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1217</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1217"/>
		<updated>2011-01-21T00:34:46Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
#:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
#:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1216</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1216"/>
		<updated>2011-01-21T00:33:02Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1215</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1215"/>
		<updated>2011-01-21T00:31:43Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1214</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1214"/>
		<updated>2011-01-21T00:29:35Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1213</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1213"/>
		<updated>2011-01-21T00:28:42Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1212</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1212"/>
		<updated>2011-01-21T00:27:03Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code:&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1211</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1211"/>
		<updated>2011-01-21T00:22:48Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
&lt;br /&gt;
:*'''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
:*For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
#Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
#Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
#Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC.zip file on the USB stick and configure it as usual (see:[[SamyGO_Extensions_Pack#General_usage]]&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;br /&gt;
--[[User:Remi71|Remi71]] 00:22, 21 January 2011 (UTC)&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1210</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1210"/>
		<updated>2011-01-21T00:18:52Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Community portal]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
#Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
- '''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
- For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
:*Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
3. Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
4. Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC .zip file on the USB stick and configure it as usual (see: http://wiki.samygo.tv/index.php?title=SamyGO_Extensions_Pack#General_usage&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1209</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1209"/>
		<updated>2011-01-21T00:11:12Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Community portal]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
:*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
you can get it:&lt;br /&gt;
&lt;br /&gt;
 svn co https://samygo.svn.sourceforge.net/svnroot/samygo/oe/branches/branch-0-0-1 SamyGO-Extensions&lt;br /&gt;
 cd SamyGO-Extensions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- '''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
- For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
:*Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
3. Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
4. Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC .zip file on the USB stick and configure it as usual (see: http://wiki.samygo.tv/index.php?title=SamyGO_Extensions_Pack#General_usage&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1208</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1208"/>
		<updated>2011-01-21T00:10:44Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Community portaljjj]]&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
:*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
you can get it:&lt;br /&gt;
&lt;br /&gt;
 svn co https://samygo.svn.sourceforge.net/svnroot/samygo/oe/branches/branch-0-0-1 SamyGO-Extensions&lt;br /&gt;
 cd SamyGO-Extensions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- '''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
- For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
:*Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
3. Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
4. Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC .zip file on the USB stick and configure it as usual (see: http://wiki.samygo.tv/index.php?title=SamyGO_Extensions_Pack#General_usage&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1207</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1207"/>
		<updated>2011-01-21T00:05:27Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
:*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 &amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
 &amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;/code&amp;gt;     &lt;br /&gt;
you can get it:&lt;br /&gt;
&lt;br /&gt;
 svn co https://samygo.svn.sourceforge.net/svnroot/samygo/oe/branches/branch-0-0-1 SamyGO-Extensions&lt;br /&gt;
 cd SamyGO-Extensions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- '''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
- For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
:*Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
3. Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
4. Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC .zip file on the USB stick and configure it as usual (see: http://wiki.samygo.tv/index.php?title=SamyGO_Extensions_Pack#General_usage&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
	<entry>
		<id>http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1206</id>
		<title>PVR Recording over NFS for C-Series</title>
		<link rel="alternate" type="text/html" href="http://wiki.samygo.tv/index.php?title=PVR_Recording_over_NFS_for_C-Series&amp;diff=1206"/>
		<updated>2011-01-21T00:04:18Z</updated>

		<summary type="html">&lt;p&gt;Remi71: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This has been tested on C-Model UE46C6500UP.&lt;br /&gt;
&lt;br /&gt;
Original forum post: '''[http://forum.samygo.tv/viewtopic.php?f=12&amp;amp;t=1332 SamyGo Extension Pack modified for NFS recording]'''&lt;br /&gt;
&lt;br /&gt;
Some init script (/etc/init.d) of the '''[[SamyGO Extensions Pack]]''' has been modified to support PVR recording over NFS share and to support multiple fixed NFS share from different servers. &lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
:*Support for multiple fixed NFS server with multiple share&lt;br /&gt;
:*Support for PVR recording over dedicated NFS share&lt;br /&gt;
:*Logging on file (for the moment only for the recording part, for debugging purpose)&lt;br /&gt;
&lt;br /&gt;
== Bugs and limitations ==&lt;br /&gt;
&lt;br /&gt;
:*Extension Pack must be run from a USB stick of at least 2GB size (because it must contain a XFS File System image file). Probably it's possible to run from the internal flash of the TV, however the stick is needed for the FS image file (1.5GB minimum for recording). This require other script modification.&lt;br /&gt;
&lt;br /&gt;
:*This mod. has been tested only over NFS share on Linux machines. Probably works also over NFS on Windows. Feel free to try.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
:*Some Linux command line knowledge&lt;br /&gt;
:*A Linux machine for USB stick preparation&lt;br /&gt;
:*Tested on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Tested on TV firmware T-VALDEUC 2010/11/04_003003 (probably work on other firmware)&lt;br /&gt;
:*TV hacked to support run.sh script execution from USB (see '''[http://forum.samygo.tv/viewtopic.php?f=13&amp;amp;t=974&amp;amp;p=9739#p9515 Hacking C series TV. Models with Internet@TV only]'''&lt;br /&gt;
:*At least one NFS server with a NFS share for media + NFS share for recording&lt;br /&gt;
:*A USB stick (2GB minimum size)&lt;br /&gt;
&lt;br /&gt;
== Modifications from the original version ==&lt;br /&gt;
&lt;br /&gt;
:*Based on '''[http://download.samygo.tv/SamyGO%20Extensions%20Packs/ SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC]'''&lt;br /&gt;
:*Script '''02_04_vusb.init''' : support for a second virtual usb device for recording (if XFS image exist on the USB stick and image size is &amp;gt;= 1.5GB)&lt;br /&gt;
:*Script '''03_03_nfsmount.init''': support for multiple fixed NFS server&lt;br /&gt;
:*Script '''80_80_record_to_nwshare.init''': completely rewritten&lt;br /&gt;
:*Created folder /var/log (for logfile samygo.log)&lt;br /&gt;
:*Script '''rcsGO''': modified to include log file path in /dtv/SGO.env&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
:*Make sure you have configured correctly your NFS servers and shares and no network problem exist between servers and TV. For recording, write permission on the dedicated share is needed by the TV. I suggest the following entry in exports file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;MEDIA SHARED FOLDER&amp;gt;       &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
&amp;lt;RECORD SHARED FOLDER&amp;gt;      &amp;lt;TV HOSTNAME or IP&amp;gt;(rw,async,no_subtree_check,root_squash,anonuid=&amp;lt;USER ID&amp;gt;,anongid=&amp;lt;GROUP ID&amp;gt;)&lt;br /&gt;
     &lt;br /&gt;
you can get it:&lt;br /&gt;
&lt;br /&gt;
 svn co https://samygo.svn.sourceforge.net/svnroot/samygo/oe/branches/branch-0-0-1 SamyGO-Extensions&lt;br /&gt;
 cd SamyGO-Extensions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
- '''USER ID''' and '''GROUP ID''' must match a user/group with write permission on the SHARED FOLDER&lt;br /&gt;
- For recording '''&amp;lt;RECORD SHARED FOLDER&amp;gt;''' entry may be on a different exports file of a different NFS server.&lt;br /&gt;
&lt;br /&gt;
:*Move to your Linux machine ;)&lt;br /&gt;
&lt;br /&gt;
3. Format the USB stick (single partition, FAT32 FS)&lt;br /&gt;
&lt;br /&gt;
4. Explode the SamyGO Extension Pack v0.03.6-r12-for-T-VALDEUC .zip file on the USB stick and configure it as usual (see: http://wiki.samygo.tv/index.php?title=SamyGO_Extensions_Pack#General_usage&lt;br /&gt;
&lt;br /&gt;
5. Explode the provided file (SamyGO-All-Extensions-v0.03.6-r12-for-T-VALDEUC-20110103184650_rconti-mod.zip) on the USB key into the SamyGO folder (replace all requested files).&lt;br /&gt;
&lt;br /&gt;
6. Move to SamyGO folder and create the XFS file image with the following command (make sure you have support tools for XFS FS --&amp;gt; package xfsprogs under Ubuntu):&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mkfs.xfs -f -d file,name=pvrimage,size=1536m&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ignore error message like:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    existing superblock read failed: Inappropriate ioctl for device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Mount the image:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    mount -t xfs -o loop pvrimage &amp;lt;MOUNT POINT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Create the empty file .PlaceHolderDO-NOT-REMOVE:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
    touch &amp;lt;MOUNT POINT&amp;gt;/.PlaceHolderDO-NOT-REMOVE&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This file must be never removed!&lt;br /&gt;
&lt;br /&gt;
9. Edit etc/init.d/03_03_nfsmount.init and modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       SHARE_2='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       ..&lt;br /&gt;
       ..&lt;br /&gt;
       SHARE_n='&amp;lt;SERVER NAME or IP&amp;gt;:&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
       SHARE_1='mediaserver01.shareskills.org:/home/remi/localdata/media'&lt;br /&gt;
       SHARE_2='fileserver01.shareskills.org:/var/landata/photo'&lt;br /&gt;
       &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Edit etc/init.d/80_80_record_to_nwshare.init and add modify the following parameters:&lt;br /&gt;
&lt;br /&gt;
Code: Select all&lt;br /&gt;
        # Remote NFS fileserver for recording&lt;br /&gt;
        PVRSERVER='&amp;lt;SERVER NAME or IP&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Remote NFS share for recording&lt;br /&gt;
        PVRPATH='&amp;lt;SHARE&amp;gt;'&lt;br /&gt;
&lt;br /&gt;
        # Number of second to wait for pvrimage mount point to be ready.&lt;br /&gt;
        # If you experience problem like &amp;quot;No virtual device found ready for PVR or already mounted&amp;quot; message in samygo.log then try to increase this.&lt;br /&gt;
        WAIT=25&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. Turn off your TV, insert the USB stick and power on. Wait for 35-40sec then connect via SSH&lt;br /&gt;
&lt;br /&gt;
12. Verify NFS mount via df -h command. Verify also the log file /dtv/usb/sda1/SamyGO/var/log/samygo.log&lt;br /&gt;
&lt;br /&gt;
If all is ok, from your TV go under Media: you must see two additional device named SamyGo Virt. USB. One is for media NFS share and one for recording. Select one whose size is 1.5GB (corresponding to the XFS image size) and try record: the recording must begin with no error message. If a message appear that say &amp;quot;Format USB device&amp;quot; do not proceed because something went wrong.&lt;br /&gt;
&lt;br /&gt;
NOTE: Although the media screen report that the SamyGo Virt. USB device for recording is 1.5GB, don't worry because the NFS share is remounted into the original mount point of the XFS image so the real size is the free space on your server.&lt;/div&gt;</summary>
		<author><name>Remi71</name></author>
		
	</entry>
</feed>