Bobcares

How to Add Storage to OVH Dedicated Server?

by | Aug 29, 2024

How to add a secure storage to an OVH dedicated server? Read the article to know more about the steps and the process. Bobcares, as a part of our Server Management Service offers solutions to every query that comes our way.

Overview
  1. Adding Storage to an OVH Dedicated Server: An Introduction
  2. Methods to Add Storage to an OVH Dedicated Server
  3. Benefits of Additional Storage on OVH Dedicated Serve
  4. Conclusion

Adding Storage to an OVH Dedicated Server: An Introduction

OVHcloud Virtual Private Servers (VPS) offer an option to add secure storage. This additional storage is separate from the VPS’s internal storage, providing a secure location for backups or static data. The disk is only accessible from the server’s IP address, and its data remains safe even if the VPS is reinstalled or suffers data loss.

ovh dedicated server add storage

Methods to Add Storage to an OVH Dedicated Server

Method 1

1. Go to the OVHcloud Control Panel, navigate to the Bare Metal Cloud section, and select the VPS under Virtual Private Servers.

2. Click on the “Additional disk” tab, select “Order an additional disk,” and choose a disk size.

3. Configuring on Linux:

i. Connect to the VPS via SSH as a user with elevated permissions.

ii. Use lsblk to list all devices and find the new disk (e.g., /dev/sdb).

iii. Use fdisk to create a partition, and format it with ext4 using mkfs.ext4 /dev/sdb1.

iv. Create a mount point with mkdir /mnt/disk.

v. Mount the disk with mount /dev/sdb1 /mnt/disk.

vi. Get the UUID using blkid.

vii. Add an entry in /etc/fstab for automatic mounting on reboot.

4. Configuring on Windows:

i. Connect to the VPS via Remote Desktop (RDP).

ii. Open Disk Management and look for the new disk as an unallocated volume.

iii. If offline, initialize the disk using either the GUI or DISKPART utility.

iv. Right-click the disk, select “Online,” then “Initialize Disk,” and choose MBR.

v. Right-click on the disk and select “New Simple Volume.”

vi. Follow the wizard to set volume size, drive letter, and format options.

vii. Complete the wizard to make the disk available in File Explorer.

viii. Use commands like df -h on Linux or check in File Explorer on Windows to ensure the disk is mounted correctly and accessible.

Method 2

1. Open the web browser and navigate to the OVH site.

2. Log in to the account with the credentials.

3. Go to the “Dedicated Servers” or “Servers” section of the OVH control panel.

4. Choose the server to which we wish to mount the extra disk.

5. In the server management page, look for the “Additional Disks” or “Storage” area.

6. Check the many possibilities for adding a disk to the server. If necessary, order and provision an extra disk from OVH.

7. After the drive has been provisioned, we may need to initialize and format it.

8. SSH into the server via a terminal or SSH client.

9. The lsblk command lists all available disks and partitions.

10. Identify the newly installed disk by its size or device name.

11. To partition the new disk, use a tool such as fdisk or parted.

12. Use the appropriate command to format the partition using the selected file system.

13. Use the mkdir command to create a mount point directory for the new disk.

14. Mount the freshly formatted partition to the mount point with the mount command.

15. If we want the drive to be mounted automatically at server starting, we must change the /etc/fstab file.

16. Open the /etc/fstab file with a text editor.

17. Create an entry for the new drive using the following format: /dev/sdb1 /mnt/mydisk ext4 defaults 0 0.

18. Save the changes and quit the editor.

19. Use the df -h command to ensure that the disk is properly mounted and accessible.

Benefits of Additional Storage on OVH Dedicated Server

1. Increased Storage Capacity: Provides additional space for storing large amounts of data, such as backups, databases, and media files.

2. Enhanced Data Security: Offers a separate location to store backups and sensitive data, reducing the risk of data loss from server malfunctions or accidental deletions.

3. Improved Performance: Distributing data across multiple disks can improve read and write speeds, enhancing overall server performance.

4. Scalability: Allows us to easily scale storage as the data needs grow without having to upgrade or replace the existing server.

5. Dedicated Storage for Applications: Enables the isolation of specific applications or services on separate storage devices, which can help in managing resources and improving reliability.

6. Flexibility: Supports various storage configurations and file systems, catering to different application requirements and performance needs.

7. Cost-Effective Solution: Adds only the necessary amount of storage without requiring a complete server upgrade, saving costs while meeting storage demands.

8. Automatic Backups: Simplifies setting up automated backup solutions to protect critical data, ensuring business continuity.

[Looking for a solution to another query? We are just a click away.]

Conclusion

By adding storage to an OVH dedicated server, we can enhance the server’s capacity, security, performance, and flexibility while maintaining a cost-effective infrastructure. To sum up, our Tech Team went over the details of adding the secure storage to OVHCloud Dedicated Servers in this article.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.