What's new
PlexGuide.com

Register a free account today to become a Plex Guide Member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Idea Incorporated! NCDU

Donations go towards the cost of the Server, Forum Cost, and Licenses!
NCDU
This application allows you to see what directories are using up the most space

We've prepared a menu to make it easier for you to check the main directories you will use with Plexguide, it's very useful when troubleshooting drive space issues.

With each scan you can select a directory to go down to the next level within that directory structure
1. This will scan your entire drive ( / ) excluding /mnt
2. This will scan your entire drive ( / ) excluding /mnt & /opt - this is if you have a large Plex or Emby metadata library
3. This will scan /opt - but can take a very long time depending on the amount of metadata you have for Plex or Emby
4. This will scan /mnt - but can take a very long time depending on the amount of data you have
5. This will scan /mnt/move - here you can check if there are any files waiting to be transferred to your gdrive
6. This will scan /mnt/unionfs - again this can take a very long time depending on the amount of data you have
7. This will scan /mnt/nzbget - here you can check how much you have in the incomplete directory and completed
8. This will scan /mnt/sab - same as above
9. This will scan /mnt/deluge - same as above
10. This will scan /mnt/rutorrent - same as above
11. This will scan /mnt/torrentvpn - same as above depending on if you use DelugeVPN or rTorrentVPN

Personally I only tend to use options 1, 3 & 5 as my SSD drive is only 60GB and sometimes need to see where my used space has gone!
To access this menu first go to option 7 - Info & Troubleshoot, option 1 - Information and finally option 2 - Check storage space with NCDU
Press q to escape ncdu

Note: If you would like to check other directories manually then you need to type ncdu /path_you_want_to_check - you can exclude directories by adding --exclude=/mnt for example

 
Last edited:

Comments

pommy

Journalist
Staff member
Journalist
Reactions
36 0 1
#3
This is great idea. I have an issue at the moment and still trying to find out where the space has gone.

I'll give it a go :)
 

pommy

Journalist
Staff member
Journalist
Reactions
36 0 1
#5
Yeah I downloaded something via deluge and can't find the file. Thought it was in/home/nobody/downloaded but there's no file. 30GB Is lying on my server somewhere.
 
Reactions
1 0 0
#6
Hey, I've run option 9) PlexGuide: Update (Check changelog) and I have NCDU in the Info menu but nothing runs.

Back in the prompt I get the following:


scott@plex:~$ ncdu
The program 'ncdu' is currently not installed. You can install it by typing: sudo apt install ncdu


What am I missing :D
 

pommy

Journalist
Staff member
Journalist
Reactions
36 0 1
#9
Hey, I've run option 9) PlexGuide: Update (Check changelog) and I have NCDU in the Info menu but nothing runs.

Back in the prompt I get the following:


scott@plex:~$ ncdu
The program 'ncdu' is currently not installed. You can install it by typing: sudo apt install ncdu


What am I missing :D
I had the same issue. You can install it or I just ran the following code:

du -cha --max-depth=1 / | grep -E "M|G"

Then replace / with say /var etc
 
OP
OP
D

Deiteq

Administrator
Staff member
Co-Founder
Reactions
56 0 0
#10
I had the same issue. You can install it or I just ran the following code:

du -cha --max-depth=1 / | grep -E "M|G"

Then replace / with say /var etc
Yeah it needs to run via the preinstaller which I don't believe gets initiated after a simple plexguide update.
So to save going through the preinstaller steps it's easier to just manually install it with sudo apt install ncdu :)
 
Donations go towards the cost of the Server, Forum Cost, and Licenses!
Your email address will not be publicly visible. We will only use it to contact you to confirm your post.

Staff online

Members online

Recommend Newshosts for PG

Latest posts

New Threads

Forum statistics

Threads
290
Messages
1,938
Members
179
Latest member
l0gge