Hi, we will see how to add disk to the machine we created in Oracle Cloud.
The best advantage to using Cloud, when you need to new one no physical performance required. I mean, you don’t need to know hardware. You can secure, backup, mount easily. Let’s try together.
If you don’t have trial account and virtual machine, look at this article,
Open oracle cloud account and move your mouse on top left, you could see many option. You need a disk, so you should click Block Storage and Block Volumes.
When you open the Block volumes page you could see some block volumes if you create before. I have a some Block volume but now i will create new one. Let’s click Create Block Volume
First area is name of your Block Device, Secon area is your cloud compartment (you can change if you want but first you have to create new).
Block size must be 50gb and above, Oracle Cloud provides some disk backup policy but we will not be interested in this right now.
Look at this article if you want to more information. https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm
After finish the configuration you will see this screen, that means you are ready to attach.
Go to Compute > Instances you will see your instances. Click three points and you could see Attach Block Volume and press that.
You have to make Attach configuration. As you see, configration steps are short. The good thing about this, you do not have to make some settings on the operating system such as Read-only or Read/Write
Select the disk you created in this step, also there have a more option but now just select you created.
You should choose which partition you want to have under / dev on the operating system.
After finish the attached operation, go again Block volume and click Attached Instance,
After that you will see that screen. We attached disk on OS, but disk not be ready yet. You have to run some command, but don’t worry, commands are coming from Oracle cloud 🙂
Click three point and you will see iSCSI Commands & Information. Click that,
You can see Attach Command and Detach Commands. Connect you Virtual Machine and run this commands,
You don’t have virtual machine yet, or you don’t know how to connect, read this article
If you did everything right, you will see /dev/sdd
I hope it was useful, if you have any questions or need support just write me [email protected]
See you in next article..
Do you want to learn Oracle Database for Beginners, then read the following articles.
1,188 views last month, 4 views today