NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Chandler1
Dec 20, 2017Aspirant
RND2000 Duo v1 - lockup after boot - OS partition full?
(NB: reposting since it appears my original post never got published for some reason...? https://community.netgear.com/t5/Using-your-ReadyNAS/RND2000-Duo-v1-lockup-after-boot-OS-partition-full/td-p...
Chandler1
Dec 20, 2017Aspirant
Thanks mdgm.
So my plan is good? (presuming it is a full root...)
Can you advise on copying the large logs to the data partition? (I'm not a Linux user, although I'm working on it!)
# cp /sysroot/var/log/frontview/error.log /???/backup_frontview_error.log
StephenB
Dec 20, 2017Guru - Experienced User
First check that the OS partition is full
# cd //
# df . -h
# df . -i
The first df will tell you the space usage on the OS partition. Normally it would be no more than 25%
The second df will tell you the inode usage on the OS partition. Inodes are used for metadata, and if you run out you won't be able to create new files on the OS partition even if there is free space.
Assuming you are running out of space:
You'd put the oversize logs on the C volume. The best thing to do is park them in a share.
So first create a subfolder in a share
#mkdir /c/sharename/log_files
Then
# cp /var/log/frontview/error.log /c/sharename/log_files/backup_frontview_error.log
- Chandler1Dec 20, 2017Aspirant
Thanks StephenB.
I'll give it a go over the weekend and report back!
- StephenBDec 20, 2017Guru - Experienced User
If you are in tech support mode, you will need to mount the C volume.
I believe the following will do that (hopefully mdgm-ntgr will correct this if it is in correct).
<Removed incorrect commands - use mdgm-ntgr's - StephenB>
- mdgm-ntgrDec 21, 2017NETGEAR Employee Retired
No, not that. Something like:
# mount --bind /proc /sysroot/proc # mount --bind /dev /sysroot/dev # mount --bind /dev/pts /sysroot/dev/pts # chroot /sysroot /bin/bash # vgscan # vgchange -a y # mount /dev/c/c /c
- Chandler1Dec 27, 2017Aspirant
Thank you for the assistance mdgm and StephenB.
I've now had the opportunity to investigate further and successfully boot the NAS into tech support mode and connect via PuTTY; df outputs below.
root@:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/hdc1 1.9G 359M 1.5G 19% / sysfs 1.9G 359M 1.5G 19% /sys tmpfs 1.9G 359M 1.5G 19% /ramfs tmpfs 1.9G 359M 1.5G 19% /USB /dev/c/c 1.8T 178G 1.6T 10% /c /dev/c/c 1.8T 178G 1.6T 10% /c root@:/# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/hdc1 128000 8079 119921 7% / sysfs 128000 8079 119921 7% /sys tmpfs 128000 8079 119921 7% /ramfs tmpfs 128000 8079 119921 7% /USB /dev/c/c 60981248 37340 60943908 1% /c /dev/c/c 60981248 37340 60943908 1% /c
Presuming I'm reading that correctly, disc space is not my issue, with 93% inodes and 81% space free.
Next step?
Related Content
NETGEAR Academy

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