2011-12-07, 16:53
Hoping someone (I'm looking over at Memphiz, el resident NFS guru) might be able to help with this. I seem to be having some problems writing to my NAS over NFS. The ArtworkDownloader script fails to write files to it, and I just tried doing a simple file copy using XBMC's File Manager and that fails too.
I seem to be able to read without any problems. My video sources on my NAS all use NFS and work fine. But writing is the problem. The logs just say things like this:
I checked my /etc/exports again just to make sure, and it seems okay--
On my Synology NAS, I have NFS privs set to Read/Write for all, no root squash. If I look at the folder/file permissions, they're all set to 777 all the way down...EXCEPT for the top level "volume3" disk drive folder, which is set to 755 permissions. I tried setting that to 777 just to see if it made a difference, but I still got the file copy "write failed" error.
Of course, I can write just fine to my NAS from any of my Macs on my LAN.
Any ideas what this might be about? Is it an owner:group issue, where maybe the NAS is not allowing XBMC's owner:group setting from the ATV2? Or something else?
I seem to be able to read without any problems. My video sources on my NAS all use NFS and work fine. But writing is the problem. The logs just say things like this:
Code:
10:24:41 T:122499072 DEBUG: FileManager: copy special://profile/addon_data/script.cinema.experience/DOWNLOADS/brave_trlr_02_720p_dl-trailer.mov -> nfs://192.168.1.211/volume3/tvshows/Agatha Christie's Marple/brave_trlr_02_720p_dl-trailer.mov
10:24:41 T:122499072 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //Agatha Christie's Marple/brave_trlr_02_720p_dl-trailer.mov
10:24:41 T:122499072 ERROR: Failed to pwrite(volume3/tvshows/Agatha Christie's Marple/brave_trlr_02_720p_dl-trailer.mov) nfs_pwrite_async failed
10:24:41 T:122499072 ERROR: Cache - Failed write to file nfs://192.168.1.211/volume3/tvshows/Agatha Christie's Marple/brave_trlr_02_720p_dl-trailer.mov
10:24:41 T:122499072 DEBUG: CFileNFS::Close closing file volume3/tvshows/Agatha Christie's Marple/brave_trlr_02_720p_dl-trailer.mov
I checked my /etc/exports again just to make sure, and it seems okay--
Code:
/volume3/web *(rw,async,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume1/FILESBACKUP *(rw,sync,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume3/photos *(rw,async,no_wdelay,insecure,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume3/files *(rw,sync,no_wdelay,insecure,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume3/music *(rw,async,no_wdelay,insecure,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume3/tvshows *(rw,async,insecure,no_wdelay,no_root_squash,insecure_locks,anonuid=0,anongid=0)
/volume3/movies *(rw,async,no_wdelay,insecure,no_root_squash,insecure_locks,anonuid=0,anongid=0)
On my Synology NAS, I have NFS privs set to Read/Write for all, no root squash. If I look at the folder/file permissions, they're all set to 777 all the way down...EXCEPT for the top level "volume3" disk drive folder, which is set to 755 permissions. I tried setting that to 777 just to see if it made a difference, but I still got the file copy "write failed" error.
Of course, I can write just fine to my NAS from any of my Macs on my LAN.
Any ideas what this might be about? Is it an owner:group issue, where maybe the NAS is not allowing XBMC's owner:group setting from the ATV2? Or something else?