How to Configure Second Drive on Dual-Drive BMC Servers

Introduction

Configuring a second drive on a dual-drive BMC server can be a daunting task for those unfamiliar with the process. However, with the right knowledge and guidance, it can be a relatively straightforward process. This guide will provide step-by-step instructions on how to configure a second drive on a dual-drive BMC server. It will cover topics such as setting up the hardware, configuring the BIOS, and installing the operating system. By the end of this guide, you should have a fully functioning dual-drive BMC server with two drives configured and ready to use.

How to Configure Second Drive on Dual-Drive BMC Servers

1. Connect the second drive to the server. Depending on the type of server, this may involve connecting a SATA or SAS cable to the drive and then to the server.

2. Power on the server and boot into the BIOS.

3. Navigate to the “Advanced” tab and select “Drive Configuration”.

4. Select the second drive and configure it as a “Secondary Drive”.

5. Save the changes and exit the BIOS.

6. Boot into the operating system.

7. Open the Disk Management utility.

8. Right-click on the second drive and select “Initialize Disk”.

9. Select the partition style and click “OK”.

10. Right-click on the unallocated space and select “New Simple Volume”.

11. Follow the on-screen instructions to create the new volume.

12. Once the volume has been created, it will be available for use.

Introduction

How to configure a second drive on BMC servers guide.

When deploying dual-drive Bare Metal Cloud (BMC) servers, the automated process mounts and defines only the drive where the OS is installed. The second drive is not visible before you configure it. The process is necessary for all operating systems and disk types, SSD and NVMe.

BMC server selection with two drives.

Follow the steps in this guide to learn how to configure a second drive on Ubuntu, CentOS, and Windows BMC servers. When you complete the steps, the second drive becomes visible on your machine.

Prerequisites

  • BMC or PNCP portal credentials. If you are a new client, create an account for Bare Metal Cloud.
  • A deployed BMC server with two drives and a working SSH/RDP connection.
  • Root or sudo permissions.

How to Add Second Drive on BMC Server

Every operating system requires a different procedure to mount/initialize a drive. There are many procedures to achieve the same result, but this guide shows the simplest and quickest.

Add Second Drive on Ubuntu or CentOS Server

To utilize the space of your second drive on an Ubuntu BMC server, use the SSH connection or Remote Console feature in the BMC portal to complete the steps.

First, determine the name of the drive. For SSDs, it is usually sdb, and for NVMe drives, it is nvme1n1.

This example uses a server with 2x240GB SSDs, and a server with 2xTB NVMe drives. When you check the available disk space:

df -h
Df command in Linux to check available SSD space.

The output shows the size of 220GB for the SSD server and less than 1TB for the NVMe server:

Df command in Linux to check available NVMe drive space.

To check the name of the drive and which one is empty, enter:

lsblk
Lsblk command Ubuntu checking drive path

For the NVMe server, the output is:

Lsblk command Ubuntu checking NVMedrive path

For example, you can also use this command to view the disks and the drives’ paths:

sudo lshw -C disk

The empty SSD does not have the line that says “capabilities: partitioned.”

Checking drive path using the lshw command

For NVMe drive:

Checking NVMe drive path using the lshw command

Hence, the name of the drive to use is /dev/sdbfor the SSD server and /dev/nvme1n1 for the NVMe servers.

To utilize the available drive’s space on your BMC server:

1. Run the vgextend command to create the volume and extend the vgroot size.

For SSD:

sudo vgextend vgroot /dev/sdb
Volume extension  output in Ubuntu.

For NVMe:

sudo vgextend vgroot /dev/nvme1n1

The output is the same as with the SSD server.

2. Use the lvresize command to resize the volume in both cases:

sudo lvresize -l +100%FREE -r -v /dev/vgroot/lvroot
Output when resizing a volume in Linux

When the process completes, recheck the available space. The server now shows the available space from both drives and that both drives are in use.

You can use the three commands to check the drives.

df -h
lsblk
sudo pvscan

The example below shows the output for the commands on the NVMe server.

Checking the drives' status in Ubuntu.

Use the same commands on a server with SSDs to check the drives. You can further configure and partition your drive now that it is ready for use.

Add Second Drive on Windows Server

To initialize and use the second drive on a Windows server via the GUI, log in using the RDP or the Remote Console feature in the BMC portal to complete the steps.

Once you log in:

1. Open the Disk Management utility. Start typing “Create and Format” in the Start menu and open the tool.

Windows the Disk Management tool search.

2. Initialize the disk when the program loads. Select the partition style and click OK.

Windows Disk Management initialize disk

3. Right-click the Unallocated space for Disk 1 and select New Simple Volume.

Windows Disk Management initialize disk add new simple volume

4. Specify the size in MB. Leave the predefined value if you want to use all available space. Click Next.

Windows Disk Management wizard volume size

5. Select the drive letter or path and click Next.

Windows Disk Management wizard drive path

6. Format the volume and choose the settings, and label. You can leave the default values and click Next.

Windows Disk Management wizard format partition

7. Review the settings and click Finish.

Windows Disk Management wizard review and finish

The formatting should take a few moments, and the unallocated space turns blue.

Windows Disk Management with volume created and formatting

When the formatting completes, you can use start using the second drive on your Windows BMC server.

Conclusion

This guide showed you how to add a second drive to your BMC server if you purchased a setup with two SSD or NVMe drives. The article lists one of the possible methods to configure your drive on an Ubuntu/CentOS or Windows server.

Refer to our BMC drive encryption article if you need assistance with the Encryption Management Platform and securing your drives.

How to Configure Second Drive on Dual-Drive BMC Servers

Dual-drive BMC servers are becoming increasingly popular for their ability to provide redundancy and increased storage capacity. Configuring a second drive on a dual-drive BMC server can be a bit tricky, but with the right steps, it can be done quickly and easily.

Step 1: Prepare the Second Drive

The first step in configuring a second drive on a dual-drive BMC server is to prepare the drive. This involves formatting the drive and partitioning it into the desired size. This can be done using a variety of tools, such as the Windows Disk Management utility or a third-party partitioning tool.

Step 2: Install the Second Drive

Once the drive is prepared, it can be installed into the server. This involves connecting the drive to the server’s SATA or SAS ports, and then mounting the drive in the server’s chassis. Depending on the server model, this may require the use of a special mounting bracket.

Step 3: Configure the Second Drive

Once the drive is installed, it must be configured. This involves setting up the drive’s RAID configuration, as well as any other settings that may be necessary. This can be done using the server’s BIOS or a third-party RAID configuration tool.

Step 4: Test the Second Drive

Once the drive is configured, it should be tested to ensure that it is working properly. This can be done by running a series of tests, such as read/write tests, to ensure that the drive is functioning correctly.

Step 5: Finalize the Configuration

Once the drive is tested and working properly, the configuration should be finalized. This involves setting up the server’s operating system to recognize the drive, as well as any other necessary steps. Once this is done, the second drive should be ready to use.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Contact
San Vito Al Tagliamento 33078
Pordenone Italy
Item added to cart.
0 items - 0.00
Open chat
Scan the code
Hello 👋
Can we help you?