Expedition root directory keeps growing

Reply
L3 Networker

Expedition root directory keeps growing

I have expanded the root directory like 2 times already and it keeps filling up. So now the expedition gui will not load. 

 

So what is taking all the space?  

 

expedition@pan-expedition:/hdd/PaloLogs$ df -h

Filesystem                       Size  Used Avail Use% Mounted on

udev                             2.9G     0  2.9G   0% /dev

tmpfs                            595M   24M  572M   4% /run

/dev/mapper/Expedition--vg-root  109G  106G     0 100% /

tmpfs                            3.0G     0  3.0G   0% /dev/shm

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

tmpfs                            3.0G     0  3.0G   0% /sys/fs/cgroup

/dev/sdb                          99G   28G   67G  29% /hdd

/dev/sda1                        472M  109M  340M  25% /boot

tmpfs                            595M     0  595M   0% /run/user/1000

expedition@pan-expedition:/hdd/PaloLogs$

 

I think the "projects" live in the root so it must be large to be taking up that much room so what are some options here?

 

 

/dev/sbd is where the logs from the pan are getting exported.

L4 Transporter

Re: Expedition root directory keeps growing

Could you please check if the folder /tmp/spark-warehouse is taking the space?

 

If so, how big did it get?

L3 Networker

Re: Expedition root directory keeps growing

How do I check the size of the directory?

L4 Transporter

Re: Expedition root directory keeps growing

du -hs /tmp/sparl-warehouse

 

I find it useful to see how much folders take by

 

for i in `ls`; do du -hs $i; done

 

L3 Networker

Re: Expedition root directory keeps growing

expedition@pan-expedition:~$ du -hs /tmp/spark-warehouse

4.0K /tmp/spark-warehouse

expedition@pan-expedition:~$

L4 Transporter

Re: Expedition root directory keeps growing

Try to locate the "big" folder with the script I mentioned above.

 

Start by / and trace the big folder down to the deep location.

I would appreciate this effort to see whether it is related to any task regarding Spark processes.

L3 Networker

Re: Expedition root directory keeps growing

I am more than happy to help im just not a skilled linux guy so need a bit more detailed instructions on that script? Is it as easy as copy paste? I assume not. 

L4 Transporter

Re: Expedition root directory keeps growing

You assumed right.

 

As easy as copy and paste.

It will let you know, from the different folders within your current path, the size of each of them.

 

So, start by

 

Step 1: cd /

Step 2: for i in `ls`; do du -hs $i; done

Step 3: Check which folder is the big one. Let's assume it is /tmp
Step 4: cd /tmp

Step 5: jump to step 2

L3 Networker

Re: Expedition root directory keeps growing

Is there a way to sort? Also there is alot of permissions denied errors. 

L4 Transporter

Re: Expedition root directory keeps growing

if there were many snapshots taken for each project this could grow the storage for the projects.

 

You can check the backup directories for each project.

 

Note: you will need su access to move into the project directory.

 

/home/userSpace/projects

 

within each project there will be a 'Backups' directory that can be checked for the snapshots.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!