NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
curso
Dec 20, 2024Tutor
RN314 don't boot anymore after trying to fix "no space left on device" error.
Hi, Here's the full story that led me to a ReadyNAS RN314 that no longer starts with a "flush_space+5a" message on the LCD. Actually, after seeing that I lost (I mean visible on the network) th...
StephenB
Dec 24, 2024Guru - Experienced User
curso wrote:
How I fix them to make the balancing working?
Check the usage again, looking specifically at unallocated space.. Despite the checksum, the balance did appear to work.
What does this return?: btrfs inspect-internal inode-resolve 278 //
Normally it will return the file name of the corrupted file.
curso
Dec 25, 2024Tutor
I ran it here is the result
root@readynas:/tmp# btrfs inspect-internal inode-resolve 278 //
ERROR: ino paths ioctl: No such file or directory
root@readynas:/tmp# ls -il /
total 48
256 drwxrwxr-x 1 root root 674 Dec 24 16:27 apps
257 drwxr-xr-x 1 root root 1738 Mar 16 2024 bin
374 drwxr-xr-x 1 root root 0 May 21 2012 boot
12249745 -rwxr-xr-x 1 root root 4160 Jun 4 2013 cp_check_md5sums.sh
256 drwxr-xr-x 1 root root 586 Dec 24 16:55 data
1025 drwxr-xr-x 16 root root 3380 Dec 24 16:01 dev
422 drwxr-xr-x 1 root root 3574 Nov 23 12:22 etc
194065248 drwxr-xr-x 1 root root 54 Mar 16 2024 frontview
89278 -rw-r--r-- 1 root root 0 Jun 18 2014 ftp_ban.tbl
256 drwxr-xr-x 1 admin admin 28 Mar 17 2018 home
9699 lrwxrwxrwx 1 root root 5 Jun 18 2014 homes -> /home
1320 drwxr-xr-x 1 root root 822 Mar 16 2024 lib
12093 drwxr-xr-x 1 root root 1304 Aug 15 2017 lib32
2197 drwxr-xr-x 1 root root 40 Mar 16 2024 lib64
2199 drwxr-xr-x 1 root root 0 Mar 23 2024 media
2200 drwxr-xr-x 1 root root 26 Jan 25 2016 mnt
2201 drwxr-xr-x 1 root root 98 Oct 11 2022 opt
193170984 drwxr-xr-x 1 root root 4 Aug 26 2023 path
1 dr-xr-xr-x 328 root root 0 Dec 24 16:00 proc
2351 drwx------ 1 root root 620 Dec 24 16:56 root
1235 drwxrwxr-x 28 root admin 1080 Dec 24 16:02 run
2355 drwxr-xr-x 1 root root 2944 Mar 16 2024 sbin
2510 drwxr-xr-x 1 root root 0 Feb 28 2012 selinux
2511 drwxr-xr-x 1 root root 0 Jun 4 2012 srv
1 dr-xr-xr-x 12 root root 0 Dec 24 16:40 sys
188474452 -rw------- 1 root root 18 Feb 21 2024 syslog
2513 drwxrwxrwt 1 root root 178 Dec 25 20:07 tmp
2514 drwxr-xr-x 1 root root 112 Oct 11 2022 usr
8070 drwxr-xr-x 1 root root 188 Mar 16 2024 var
181144103 drwxr-xr-x 1 root root 42 May 7 2022 yacht
root@readynas:/tmp#Then I do not no which file(s) is(are) corrupted.
But by curiosity I ran again btrfs balance // and this time it stopped with a "no space left on device" error message. I ran several times with the same error message, but when I run "", the allocated space was no more 4.0GB 8-), there is progress.
root@readynas:/tmp# btrfs fi df -H //
Data, single: total=2.59GB, used=2.23GB
System, DUP: total=33.55MB, used=16.38kB
Metadata, DUP: total=134.22MB, used=42.73MB
GlobalReserve, single: total=33.55MB, used=0.00B
root@readynas:/tmp# btrfs fi usage /
Overall:
Device size: 4.00GiB
Device allocated: 2.72GiB
Device unallocated: 1.27GiB
Device missing: 0.00B
Used: 2.16GiB
Free (estimated): 1.61GiB (min: 993.96MiB)
Data ratio: 1.00
Metadata ratio: 2.00
Global reserve: 32.00MiB (used: 0.00B)
Data,single: Size:2.41GiB, Used:2.08GiB
/dev/md0 2.41GiB
Metadata,DUP: Size:128.00MiB, Used:40.75MiB
/dev/md0 256.00MiB
System,DUP: Size:32.00MiB, Used:16.00KiB
/dev/md0 64.00MiB
Unallocated:
/dev/md0 1.27GiB
root@readynas:/tmp# ls -al /var/cores/core-readynasd
-rw------- 1 root root 281935872 Aug 16 2018 /var/cores/core-readynasd
root@readynas:/tmp# ls -alh /var/cores/core-readynasd
-rw------- 1 root root 269M Aug 16 2018 /var/cores/core-readynasd
root@readynas:/tmp#
- StephenBDec 25, 2024Guru - Experienced User
You now have some unallocated space so no need to run balance again.
curso wrote:
I ran it
No, you didn't. The command is
btrfs inspect-internal inode-resolve 278 //The two dashes (inspect-internal and inode-resolve) matter.
curso wrote:
-rw------- 1 root root 269M Aug 16 2018 /var/cores/core-readynasd
You can delete this file.
- cursoDec 25, 2024Tutor
OK
Thanks for your support and help.
I whish you a nice and happy end of year 2024.
- cursoDec 25, 2024Tutor
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!