Showing posts with label drive. Show all posts
Showing posts with label drive. Show all posts

Tuesday, December 24, 2019

Mount a new drive in CentOS

Like windows, we can format and make a new drive available for use by using the following simple steps
Step 1:
It is needed to verify whether the new drive is visible in the system. Using fdisk command, it can be identified.
fdisk -l
It will list all drives available in the system including mounted and unmounted drives. Here assume a new drive label is /dev/ssd
Step 2:
It is needed to create the file system ext4(in shortly say as formatting drive). So make sure drive is fresh/empty one. It a drive has already data, don’t enter this step, instead skip to next step. The following command helps to create file system
mkfs -t ext4 /dev/ssd