Orbi WiFi 7 RBE973
Reply

ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

gmhitchcock
Aspirant

ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

I've been unable to access NAS via Frontview. Can view shares and access via ssh. How do I clean up the OS?

login as: root
root@192.168.1.119's password:
Linux DelphiNAS 2.6.17.14ReadyNAS #1 Wed Jun 20 20:08:20 PDT 2012 padre unknown
DelphiNAS:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 1.9G 2.0G 0 100% /
tmpfs 16k 0 16k 0% /USB
/dev/c/c 5.4T 2.4T 3.0T 43% /c
/c/GMH 5.4T 2.4T 3.0T 43% /home/ftp/GMH
/dev/sda1 1.8T 226G 1.5T 13% /USB/USB_HDD_1
/USB/USB_HDD_1 1.8T 226G 1.5T 13% /home/ftp/USB_HDD_1
Message 1 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

I'd start by running commands such as these:

# cat /var/log/frontview/raidiator_version
# du -csh /var/*
# du -csh /var/log/*
# du -csh /var/log/frontview/*

You are looking for e.g. a large log file or something like that that is filling the OS partition.
Message 2 of 13
gmhitchcock
Aspirant

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

See below:.... looks like /var/log/

DelphiNAS:~# du -csh /var/*
192k /var/backups
99M /var/cache
32k /var/ftpd
36M /var/lib
16k /var/local
32k /var/lock
1.3G /var/log
16k /var/mail
16k /var/netatalk
16k /var/opt
3.4M /var/run
544k /var/spool
16k /var/tmp
32k /var/www
48k /var/yp
1.5G total

DelphiNAS:~# du -csh /var/log/*
16k /var/log/auth.log
944k /var/log/cron.log
32k /var/log/cups
179M /var/log/daemon.log
16k /var/log/ddns
1.2M /var/log/debug
16k /var/log/dmesg
768k /var/log/exim
63M /var/log/frontview
10M /var/log/kern.log
16k /var/log/ksymoops
6.1M /var/log/LeafP2P.log
11M /var/log/messages
80k /var/log/mt-daapd.log.old
16k /var/log/ntpstats
16k /var/log/proftpd.log
1.3M /var/log/samba
16k /var/log/squeezecenter
186M /var/log/syslog
854M /var/log/upnp-av.log
800k /var/log/upnp-av.log.old
16k /var/log/user.log
1.3G total

What next? Remove the upnp-av.log? Any others?
Message 3 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

upnp-av.log is the log for ReadyDLNA.

Rather than removing it, I would do

# echo "" > /var/log/upnp-av.log

/var/log/syslog and /var/log/daemon.log are also quite large. You may wish to copy those to the data volume (in case they contain something important) then empty them.

You may also wish to do e.g.

# tail -n 100 /var/log/syslog

to see if there are any important messages in the log.

What about

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

Could be some large log files in there.
Message 4 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

Also, once you are finished fixing this you may wish to update to 4.1.14-T6 which addresses ShellShock: http://www.readynas.com/forum/viewtopic.php?f=17&t=59222
Message 5 of 13
gmhitchcock
Aspirant

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

Preformed each of the above.

DelphiNAS:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 1.9G 817M 1.1G 42% /
tmpfs 16k 0 16k 0% /USB
/dev/c/c 5.4T 2.4T 3.0T 43% /c
/c/GMH 5.4T 2.4T 3.0T 43% /home/ftp/GMH
/dev/sda1 1.8T 226G 1.5T 13% /USB/USB_HDD_1
/USB/USB_HDD_1 1.8T 226G 1.5T 13% /home/ftp/USB_HDD_1
cle


DelphiNAS:/# du -csh /var/log/frontview/*
64k /var/log/frontview/access.log
16k /var/log/frontview/apache-ssl.pid
43M /var/log/frontview/backup
16k /var/log/frontview/command.log
32k /var/log/frontview/disk_smart_2014_07_23.log
16k /var/log/frontview/ecounter_2014_05_25_1623.log
16k /var/log/frontview/enclosure.log
512k /var/log/frontview/error.log
16k /var/log/frontview/memory.log
16k /var/log/frontview/partitions_2014_07_23.log
16k /var/log/frontview/smart_errors_hdc
16k /var/log/frontview/smart_errors_hde
16k /var/log/frontview/smart_errors_hdg
16k /var/log/frontview/smart_errors_hdi
16k /var/log/frontview/ups.log
43M total

Still can't get Frontview access.... still get "contact support error message".
Message 6 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

Can you try the commands mentioned here: http://www.readynas.com/forum/viewtopic.php?p=384618#p384618

You probably need to try restarting Frontview.
Message 7 of 13
gmhitchcock
Aspirant

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

See below: Same error message from Frontview.

DelphiNAS:/# apache-ssl -f /etc/frontview/apache/httpd.conf -t && apache-ssl -f /etc/frontview/apache/httpd.conf -k restart
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 192.168.1.119 for ServerName
Syntax OK
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 192.168.1.119 for ServerName

DelphiNAS:/# tail /var/log/frontview/error.log
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
Bad free() ignored (PERL_CORE) at /frontview/lib/get_handler.pm line 2.
[Mon Sep 29 06:26:30 2014] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.0-8+etch9~bpo31+1 mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
[Mon Sep 29 18:29:05 2014] [error] [client 192.168.1.131] File does not exist: /frontview/ui/resource/html/images, referer: https://192.168.1.119/admin/
iconv: error while closing output file: No space left on device
iconv: error while closing output file: No space left on device
[Mon Sep 29 21:35:39 2014] [notice] SIGHUP received. Attempting to restart
apache-ssl: Could not reliably determine the server's fully qualified domain name, using 192.168.1.119 for ServerName
[Mon Sep 29 21:36:05 2014] [notice] Apache/2.2.6 (Debian) mod_ssl/2.2.6 OpenSSL/0.9.8e DAV/2 PHP/5.2.0-8+etch9~bpo31+1 mod_apreq2-20051231/2.6.0 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
Message 8 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

You get the same error message when you attempt to open Frontview?

Have you tried rebooting your NAS?

Have you tried clearing your web browser cache (e.g. Temporary Internet Files in IE), closing your web browser, then reopening Frontview?
Message 9 of 13
gmhitchcock
Aspirant

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

1. Yes
2. No
3. cleared, no change.

Rebooted NAS, now can access Frontview. However, RAIDar 4.3.8 shows -- under the information icon and setup is greyed out.

Regarding 4.1.14-T6, I downloaded it, but it had no extension? Is this correct?
Message 10 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

gmhitchcock wrote:

Rebooted NAS, now can access Frontview. However, RAIDar 4.3.8 shows -- under the information icon and setup is greyed out.

So maybe some files were corrupted when the OS partition was full.
gmhitchcock wrote:

Regarding 4.1.14-T6, I downloaded it, but it had no extension? Is this correct?

Yes, that's correct.

Install it via System > Update > Local in Frontview. If the checksum is not valid, the NAS will refuse to install it.
Message 11 of 13
gmhitchcock
Aspirant

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

System updated. We have a winner.... Thanks for your help.
Message 12 of 13
mdgm-ntgr
NETGEAR Employee Retired

Re: ReadyNAS NV+ (sparc) - OS Partition 100% - How to Fix

You're welcome.

An OS re-install would also have helped, however considering the important security update in 4.1.14 beta, I figured updating to that would be better.
Message 13 of 13
Top Contributors
Discussion stats
  • 12 replies
  • 3375 views
  • 0 kudos
  • 2 in conversation
Announcements