How to Add a New Disk to an Existing Linux Server

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Lakshmi Dhandapani

I work on various platforms including IBM-AIX, Solaris, HP-UX, and storage technologies ONTAP and OneFS and have hands on experience on Oracle Database.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

28 Responses

  1. Bhargvi says:

    Hi,

    I need to add another hard disk in rhel7 system and wanted to create a ‘sdb’ partition. May I know how to create it?

    • Ravi Saive says:

      @Bhargvi,

      Follow the same procedure as explained in this article, for adding new disk to an existing RHEL 7 system..

      • Bhargavi says:

        Thank you Ravi Saive

        I need to add graphically not a command line mode…..
        In graphical mode how to add the hard disk…

        • Ravi Saive says:

          @Bhargavi,

          I think you can do it by using any graphical disk management utility like Gparted or any other, that you need to find out..

  2. Arun says:

    You added 20 Gb Hard disk but in fdisk it is showing 21.5 GB. HOW??

  3. Sergio Satler says:

    Thanks Lakshmi! It’s very helpful!

  4. Manush says:

    Thanks Lakshmi. It worked well for my RHEL VM.

  5. Andrew says:

    Thanks — I was able to follow this guide and get my drive installed with no headaches at all!

    It might be useful to update with instructions to change the owner of the newly assigned drive. In Ubuntu 16.04, my freshly installed drive belonged to the user `root` and the group `root`. I just had to run `sudo chown : /dev/sda1` (in Ubuntu it seems both name and group are your login name) to get write access to the drive.

  6. Matthew Broadhead says:

    In your /etc/fstab consider using the UUID instead of the automatically assigned /dev/***.
    UUID can be found using blkid.

    e.g. fstab

    UUID=******-*******-******-******	/data	ext4	defaults     0   0
    
  7. Håkan Franzén says:

    Hi, before the command.

    # mount /dev/xvdc1 /data
    

    you should add: mkdir /data (if there is no /data)

Leave a Reply to Ravi Saive Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.