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
As this seems to be related between trying to optimise my LMS setup but now seems to involve fixing something I've broken within the ReadyNAS OS, I've initially posted there in this thread:
Error on 'Clear library and rescan everything' > database or disk is full
and I'll be bouncing between there and here.
There's space on the NAS itself, over 800GB but it seems I've filled up the OS partition.
StephenB
Sep 04, 2025Guru - Experienced User
ChunkySocks wrote:it seems I've filled up the OS partition.
Correct.
ChunkySocks wrote:Thanks for any assistance or guidance on how to resolve this.
You have to remove the files that filled it.
That can be done with ssh. Or it can be done by doing a factory reset - which of course requires a full backup, since it reformats the disks. It also would require reinstalling any apps - which can be a problem now that the Netgear repos have been taken down.
In your case, I'd start by manually uninstalling the Logitech Media Server. If you have an x86 NAS, then the OS partition is BTRFS (unless you migrated the disks from an Arm NAS). If that is the case, you should also try a balance from ssh after you remove the Logitech server.
In general, you want apps (and app data) stored on the data volume. One way to do that is to create an LMS folder manually in /apps, and then move OS folders for the app to that folder. Create soft links that point to the new locations.
(Note /apps is a mount point for /data/.apps)
Related Content
NETGEAR Academy

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