This guide explains how to manually mount your OVH VPS or Cloud storage disk to /mnt. It includes steps for standard partitions, XFS, and LVM volumes.
📦 Part 1: Basic Mount (Standard Partition)
1️⃣ Identify Available Drives
lsblk
Sample output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 50G 0 disk
└─sda1 8:1 0 50G 0 part /
sdb 8:16 0 200G 0 disk
2️⃣ Create Mount Point (if not exists)
mkdir -p /mnt
3️⃣ Mount the Drive
Assuming the device is /dev/sdb or /dev/sdb1:
mount /dev/sdb /mnt
4️⃣ Verify Mount
df -h
📄 Part 2: XFS Filesystem
1️⃣ Confirm Filesystem Type
blkid /dev/sdb
Look for something like TYPE="xfs".
2️⃣ Mount the XFS Partition
mount -t xfs /dev/sdb /mnt
Replace
sdbwith the correct partition (e.g.,sdb1) if needed.
🧱 Part 3: LVM Volume
1️⃣ Detect LVM Volumes
lsblk
You may see output like:
sdc 8:32 0 100G 0 disk
└─vg0-lv_data 253:0 0 100G 0 lvm
2️⃣ Activate Volume Group (if not already active)
vgchange -ay
3️⃣ Create Mount Point
mkdir -p /mnt
4️⃣ Mount Logical Volume
mount /dev/mapper/vg0-lv_data /mnt
Replace
vg0-lv_datawith your actual volume name.
🔁 (Optional) Make Mount Persistent
1️⃣ Get UUID
blkid /dev/sdb
# or for LVM:
blkid /dev/mapper/vg0-lv_data
2️⃣ Edit fstab
nano /etc/fstab
Add the appropriate line:
For ext4:
UUID=xxxx-xxxx /mnt ext4 defaults 0 2
For xfs:
UUID=xxxx-xxxx /mnt xfs defaults 0 2
For LVM:
/dev/mapper/vg0-lv_data /mnt ext4 defaults 0 2
Save and exit.
✅ Complete
Your OVH VPS drive is now mounted under /mnt. If configured in /etc/fstab, it will remain mounted after reboot.
