Running out of disk space in Guest VM

29 views
Skip to first unread message

Doug Lundin

unread,
Dec 12, 2019, 7:26:21 AM12/12/19
to owaspbwa
Hi,
I'm trying to run an automatic scan of the VM using OWASP ZAP 2.8.0. The VM starts up with 17% free disk space on /SDA1 but the scan causes the disk to fill (because of log files is my guess). I've tried to increase the root partition using GParted but for some reason can't seem to expand the disk. I'm using VMWare Workstation 15.5.1 and GParted Live 1.0.0.

Has anyone else seen this problem?

/d

Doug Lundin

unread,
Dec 12, 2019, 8:35:46 AM12/12/19
to owaspbwa
I think I figured out the problem - root is an LVM partition and is not easily extendable.

So, I took these steps and it successfully extended the root partition:
[0] Added disk space using VMWare and used GParted to extend root partition
[1] Deactivated root partition
[2] lvextend -l +100%FREE [MOUNTPOINT]
[3] resize2fs [MOUNTPOINT]

Dave Ferguson

unread,
Dec 12, 2019, 11:54:46 AM12/12/19
to owas...@googlegroups.com
On another note, I've found that it helps to periodically delete log files from the following locations.

  /var/log
  /var/log/mysql
  /var/log/tomcat6
  /var/log/apache2
  /var/log/postgresql

-Dave


--
You received this message because you are subscribed to the Google Groups "owaspbwa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to owaspbwa+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/owaspbwa/f52dc0ac-4bc7-440e-9876-ae1fc73c06d4%40googlegroups.com.

Doug Lundin

unread,
Dec 12, 2019, 12:22:36 PM12/12/19
to owas...@googlegroups.com
Right. I had already done that but there wasn’t enough free space to keep up.

No problem, though. I got the job done.


On Dec 12, 2019, at 9:54 AM, Dave Ferguson <gmd...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages