NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
ChunkySocks
Sep 04, 2025Guide
sudo: unable to write to /var/lib/sudo/ts/admin: No space left on device
I've SSHed into my NAS and got this message: sudo: unable to write to /var/lib/sudo/ts/admin: No space left on device This has all seemed to start after doing some tinkering with the Logitech...
ChunkySocks
Sep 04, 2025Guide
Thanks for replying Stephen.
To update, I did a reboot from ssh, logged back in, changed to root and didn't get the error.
Running df -h again gets:
/dev/md0 4.0G 3.1G 585M 85% /
so a small amount of space reclaimed...
Unrelated aside: why don't I have the option to preformat text like in my original post?
- StephenBSep 04, 2025Guru - Experienced User
ChunkySocks wrote:
/dev/md0 4.0G 3.1G 585M 85% /
so a small amount of space reclaimed...Still dangerously full, so you should do more to reclaim it.
ChunkySocks wrote:
Unrelated aside: why don't I have the option to preformat text like in my original post?
There are some things I like about the new forum software, but there are some aspects that are steps back. You can post feedback here: We Want Your Feedback | NETGEAR Communities But don't expect quick action.
I see the same formatting options in the toolbar in replies as I see in new discussion threads. So I'm not sure what you mean.
I wish they'd put back underlines, and sometimes the strikethroughs were helpful. And there are inconsistencies - PMs have fewer options than forum posts.
FWIW, my impression is that the performance is a bit worse than the old forum.
- ChunkySocksSep 04, 2025Guide
StephenB wrote:
I see the same formatting options in the toolbar in replies as I see in new discussion threads. So I'm not sure what you mean.
I only see 👇
I'm using the Deepseek LLM for some pointers (with a bit of wariness that it advises something totally wrong) and may have got somewhere.
Am logged in as root, gone to base directory and ran:
du -sh * | sort -hr
which gave:
du: cannot access 'proc/2723/task/6523/fd/109': No such file or directory du: cannot access 'proc/6903/task/6903/fd/3': No such file or directory du: cannot access 'proc/6903/task/6903/fdinfo/3': No such file or directory du: cannot access 'proc/6903/fd/3': No such file or directory du: cannot access 'proc/6903/fdinfo/3': No such file or directory 1.5T data 4.0G apps 2.2G root 470M usr 441M var 33M lib 30M frontview 11M sbin 11M etc 6.6M bin 5.4M run 4.7M opt 8.0K dev 4.0K tmp 4.0K lib64 0 sys 0 srv 0 proc 0 mnt 0 media 0 boot
then I wanted to drill down into the root directory and see what was taking up 2.2G of space in there but even though I was a root user, cd /root didn't do anything.
then
mount | grep " / "
gave
/dev/md0 on / type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=5,subvol=/)
which Deepseek says the nospace_cache is a red flag for Btrfs filesystem corruption and that needs repairing, ideally from a bootable USB drive though there is a less reliable method of using the repair tool on the mounted filesystem.
Related Content
NETGEAR Academy

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