Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Increase Disk Space - Bitbucket Server - SOLVED

Mike Wunderlich October 30, 2019

Hey,

I almost reached my max storage space (see screenshot).

DiskSpace.png

So I checked my partitions:

Device Start End Sectors Size Type
/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 2103295 2097152 1G Linux filesystem
/dev/sda3 2103296 20971486 18868191 9G Linux filesystem

So I increased my Partition (dev/sda3) with: 'growpart /dev/sda 3':

Device Start End Sectors Size Type
/dev/sda1 2048 6143 4096 2M BIOS boot
/dev/sda2 6144 2103295 2097152 1G Linux filesystem
/dev/sda3 2103296 503316446 501213151 239G Linux filesystem

But the storeage is not 'updated' in Bitbucket.

I searched a lot but I did not find an solutions.
So i hope you can help me...

1 answer

1 accepted

0 votes
Answer accepted
Alexis Robert
Community Champion
October 30, 2019

Hi @Mike Wunderlich , 

 

did you try restarting Bitbucket ? also, are you sure you don't need additional steps to increase the volume capacity, with resize2fs for example ? 

 

Let me know if this helps, 

 

--Alexis

Mike Wunderlich October 30, 2019

I already restarted bitbucket, this did not worked.
I also restarted the hole server, also not worked.

I never worked with partitions on ubuntu...
But 'sudo fdisk -l' shows me now 239GB.

Alexis Robert
Community Champion
October 30, 2019

I think you did resize the partition, but not the filesystem that is used then by Bitbucket.

Have a look at this answer to resize the / partition : https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime

In your case, you probably need to do : 

resize2fs /dev/sda3

Since this is your root partition, I recommend doing a data or server backup first, to be on the safe side :)

 

Let me know if it works, 

 

--Alexis 

Like Vincenzo Parrello likes this
Mike Wunderlich October 30, 2019

Thanks a lot @Alexis Robert !

It worked, ok, completely my fault, and not based on bitbucket...

Thanks
Mike

Alexis Robert
Community Champion
October 30, 2019

Good to know @Mike Wunderlich  ! WHat was the issue in the end ? 

Also, could you please click on "Accept Answer" button so that this thread is marked as resolved ? Thanks !

Mike Wunderlich November 1, 2019

While I set up my server the partition was only 8GB, so i had to increase them but I forgot this:

resize2fs /dev/sda3

 Thanks for your support!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events