This post covers the latest changes in one of the services in Oracle Cloud Infrastructure (OCI) which is Block Volume.
If you don’t know What is Block Volume is, then I would highly recommend you to check our previous post on Oracle Cloud Infrastructure (OCI) | Storage Object, Block | File Storage, Data Transfer Service|
Earlier if we want to resize the storage during Cloning (Block volume) or want to increase the size of volume we have to go to multi-step process and do it, but now it’s one click and you have to give size and all done !!!!!. Here 3 aspects are covered where the resizing option will help. You can resize boot or block volume in the same way.
Block Volumes Resizing
Now when you create the Block volume you will see one more tab names “Resize”
Means we can change the size of the Block Volume after creating it and this will be in-place resize.
Few points to keep in mind
- This will not be done if the Block volume is in use means you need to detach it first and then perform. No need to worry, if attached this resize tab will be disabled. Either boot volume or block volume, it will be Offline resizing.
- You cannot decrease the size (not less than current size), so this is scaled up operation only. So this operation is basically expanding an existing volume in place with offline resizing.
Backup restore resizing
- Next is if you are creating a block volume using the backup you can resize it and while creating volume.
- Here too we can give the size higher than the current size of the Block volume. Once created then we can attach the same to Compute instances.
Click Here to get the FREE Guide: Oracle Compute Cloud Services Interview Questions
Block Volume Clone Resizing
- Now when you do Block Volume clone you will see the extra parameter mentioned which is of size. as shown below.
- This means that we can change the size of the target volume we are creating. This will save a lot of time. As a best practice don’t forget to take the backup before doing resizing.
This post is from our Course “Oracle Cloud IaaS – Oracle Cloud Infrastructure (OCI) Architect” with 1 Years On-Job Support and 1 year Unlimited FREE Retakes (If you need to know more about this program then reach out to our team at contact@k21academy.com )
Related/Further Readings
If you are just a beginner to Oracle cloud, then check our below posts to start your journey:
Next Task
- Download our Step By Step Guide to Create Oracle Cloud Account and Create Your first Oracle Database or PaaS Offerings on Cloud
- Did You Start Your Oracle Cloud Journey? NO!
So Your Next Tasks is, Join FREE Masterclass on How To Become Oracle Certified Cloud Architect in 8 Weeks. Click on the image below to register for FREE
Martin says
Hi
This article seems to be fresh, but I haven’t seen any option to resize Block Storage or Boot Volumes.
Not sure what is wrong but there is even no such button, cause if this is available then I would have at least greyed out button – there is nothing about resizing in both situation
Am I doing something wrong or Oracle just removed this feature?
Regards MC
Rohit Pathak says
Hi Martin,
Thanks for your comment!
Yes, Oracle has removed this as of now, however from the blog we have taken the reference is of Oracle
https://blogs.oracle.com/cloud-infrastructure/size-up-your-volumes.
and also we have tested the same in our Cloud account and that time the option was there, hoping so this update might come in October.
Thanks & Regards,
Rohit(TeamK21)
Exequiel says
I wonder how to reduce the size of a boot volume. Current option only accepts increasing the size.
Rohit Pathak says
Hi Exequiel,
You can only increase the size of the volume, you cannot decrease the size. You can attach a volume and start using it as soon as it’s resized and becomes available.
Reference: https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/resizingavolume.htm
Thanks & Regards,
Rohit (TeamK21)
newbie oracle cloud says
I need to decrese size of volume. I understand this is limitation of oracle cloud but I really need to decrease size VG. Someone can advise me what should I suppose to do if I wouldn’t delete instance and re-provisioning.
Surbhi Sharma says
Hi Newbie,
You can only increase the size of the volume, you cannot decrease the size. You can attach a volume and start using it as soon as it’s resized and becomes available.
You have to create a new instance with the desired size.
Reference: https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/resizingavolume.htm
Regards,
Surbhi