Attach and detach a volume
Attaching a volume connects it to a server so the OS sees it as a disk device (e.g. /dev/vdc). The portal handles the attach itself; you then format and mount the volume inside the guest using the commands on the Mount Instructions tab.
Before you begin
- A Ready Block Storage volume (Create a volume)
- A running IBEE Solutions server in the same region as the volume
- SSH access to that server (Remote Desktop or PowerShell access for Windows servers)
Attach a volume
Click Attach to Server
On the Overview tab, scroll to the Attached To section. For an unattached volume you’ll see Not attached to any server with an Attach to Server button.
Click Attach to Server.
Mount the volume (Linux)
After attaching, open the Mount Instructions tab on the volume detail page. It shows a green confirmation panel:
Volume is attached — run these commands inside your server. Device:
/dev/vdcon server<server_id>
Copy the device path from the panel — that’s the placeholder you replace below.
SSH into the server and run the Mounting commands:
Step 2 (mkfs.ext4) erases everything on the volume. Only run it on a brand-new volume. Skip it for any volume that already has data.
If the device path on your Mount Instructions tab is something other than /dev/vdc (e.g. /dev/vdb), substitute it everywhere in the commands above.
Mount the volume (Windows)
For a Windows server, the Mount Instructions tab shows Windows steps instead — the confirmation reads “Volume is attached — prepare it inside Windows.” — with both a Disk Management walkthrough and PowerShell scripts.
Using Disk Management:
- Connect to the Windows VM using Remote Desktop.
- Open Disk Management, or Server Manager → File and Storage Services → Disks.
- Bring the new disk online if Windows shows it as offline.
- Initialize the disk as GPT (new empty volumes only).
- Create a New Simple Volume, assign a drive letter, and format it with NTFS.
- Verify the drive is Healthy and visible in File Explorer.
Using PowerShell (run as Administrator) — new empty disk:
Using PowerShell — existing disk that already has data:
Initialize-Disk and Format-Volume erase everything on the disk. Only run them on a brand-new volume.
Detach a volume
Always unmount the volume inside the guest before detaching in the portal. Detaching a mounted volume can cause data corruption or filesystem errors.
1. Unmount inside the guest
SSH into the server and run the Unmounting commands from the Mount Instructions tab:
lsblk should no longer show the device mounted on /mnt/data.
On a Windows server, take the disk offline instead. Close any apps using the drive, then run in PowerShell as Administrator:
2. Detach in the portal
Open the volume
Go to Block Storage and click your volume. The Attached To section shows the server and device path.
After detaching, the volume status returns to Ready and the Attached To section reverts to Not attached to any server. You can now reattach it to any other server in the same region.
Mount Instructions tab states
The Mount Instructions tab content changes depending on attachment state:
Troubleshooting
Server dropdown is empty in the Attach dialog You don’t have a running server in the same region as the volume. Either start a server in that region or create a new volume in your server’s region.
Device path not shown in Mount Instructions The device path appears only after the attach completes. Wait a few seconds and refresh the page.
lsblk doesn’t show the new disk
Confirm the attach succeeded (volume status should be In Use). If the platform shows attached but the OS doesn’t see it, reboot the server.
Mount doesn’t persist after reboot
Re-run step 6 of the Mounting script and verify the UUID with sudo blkid /dev/vdc. The line in /etc/fstab should match the actual UUID.
Detach button disabled Tick the unmount confirmation checkbox in the Detach dialog. The button stays disabled until that’s confirmed.
Detach fails or hangs
The volume is still in use by the guest. Run sudo lsof /mnt/data to find processes holding the mount, stop them, then sudo umount /mnt/data again before retrying detach.
