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.
Suggested Read: How to Add a New Disk Larger Than 2TB to An Existing Linux
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.
This will list the current partitions and configurations.
After attaching the hard disk of 20GB capacity, the
fdisk -l
will give the below output.
No comments:
Post a Comment