Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Increase Disk Space - Bitbucket Server - SOLVED Edited

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 Leader Oct 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

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 Leader Oct 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

Thanks a lot @Alexis Robert !

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

Thanks
Mike

Alexis Robert Community Leader Oct 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 !

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
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,880 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you