Pages

Friday, June 2, 2017

How to Add a New Disk to an Existing Linux Server

As system administrators, we would have got requirements wherein we need to configure raw hard disks to the existing servers as part of upgrading server capacity or sometimes disk replacement in case of disk failure.
In this article, I will take you through the steps by which we can add the new raw hard disk to an existing Linux server such as RHEL/CentOS or Debian/Ubuntu.

Important: Please note that the purpose of this article is to show only how to create a new partition and doesn’t include partition extension or any other switches.
I am using fdisk utility to do this configuration.
I have added a hard disk of 20GB capacity to be mounted as a /data partition.
fdisk is a command line utility to view and manage hard disks and partitions on Linux systems.
# fdisk -l
This will list the current partitions and configurations.
Find Linux Partition Details
Find Linux Partition Details
After attaching the hard disk of 20GB capacity, the fdisk -l will give the below output.
      ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
                                                    ► Read more: http://adf.ly/1n5ZGl
      ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

No comments:

Post a Comment