NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
david_spittle
Apr 12, 2022Tutor
RN314 - OS partition full?
Hi I went to log into my NAS admin page and it didn't work, just went into a loop asking again for my credentials. I tried to SSH in via putty, and also windows: ssh root@ip-address. Access ...
david_spittle
Apr 12, 2022Tutor
Hi
I managed to log in using Terminal. ssh root@ IP
Any ideas what to type from here to figure it out?
Thanks
***edit*** I got a bit excited when I finally managed to access. I've DLed Raidar and will download the logs, it's very slow, but perhaps it will be done by the morning...
StephenB
Apr 12, 2022Guru - Experienced User
david_spittle wrote:
I managed to log in using Terminal. ssh root@ IP
Any ideas what to type from here to figure it out?
Start with
root@NAS:~# mount --bind / /mnt
root@NAS:~# du -d1 -h /mnt
6.4M /mnt/bin
0 /mnt/boot
24K /mnt/dev
11M /mnt/etc
0 /mnt/home
33M /mnt/lib
4.0K /mnt/lib64
0 /mnt/media
4.6M /mnt/opt
0 /mnt/proc
36K /mnt/root
0 /mnt/run
11M /mnt/sbin
0 /mnt/srv
0 /mnt/sys
0 /mnt/tmp
297M /mnt/usr
671M /mnt/var
0 /mnt/mnt
0 /mnt/data
0 /mnt/apps
30M /mnt/frontview
1.1G /mnt
root@NAS:~#
That will tell you if the OS partition is in fact full (and you can compare my results with yours, to see where the problem might be).
Entering umount /mnt will undo the mount.
- david_spittleApr 12, 2022Tutor
so I type this first? It didnt seem to do anything
mount --bind / /mnt
- StephenBApr 12, 2022Guru - Experienced User
david_spittle wrote:
so I type this first? It didnt seem to do anything
mount --bind / /mnt
Yes. If you don't enter it, the second command will show no space used (and no subfolders).
What it does is remount the root (OS partition) to /mnt. If you want to see the space actually used by the root file system, you need to remount it - otherwise the mount points in / will get in the way.
- david_spittleApr 12, 2022Tutor
So perhaps the first command worked.
second one gave this:
root@ReadyNAS01:~# du -d1 -h /mnt
6.8M /mnt/bin
0 /mnt/boot
24K /mnt/dev
12M /mnt/etc
0 /mnt/home
33M /mnt/lib
4.0K /mnt/lib64
28K /mnt/media
4.7M /mnt/opt
0 /mnt/proc
796K /mnt/root
0 /mnt/run
11M /mnt/sbin
0 /mnt/srv
0 /mnt/sys
4.0K /mnt/tmp
717M /mnt/usr
900M /mnt/var
0 /mnt/mnt
0 /mnt/data
12K /mnt/apps
31M /mnt/frontview
1.7G /mnt
root@ReadyNAS01:~#
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!