Skip to main content

Error :- CannotCreateContainerError: API error (500): devmapper:


Cause :-

This error is caused due to less amount of space available in the root partition.


Solution :-
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

Extending the Linux file system:-

Steps to be taken:-

Step 1:-
Increase the size of the root volume from aws console
    1.1 Select the root ebs volume attached to the aws instance
    1.2 Click on the ACTION tab , and then click on modify volume













  1.3 Increase the root volume size as per the requirements

Step 2:-
Check the file system of the root volume
  2.1 df -h
 
  2.2  file -s /dev/xvda1



 2.3  Expand the modified partition (for linux formatted partition)
          growpart /dev/xvda 1
 2.4 Resize each file system
         resize2fs /dev/xvda1

======================================================================
FOR NVME devices on AWS

Step 1:- Modify the size of root volume by using aws console (aws command line)
Step 2:-
  2.1 Check the file system of the instance
    file -s /dev/nvme0n1p1
  2.2 lslbk
  nvme0n1
  |--nvme0n1p1
 2.3 Expand the modified partition (for linux formatted partition)
    growpart /dev/nvme0n1 1
  2.4 Resize each partition
     resize2fs /dev/nvme0n1p1





Comments

Popular posts from this blog

ELK Installation | Configuration

How to remove elk stack from the server? This section of the guide defines the procedure for the removal of various components of the elk stack Elasticsearch The various steps that need to be followed, for the removal of the elasticsearch completely from the server. Check the elasticsearch status It is used to check the status of the elasticsearch service. service elasticsearch status How to install elk on the server? Script for installing the elk stack The elk components in the training are installed with the help of this bash script. #! /bin/bash Name : Bakul Gupta Email : bakulgupta11@gmail.com(github.com/bullhacks3) red= `tput setaf 1` green= `tput setaf 2` yellow= `tput setaf 3` blue= `tput setaf 6` grey= `tput setaf 8` reset= `tput op` function help() { echo -e "\n ${yellow} This script is used to install the elasticsearch on the ${red} debian ${yello...

Cybrary | Cloud Architecture Foundation

Date: 8th September 2019 Course Name: Cloud Architecture Foundation Instructor Name: Kevin Mayo Lecture 1 : Basic use case of an organization Agcorp. Agcorp: How cloud redefined their business. Course Module  Module 1: Cloud Overview Module 2: Cloud Characteristics Module 3: Overview of AWS, GCP, Azure Module 4: Storage Module 5: Network Architecture Module 6: Virtualization Module 7: AWS Deep Dive Module 8: Microsoft Deep Dive Module 9: Cloud Servicing Module 10: Cloud Troubleshooting Module 1; Cloud Overview Cloud Computing Architecture 1. IAAS AWS, RackSpace, Hp Service 2. PAAS 3. SAAS Google Suite, Office365 Cloud Deployment Models 1. Private Hosting organization uses for its own purpose. 2. Public Hosting organization gives access to general public users. 3. Hybrid Combination of private & public models. 4. Community Here two or more organizations share the same purpose. 1.1 Infrastructure As A Service 1.1.1 Network As a...

INTRODUCTION TO BITCOIN

Q. What is Bit-coin ? 1. Bit-coin is formally a virtual form of currency,by virtual form:- we mean that bit-coin is only available in electronic (i.e digitalized) form.Hence there is no physical presence of bitcoin just like as INR(Indian Rupees), USD(Dollars), Yen,Euro etc. 2.It is a digital payment system which is supposed to be implemented by an unknown programmer or group of programmers under the name of Satoshi Nakamoto. 3.Initially the first presence of Bit-coin was felt in the year 2009.   Advantages of Using Bit-coin:- 1. Bit-coin uses peer-to-peer (P2P) technology i.e the bitcoin r transferred     from one person to another person e-wallet without the involvement of any     intermediary. 2. It supports the world-wide connectivity it means that the bitcoin can be  transferred to any part of the world in real world.   3. Low-processing fees is another feature regarding the bitcoin transactions...