[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Has anyone said fstab yet? -----Original Message----- From: list [mailto:list-bounces@xxxxxxxxxxxx] On Behalf Of Julian Hall Sent: 18 July 2017 15:39 To: list@xxxxxxxxxxxxx Subject: Re: [LUG] Synology NFS Shared Folder Inaccessible But Does Mount. On 18/07/17 15:11, mr meowski wrote: > On 18/07/17 15:03, Julian Hall wrote: >> Hi All, >> >> A bit of an oddball one - well it's me you're probably used to that >> by now. After replacing the failed HDD in my Synology DS212j I >> decided to split my files among Graphics, Video and General. That has >> worked up to a point. The configuration is: >> >> Cerce - Main PC - Fixed IP 192.168.1.2. >> Zeus - NAS - Fixed IP 192.168.1.3 with three Shared Folders: >> >> HERA: General Files >> DIANA: Graphics Files >> PERSEPHONE: Video Files >> >> First of all I was able to access them by browsing the network, and >> entering the UID and PWD to access them. That's how I transferred all >> the files to them. However long term that's a pain in the bum so I >> want them to auto mount on boot. Initially none of them would mount >> at all using >> >> sudo mount -t nfs 192.168.1.3:/volume1/HERA /media/julian/HERA >> >> for example, so I had a poke around and found Synology's guide for >> getting NFS Shared Folders to work. All three now have NFS >> Permissions to allow 192.168.1.2 Read/Write access. I tried first of >> all in a terminal before adding them to the fstab - and potentially >> rendering the system unbootable if it hung trying to load them. This >> is where it gets odd. Diana and Persephone mount perfectly well with >> the above sudo command and can be browsed as normal. Hera however >> mounts with no error but refuses any attempt to browse it. There is >> no error message, simply nothing happens. >> >> Then I added Diana and Persephone to the fstab and rebooted. Both >> function perfectly, however as Hera has my main files on I need that >> to mount properly too. Any ideas please? >> >> Kind regards, >> >> Julian >> > Permissions issue? > > What does dmesg say after mounting the HERA share, and do 'mount' and > 'df -klh' show the expected outputs? To be honest I don't know what the expected outputs would be however I assume all three should show up if mounted, as they are at the moment: julian@Cerce ~ $ mount [extraneous info sipped] 192.168.1.3:/volume1/PERSEPHONE on /media/julian/PERSEPHONE type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=70,retrans=2,sec=sys,mountaddr=192.168.1.3,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.3) 192.168.1.3:/volume1/DIANA on /media/julian/DIANA type nfs (rw,relatime,vers=3,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,timeo=70,retrans=2,sec=sys,mountaddr=192.168.1.3,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.3) 192.168.1.3:/volume1/HERA on /media/julian/HERA type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.3,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.3) This is the only difference I can see between the three: rsize=131072,wsize=131072, and timeo=600. Are these significant? julian@Cerce ~ $ df -klh Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs 799M 9.5M 789M 2% /run /dev/sdb1 230G 11G 207G 5% / tmpfs 3.9G 1.3M 3.9G 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup /dev/sda6 98G 26G 73G 26% /media/julian/CYNTHIA /dev/sda8 482G 50G 409G 11% /home cgmfs 100K 0 100K 0% /run/cgmanager/fs tmpfs 799M 52K 799M 1% /run/user/1000 This is a bit odd as all three are currently mounted - Diana and Persephone at boot - albeit Hera is inaccessible via the mounted icon on the desktop. > Can you 'sudo ls -alh > /media/julian/HERA' and see your files? Yes that works. Kind Regards, Julian -- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq -- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq