0

I have Hetzner cloud server with 20GB /sda & additional volume of 30GB /sdb How can I extend /sda ?

enter image description here

1

1 Answer 1

1

If the volume is actually extendable then you could use the following commands, given you use ext4 in the last line.

#scan for disk-changes if those happened in a vm-environment by $host
echo 1 > /sys/block/sda/device/rescan
#install cloud-guest-utils which provide `growpart`
yum install cloud-utils-growpart
#extend partition to maximum available size
growpart /dev/sda 1
#extend ext4?
resize2fs /dev/sda1

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.