OpenELEC Forum
Mounting a NAS drive to record live TV - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: PVR + LIVE TV (https://forum.openelec.tv/forumdisplay.php?fid=38)
+--- Thread: Mounting a NAS drive to record live TV (/showthread.php?tid=52778)

Pages: 1 2


Re: Mounting a NAS drive to record live TV - PeterE - 11-08-2012

Thank you. That solves the problem.
Pity it cannot be added to the Wiki to help others who have bought this NAS drive.


Re: Mounting a NAS drive to record live TV - Hardcorejax - 11-09-2012

Cant get this to work Sad

root ~ # mount -t cifs -o username=user,rw //192.168.0.103/Recorded TV /storage/recordings
BusyBox v1.20.2 (2012-10-26 12:33:52 CEST) multi-call binary.

Usage: mount [OPTIONS] [-o OPTS] DEVICE NODE

Mount a filesystem. Filesystem autodetection requires /proc.

-a Mount all filesystems in fstab
-f Dry run
-i Don't run mount helper
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE[,...] Filesystem type(s)
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification time
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
[r]bind Bind a file or directory [recursively] to another location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing flags
ro/rw Same as -r/-w

There are filesystem-specific -o flags.

root ~ #

Can someone please tell me how to auto cifs mount my tvheadend recordings ( think it is/storage/recordings) folder to my whs server

Openelec ip: 192.168.0.119
Whs server ip: 192.168.0.103
Server name: Whs2
Prefered recordings folder on whs2 : \Whs2Recorded TV

Guest is enabled on whs2 Recorded tv, so no password is needed

Thanks


Re: Mounting a NAS drive to record live TV - lrusak - 11-09-2012

Hardcorejax post=53207 Wrote:Guest is enabled on whs2 Recorded tv, so no password is needed

try
Code:
mount -t cifs "//192.168.0.103/Recorded TV" /storage/recordings



Re: Mounting a NAS drive to record live TV - Hardcorejax - 11-09-2012

Thanks but no go

root ~ # mount -t cifs "//192.168.0.103/Recorded TV" /storage/recordings
mount: mounting //192.168.0.103/Recorded TV on /storage/recordings failed: Invalid argument
root ~ #


Re: Mounting a NAS drive to record live TV - lrusak - 11-09-2012

what about
Code:
mount -t cifs -o username=guest,rw "//192.168.0.103/Recorded TV" /storage/recordings



Re: Mounting a NAS drive to record live TV - Hardcorejax - 11-10-2012

Nope

OpenELEC Version: devel-20121026121216-r12275
OpenELEC git: f69029ac59c1cbb9f8119f407a3fa3df2d9ddb53
root@192.168.0.119's password:
root ~ # mount -t cifs -o username=guest,rw "//192.168.0.103/Recorded TV" /storage/recordings
mount: mounting //192.168.0.103/Recorded TV on /storage/recordings failed: Invalid argument
root ~ #


Re: Mounting a NAS drive to record live TV - jireland - 01-30-2013

I know this is bit of an old thread but I have found the solution to this. I have an Iomega NAS as well, it does support NFS. I noticed though in the settings that when you use NFS, you have to enter /nfs/ in the path. eg: SMB - '\MYNASBOXMedia' becomes NFS - 'MYNASBOX:/nfs/Media'

So, to mount an NFS share from my Iomega called 'Media' to a folder on openelec called 'NASmedia' I used:
Code:
mount -t nfs MYNASBOXNAME:/nfs/Media /storage/NASmedia -o nolock

I hope that helps someone.


Re: Mounting a NAS drive to record live TV - freebo - 02-08-2013

Hardcorejax post=53325 Wrote:Nope

OpenELEC Version: devel-20121026121216-r12275
OpenELEC git: f69029ac59c1cbb9f8119f407a3fa3df2d9ddb53
root@192.168.0.119's password:
root ~ # mount -t cifs -o username=guest,rw "//192.168.0.103/Recorded TV" /storage/recordings
mount: mounting //192.168.0.103/Recorded TV on /storage/recordings failed: Invalid argument
root ~ #

Linux doesn't like spaces, wither rename the share to RecordedTV or in the command above "escape" the space i.e. mount -t cifs -o username=guest,rw "//192.168.0.103/Recorded TV" /storage/recordings