5/7/2023 0 Comments Find power on time hdd linux![]() ![]() Since this is a new disk and new partition, we will choose 1 (the default option). We have to select the option p as our requirement is to create a new primary partition.Īfter this, it will ask for the partition number. The available options are primary (p) and extended (e). Here we are creating a new partition, so we have to choose the option n.Īfter entering this option, it will further ask us with the type of partition. The available options with fdisk command are given below. So do not copy paste the above command without checking the disk name. In some cases, it will show up as xvdb, xvdc etc (depends on physical disk or virtual disk). In my case, the disk device name is /dev/sdc, it could be different in your case like /dev/sdb or something else. The command and the sub options are given below. In this case, we will be creating a new partition and saving the changes to the disk. Now it is time to create partitions in the newly added disk. We have completed the verification of the new disk. Step 4: Create partition in the newly added disk fdisk -lĪ sample output of the above command is given below. Now to get a detailed view of disks, partitions and configurations use the following command. From this output, ensure that the new disk is listed. lsblkįor example in my case I got the following output. ![]() Type the following command to see the list of disks and partitions. Step 3: Verify the newly installed disk from the command line ![]() Once the operation is complete, we are good to go with the next steps. The portal has option to create new Virtual disk. Step 2: Create a Virtual diskĬreate Virtual disk using the Dell iDRAC portal. I can see the new disk under the physical disks. After inserting the disk, I opened the Dell IDRAC (a web portal in the BIOS to manage the entire system) and checked the status of the new disk. Step 1: Insert/ install the new disk in the server These steps will work with most of the linux distributions like RHEL, CentOS, Oracle Linux, Rocky Linux, Ubuntu etc. The following are the steps that I performed to add the new disk. It was a production server and because of that I have to do this activity without a downtime or server reboot. Recently I got a requirement to add a new disk to an existing CentOS 7 server. ![]()
0 Comments
Leave a Reply. |