I created a virtual server but found that the space was too small, so I wanted to add additional disk space to it. After attaching it, I'm not able to see the newly attached disk using df -h in the virtual server. How can I see the newly attached disk?
IBM Cloud: How do I see the newly attached block storage in a virtual server?
390 views Asked by Hades Su At
2
There are 2 answers
0
Gupta
On
Note: Following steps may change wrt OS. Below example specfic to IBM VSI with ubuntu 18.04 LTS
First confirm the disk is attached to VSI(virtual server instance)and check the number of disk at the node by fdisk command.
fdisk -l | grep xvdc
Create a directory for new partition to be mounted
mkdir /data1
Make the partition using fdisk command
fdisk /dev/xvdc
After the above command it will ask some info
n # And then hit enter until it creates the partition.
Format the partition using mkfs command mkfs.ext4
mkfs.ext4 /dev/xvdc
Mount the partitoined on the new directory
mount /dev/xvdc /data1
Check the disk and its mounted points
df -h
Related Questions in IBM-CLOUD
- Update a bearer token in a watsonx extension
- Unexpected behaviour when updating variables in Schematics using the golang SDK
- TranspilerError: 'Number of qubits (40) in QAOA is greater than maximum (30) in the coupling_map'
- What is "X-Require-Whisk-Auth" (IBM Cloud Functions) in IBM Cloud Code Engine functions?
- How to connect device to IBM cloud
- EntityStreamSizeException Due to Request Content Size Limit Exceeded
- Call watsonx.ai prompt in watson assistant
- Where do I find my credentials for using watsonx.ai
- Watsonx Assistant reconigze phone number from Twillio Integration
- IBM NeuralSeek API Filter
- Is there any option to activate/deactivate a MDB in open liberty
- Fail-over to secondary region when primary region goes down on a IBM MQ Multi-instance Queue manager using a NFS 4.1 share
- CS0246 Error while installing IBM Watson SDK for Unity
- Programmatic name pending approval - approval duration, criteria
- How can I compact a collection in my IBM Cloud Databases for MongoDB deployment?
Related Questions in STORAGE
- Worth it to access data by blocks on modern OS/hardware?
- Remove files with LastWriteTime
- spring security + form login + redis session storage -> keep coming out anonymous User
- How to redirect to another page eg main.py after user fill in and click register button and store it on .ini local database on python using kivy
- JSON document based storage Flutter(android and iOS)
- Invoke-WebRequest : Cannot validate argument on parameter 'Uri' Brocade switch FOS REST API
- How to set storage path for main domain from sub domain - Laravel
- Could converting a JPG to PNG or PPM be a good idea?
- How to restart automatically the application after clearing its storage?
- How to change an item in a list forever?
- Internal Storage Video Downloder
- Flask Download File with Get Request
- How to initialize a data storage system
- Slow D3DX11CreateShaderResourceViewFromFile relatively CrystalDiskMark speed
- How to store and build paths that depend on user input
Related Questions in BLOCK
- How to create additional options for a specific block
- How can i display this.state value in save.js?
- Can images be blocked from being pushed to Harbor based on the number of artifacts for that image?
- Codesys question about using a Ladder function block into a SFC (doesn't work properly)
- Wordpress how to Program Reusable Blocks
- Seeking Guidance on Understanding Chainpoint-js
- Minecraft fabric overriding existing blocks 1.20
- Blocking certain domains from php mailer process script or form
- Not able receive block level events in hyperledger fabric golang
- Switching block PNGs in PyGame
- block-grid not working in Foundation framework
- How to create a database block under toggle block via Notion api?
- Guttenberg search link Customization issue
- Gutenberg Block, Change supports with controls
- How to programmatically insert post excerpt block in Gutenberg block editor with content?
Related Questions in DISK
- I have unallocated space in my C drive. I want to make it primary partition but it is being created as logical partition
- An issue where memory peaks abnormally and then normalizes again
- Run python script with disk as RAM
- GetVolumeInformationA returns no value for local disk
- GCP Cloud Sql (Postgres) simple select queries exceed disk read quota
- Does a physical filesystem works only for a specific type of storage media?
- My USB's corrupted post creating Windows boot USB on Ubuntu. Can't format.?
- How do I get my VM to pip install dependencies on my attached disk?
- Tinymce upload images to google cloud
- Are there any ways to set disk size limit for each docker container?
- How do I find the EFI partition on a Dynamic disk using PowerShell?
- Can't delete VM "Error: 'Error accessing storage"
- GCP Python get disk infromation
- "$Bitmap size is smaller than expected" when shrinking a partition image with ntfsresize
- Is there a way to monitor computer memory for a file to be loaded and then execute a different process to act on the file?
Related Questions in BLOCK-STORAGE
- Incorrect volume usage in FSx for ONTAP
- How do you configure the EBS block size to be different than the default?
- Are Azure "Block Blobs" an example of "block storage", "object storage", or (somehow) both?
- What am I doing wrong using the IBM Cloud Block Storage plug-in
- Is ext4 considered file storage or block storage?
- What filesystem type is appropriate for openstack cinder volume?
- Is it practical to mount a block storage to multiple VPS running Docker Swarm for shared storage?
- IBM Cloud: Which API to use to get list of all block volume sanctioned
- Isn't everything block-storage? (File-storage, object-storage, block-storage)
- How kubernetes block, file and object storage types are used inside containers
- AWS EBS volume not showing up windows disk management
- File based storage vs Block based storage?
- IBM Cloud: How do I see the newly attached block storage in a virtual server?
- How to use Redhat CloudForms Cinder volumes for Kubernetes PersistentVolumes
- Kubernetes persistent volume on own rack
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
There are several commands that you can use:
fdisk -landlsblk.The first disk drive should appear as
xvda. Usually, there is a second disk drivexvdbthat is used for swap. Your new disk will appear asxvdc. Note that naming is OS-specific.You will need to partition the new disk, format a file system and then mount the file system to a directory. The exact steps are OS-dependent.