2 minutes read

Configure Dual-Drive Servers

See how to configure a second drive on Ubuntu, CentOS, and Windows servers.
Marko Aleksic
· Updated
November 26, 2026

Each operating system requires a specific procedure to initialize and mount a storage drive. While multiple methods exist, this guide covers the most streamlined and efficient process.

Prerequisites

A deployed BMC server with two drives and a working connection. Connect to your server via SSH or the remote console.

Ubuntu or CentOS Server

1. Determine the block device name. Typically, SATA/SAS SSDs map as /dev/sdb, while NVMe drives map as /dev/nvme1n1.

2. Run the following command to show active block devices and identify unpartitioned storage:

lsblkCode language: Bash (bash)

Alternatively, use this command to view the disks and the drives' paths:

sudo lshw -C diskCode language: Bash (bash)

The empty SSD omits the capabilities: partitioned line.

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

SSD:

sudo vgextend vgroot /dev/sdbCode language: Bash (bash)

NVMe:

sudo vgextend vgroot /dev/nvme1n1Code language: Bash (bash)

The output is the same as with the SSD server.

4. Use the lvresize command to resize both volumes:

sudo lvresize -l +100%FREE -r -v /dev/vgroot/lvroot

5. When the process completes, recheck the available space. Use the following commands to check the drives:

df -hCode language: Bash (bash)
lsblkCode language: Bash (bash)
sudo pvscanCode language: Bash (bash)

The server shows the available space from both drives and that both drives are in use.

Find out more

Storage overview

Windows Server

Use the remote console: 

1. Type "Create and Format" in the Start menu and open the Disk Management utility.

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

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

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

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

6. Format the volume and choose the settings, and label. Leave the default values and click Next.

7. Review the settings and click Finish.