Bootdisk filling up

N0b0dy1985

New Member
Mar 27, 2024
6
0
1
Hi, I'm trying to diagnose what exactly is taking up so much space on a Plex LXC bootdisk. I've expanded the disk twice now and it keeps growing. All my libraries are on a separate NAS accessed via CIFS. When I go to the container console to go look, I see the /dev/mapper/pve-vm--100--disk-0 directory is taking all the space, but when I go to drill into it with df, I'm getting a message "No such file or directory". I want to traverse that directory to find out what's filling the bootdisk and mitigate it. How do I do that?

Code:
root@Plex:~# df -h

Filesystem                            Size  Used Avail Use% Mounted on

/dev/mapper/pve-vm--100--disk--0       40G   25G   13G  67% /

none                                  492K  4.0K  488K   1% /dev

tmpfs                                 7.8G  4.0K  7.8G   1% /dev/shm

tmpfs                                 3.1G  116K  3.1G   1% /run

tmpfs                                 5.0M     0  5.0M   0% /run/lock

//192.168.34.12/Public/Media/archive   77T   49T   28T  64% /media/Archive

//192.168.34.12/plex/Movies            37T  8.6T   28T  24% /media/Movies

//192.168.34.12/plex/Music             37T  8.6T   28T  24% /media/Music

//192.168.34.12/plex/TV                37T  8.6T   28T  24% /media/TV

tmpfs                                 1.6G  4.0K  1.6G   1% /run/user/0

root@Plex:~#

root@Plex:~#

root@Plex:~# df -h /dev/mapper/pve-vm--100--disk--0

df: /dev/mapper/pve-vm--100--disk--0: No such file or directory

root@Plex:~#
 
Last edited:
I see the /dev/mapper/pve-vm--100--disk-0 directory is taking all the space
/dev/mapper/pve-vm--100--disk-0 is the name of the disk, it is mounted on / so you will need to check the root directory. A good way of checking the disk usage is by using ncdu
 
  • Like
Reactions: N0b0dy1985