Forums » Tutorial and setups »
Recording to NAS network mount, files not showing in Windows
Added by Bruce Li over 10 years ago
Hi,
I have a Synology 1812+ and a network share mounted on my Ubuntu machine to store recordings from tvheadend.
This is the mount setting from my fstab file.
//nas/video/recordings /mnt/recordings cifs username=admin,password=1234asdf,iocharset=utf8,sec=ntlm 0 0
This is the directory listing ls -la. The folder That's fishing is visible in windows the rest isn't.
drwxrwxrwx 3 1024 users 0 May 12 17:59 I Fish
drwxrwxrwx 3 1024 users 0 May 12 00:21 Sabrina The Teenage Witch
drwxrwxrwx 3 1024 users 0 Mar 27 01:57 That's Fishing
-rwxrwxrwx 1 1024 users 27136 Jan 23 20:38 Thumbs.db
From Ubuntu when I make a directory manually, it shows up in the file share fine on my windows PC. When tvheadend saves its recording, it only shows up in Ubuntu and Synology Filestation internally. It does not show up on my windows machine. If i copy the file to the folder I created via SSH, the file would then show fine in Windows.
Anyone know why? I am suspecting the cause is the username which TVheadend is using to store the recording is creating some problem on the NAS.
Replies (3)
RE: Recording to NAS network mount, files not showing in Windows - Added by Prof Yaffle over 10 years ago
Can't say I like that UID/GID combination. The way to test that would be to simply chown/chgrp the files and see if they suddenly appear in Windows.
RE: Recording to NAS network mount, files not showing in Windows - Added by Bruce Li over 10 years ago
I tried changing it and still doesn't work.
drwxrwxrwx 8 1024 users 0 May 13 20:56 .
drwxr-xr-x 4 root root 4096 May 12 21:13 ..
drwxrwxrwx 3 1024 users 0 May 14 17:01 I Fish
drwxrwxrwx 3 quacka quacka 0 May 13 21:26 Insight
drwxrwxrwx 3 1024 users 0 May 12 00:21 Sabrina The Teenage Witch
drwxrwxrwx 3 1024 users 0 May 12 21:57 test2
-rwxr-xr-x 1 1024 users 629017847 May 13 07:32 test2.mp4
drwxrwxrwx 3 1024 users 0 Mar 27 01:57 That's Fishing
Since the group and username are the same throughout all the directories and "That's Fishing" is showing up in windows. It sort of saying it might not be a user ownership or group issue
RE: Recording to NAS network mount, files not showing in Windows - Added by Prof Yaffle over 10 years ago
Hmmmm...
http://forum.synology.com/enu/viewtopic.php?f=64&t=66129
I looked on the Synology web site because I had some problems with my old Syno box (now retired) in which files disappeared on a rename. Might be worth some more searching/digging.
What if you create a post-processing script that simply copies the file(s) after recording to, say, <recordingname>_1.ts? Or just touches them to update the timestamp? Or processes them in some way? Or, or, or...?