Score:0

nfs uses LOTS of hidden disk space

in flag

I have a machine that exports /home to 2 others. Regularly the partition fills up but it's impossible to pinpoint what takes up size. Both du -x /home and ncdu -x /home show something like 56Gb use while df /home shows 100% of 250Gb use.

I've tried lsof -a +L1 /home to find still open deleted files but there were few. No runaway log files.

Finally doing systemctl restart nfs-server.service frees up a LOT of space:

# mount | grep /home; du -xhs /home; df -h /home
/dev/sda4 on /home type ext4 (rw,relatime)
56G     /home
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda4       249G  140G   97G  60% /home

Note that 80Gb are still AWOL. And the hidden files were not .nfsXXX files, otherwise I'd have found them.

Questions:

  • how can I free the remaining space (without rebooting)
  • how can I diagnose this better (nfsstat, lsof ?)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.