× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

tj1scott
Aspirant

NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Hi all,

New to the forum, looking for some assistance regarding some very strange permissions issues on my NV+2.

Last week I was experiencing the 'device is offline, please wait error'. I then re-built the OS twice and somehow managed to regain access to the front view.

Since then, I've been unable to access my shares through Windows (no permissions) but can access using DLNA (through a WDTV Live Player and Windows Media Player to name some examples).

I would be more than happy to wipe the NAS and start again but am also experiencing issues with backups on one particular share; including, "Reason for failure: Unable to access source path" and when using putty to SSH in, it only displays 10 out of 100 folders in the share (when DLNA can see the complete directory listing).

I can also see the full directory listing (all 100 folders) in the front view share browser.

Would really appreciate any advise/ideas on how to fix the perms or just backup the problem share so I can restore the NAS.

Thanks in advance!

Cheers, Scott.
Message 1 of 21
StephenB
Guru

Re: ReadyNAS NV+2 - Accessible by DLNA, not by NFS/SMB

What firmware are you running? 5.x.x or 4.1.x?
Message 2 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

This system is running 5.x.x

What is the output of

# df -h
# df -i
Message 3 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Correct, RAIDiator 5.3.10.

Putty Log:

root@HOMENAS:/# df -i
Filesystem Size Used Avail Use% Mounted on
/dev/md0 4.0G 4.0G 0 100% /
tmpfs 16K 0 16K 0% / USB
/dev/c/c 5.5T 2.8T 2.6T 52% /c
/dev/sdd1 3.7T 1.2T 2.5T 33% /USB/USB_HDD_1

root@HOMENAS:/# df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md0 65536 18101 47435 28% /
tmpfs 30852 2 30850 1% /USB
/dev/c/c 91258880 80598 91178282 1% /c
/dev/sdd1 64095 64090 5 100% /USB/USB_HDD_1
root@HOMENAS:/#

Cheers Guys.
Message 4 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

O.K. Your 4GB OS partition is full.

I think the first one of those is the output of df -h and the second for df -i

You likely have a large log file or two that is filling it up.


# du -csh /var/*
# du -csh /var/log/*


What filesystem is on your USB disk?
Message 5 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Putty Log:

(first one is - du -csh /var/*)

root@HOMENAS:/# du chs-csh /var/*
4.0K /var/agentx
88K /var/backups
28M /var/cache
40M /var/lib
4.0K /var/local
12K /var/lock
8.0M /var/log
4.0K /var/mail
4.0K /var/netatalk
4.0K /var/opt
8.0K /var/rd
196K /var/readynasd
508K /var/run
84K /var/spool
4.0K /var/tmp
4.0K /var/www
77M total

(du -csh /var/log/*)

root@HOMENAS:/# du -csh /var/*log/*
0 /var/log/alternatives.log
8.0K /var/log/alternatives.log.1
4.0K /var/log/alternatives.log.2.gz
4.0K /var/log/apache2
20K /var/log/apt
24K /var/log/auth.log
4.0K /var/log/boot
0 /var/log/btmp
0 /var/log/btmp.1
96K /var/log/cron.log
140K /var/log/cups
84K /var/log/daemon.log
12K /var/log/debug
16K /var/log/dmesg
60K /var/log/exim4
4.0K /var/log/faillog
2.5M /var/log/frontview
0 /var/log/gpio.event
756K /var/log/kern.log
292K /var/log/lastlog
0 /var/log/lpr.log
0 /var/log/mail.err
0 /var/log/mail.info
4.0K /var/log/mail.log
0 /var/log/mail.warn
736K /var/log/messages
4.0K /var/log/mysql
4.0K /var/log/netatalk.log
4.0K /var/log/news
0 /var/log/raidiator_version
1.9M /var/log/readynasd
4.0K /var/log/readytivo.log
240K /var/log/samba
0 /var/log/slimserver.log
760K /var/log/syslog
464K /var/log/upnp-av.log
0 /var/log/upnp-av.log.old
8.0K /var/log/user.log
8.0K /var/log/wtmp
16K /var/log/wtmp.1
8.0M total

------------------------------

The USB drive is NTFS, I only purchased that yesterday, solely for the purpose of backing up my data off the NAS.

Cheers again!
Message 6 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

O.K. It's not log files then. Must be something else filling it up.


# du -csh /usr/*
# du -csh /tmp/*
# du -csh /opt/*
Message 7 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

du -csh /usr/*

root@HOMENAS:/# du -csh /userr/*
105M /usr/bin
4.0K /usr/games
8.0K /usr/include
84M /usr/lib
5.9M /usr/local
43M /usr/sbin
60M /usr/share
4.0K /usr/src
296M total

du -csh /tmp/*

root@HOMENAS:/# du -csh /usr/*tmp/*
4.0K /tmp/addons
0 /tmp/errors_001.log
0 /tmp/errors_002.log
0 /tmp/errors_003.log
32K /tmp/errors_004.log
0 /tmp/errors_005.log
0 /tmp/errors_006.log
0 /tmp/errors_007.log
0 /tmp/event_socket
0 /tmp/getset_socket
45M /tmp/RAIDiator-arm-5.3.11
4.0K /tmp/rnp2_install.log
45M total

du -csh /opt/*

root@HOMENAS:/# du -csh /tmp/*opt/*
580K /opt/installed
1.8M /opt/p2p
20M /opt/photos2
208K /opt/readydrop
140K /opt/remote
23M total
Message 8 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Still not it. You need to keep looking at other directories on the OS partition.
Message 9 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Hi MDGM,

Just been through all the directories on the OS using du -csh /???/* and still the largest one was /usr at 296mb. Just to let you know, when I used du -csh /c/* (c being my share letter) it listed the full directory, including the folders I mentioned in the original post, but then when I went 'cd /c' and then 'ls' it only listed 10 folders (again as per the original post). Any other ideas would be much appreciated!

Cheers
Message 10 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857


# ls -lah /
Message 11 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857


root@HOMENAS:/# ls -lah /
total 25M
drwxr-xr-x 26 admin admin 4.0K 2015-01-13 05:06 .
drwxr-xr-x 26 admin admin 4.0K 2015-01-13 05:06 ..
drwxr-xr-x 2 root root 4.0K 2015-01-10 15:37 bin
drwxr-xr-x 2 root root 4.0K 2011-10-02 19:53 boot
drwxrwxrwx 12 root root 4.0K 2015-01-10 23:40 c
-rw------- 1 root root 42M 2015-01-11 02:48 core
drwxr-xr-x 13 root root 5.0K 2015-01-13 04:46 dev
drwxr-xr-x 76 root root 4.0K 2015-01-13 05:00 etc
-rw-r--r-- 1 root root 24M 2015-01-10 23:40 files.tar
drwxr-xr-x 7 admin admin 4.0K 2011-03-22 06:38 frontview
drwxr-xr-x 3 root root 4.0K 2011-03-22 05:42 home
lrwxrwxrwx 1 root root 7 2015-01-11 02:12 homes -> /c/home
drwxr-xr-x 2 root root 4.0K 2011-03-22 06:39 initrd
drwxr-xr-x 11 root root 4.0K 2015-01-10 15:36 lib
drwx------ 2 root root 16K 2014-10-10 21:14 lost+found
drwxr-xr-x 2 root root 4.0K 2011-03-22 06:39 mnt
drwxr-xr-x 18 root root 4.0K 2015-01-06 05:34 MOVIES
lrwxrwxrwx 1 root root 8 2014-10-12 01:00 MUSIC -> /c/MUSIC
drwxr-xr-x 7 root root 4.0K 2015-01-10 23:40 opt
dr-xr-xr-x 86 root root 0 1969-12-31 16:00 proc
drwxrwxrwt 2 root root 0 2015-01-13 19:14 ramfs
-rw------- 1 root root 1.0K 2015-01-11 02:13 .rnd
drwx------ 3 root root 4.0K 2013-08-12 19:21 root
drwxr-xr-x 2 root root 4.0K 2015-01-10 15:37 sbin
drwxr-xr-x 2 root root 4.0K 2010-07-21 01:36 selinux
drwxr-xr-x 2 root root 4.0K 2011-03-07 02:59 srv
lrwxrwxrwx 1 root root 10 2014-10-12 00:57 STORAGE -> /c/STORAGE
drwxr-xr-x 11 root root 0 1969-12-31 16:00 sys
drwxrwxrwt 3 root root 4.0K 2015-01-13 19:08 tmp
lrwxrwxrwx 1 root root 11 2015-01-01 23:06 TRAINING -> /c/TRAINING
lrwxrwxrwx 1 root root 5 2014-10-12 00:57 TV -> /c/TV
-rw-r--r-- 1 root root 0 2015-01-11 02:47 .update_fail
drwxrwxrwt 3 root root 60 2015-01-13 04:46 USB
lrwxrwxrwx 1 root root 14 2015-01-13 04:46 USB_HDD_1 -> /USB/USB_HDD_1
drwxr-xr-x 10 root root 4.0K 2011-03-07 02:59 usr
drwxr-xr-x 18 root root 4.0K 2012-08-13 19:29 var
root@HOMENAS:/#


Again, not sure if it is relevant, but the MOVIES share as above is the problem share, it seems it doesn't have '-> c/********' following it like the other 5 do.
Message 12 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

I also ran du -sh* on the root:

root@HOMENAS:/# ls -lah /du -sh *
4.7M bin
4.0K boot
2.8T c
1.1M core
104K dev
17M etc
24M files.tar
29M frontview
8.0K home
0 homes
4.0K initrd
13M lib
16K lost+found
4.0K mnt
3.4G MOVIES
0 MUSIC
23M opt
du: cannot access `proc/22751/task/22751/fd/4': No such file or directory
du: cannot access `proc/22751/task/22751/fdinfo/4': No such file or directory
du: cannot access `proc/22751/fd/4': No such file or directory
du: cannot access `proc/22751/fdinfo/4': No such file or directory
0 proc
32K ramfs
24K root
7.6M sbin
4.0K selinux
4.0K srv
0 STORAGE
0 sys
45M tmp
0 TRAINING
0 TV
1.2T USB
0 USB_HDD_1
296M usr
77M var

To me, it seems like there's a directory, named MOVIES on the root, using 3.4GB. That must be the files I see when I list the share, instead of the ones stored on /c/MOVIES
Message 13 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Looks like that's it.

That /MOVIES folder is filling up the OS partition.

You could move it to /c/MOVIES (if that directory doesn't exist) or perhaps delete it.

Do you know what created that share? Perhaps an add-on or other service is somehow configured incorrectly?
Message 14 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Yeah, seems to be it. I'm happy to delete it, but I'm just a little paranoid in case I delete the /c/MOVIES share instead. Any idea how I can access the /c/MOVIES so I can backup the data on it to USB?

I'm not sure what created the share as the only add-on I have is Enable-RootSSH and I've since rebuilt the OS - which I presume removes the addons?
Message 15 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

An OS Re-install doesn't remove add-ons.

What do you see if you do

# ls -lah /c
Message 16 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

root@HOMENAS:~# ls -lah /c
total 76K
drwxrwxrwx 12 root root 4.0K 2015-01-10 23:40 .
drwxr-xr-x 26 admin admin 4.0K 2015-01-13 05:06 ..
-rw------- 1 root root 7.0K 2015-01-13 20:08 aquota.group
-rw------- 1 root root 8.0K 2015-01-13 20:08 aquota.user
drwxr-xr-x 4 admin admin 4.0K 2015-01-07 04:32 home
drwx------ 2 root root 16K 2014-10-10 21:30 lost+found
drwxrwxrwx 13 nobody nogroup 4.0K 2015-01-02 00:41 MOVIES
drwxrwxrwx 4 nobody nogroup 4.0K 2015-01-06 05:00 MUSIC
drwx------ 2 root root 4.0K 2014-10-12 00:57 .PURGE
drwxr-xr-x 6 admin admin 4.0K 2014-10-11 04:32 .RNP2
drwxrwxrwx 3 nobody nogroup 4.0K 2015-01-12 17:48 STORAGE
drwxr-xr-x 2 ReadyNAS root 4.0K 2014-10-11 04:33 .timemachine
drwxrwxrwx 7 nobody nogroup 4.0K 2015-01-06 05:15 TRAINING
drwxrwxrwx 98 nobody nogroup 4.0K 2015-01-13 20:05 TV
root@HOMENAS:~#


I have made some progress. If I start at root and use 'ls /c/MOVIES', I can see all the folders as they should be. I can also use 'cp -r /c/MOVIES /USB_HDD_1/MOVIES', to backup the data but getting an input/output error.
Message 17 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Are you able to test the health of the USB disk?
Message 18 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Yeah i think I'm going to have to.

So being that I copy backup the data (once the USB is working again), would you suggest I do that and then just re-build the NAS from scratch rather than fixing the perms issue?
Message 19 of 21
mdgm-ntgr
NETGEAR Employee Retired

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Sounds like a good plan. Though if the USB disk has issues then replacing it with a new USB disk would be the way to go. But other than that your plan sounds good.
Message 20 of 21
tj1scott
Aspirant

Re: NV+2 - Accessible by DLNA, not by NFS/SMB #24513857

Agreed. It's strange tho as the hard drive is only two days old and I managed to backup 4 out of the 5 shares to it before attempting the 5th, at which point I got the error.

Regardless, will give it a crack! Thanks a lot for your help, I really appreciate it!!
Message 21 of 21
Top Contributors
Discussion stats
  • 20 replies
  • 2224 views
  • 0 kudos
  • 3 in conversation
Announcements