Updated May 8, 2026 Attaching a volume happens in two halves: tell Raff which VM the volume is for (dashboard side), then format and mount it inside the OS (guest side). This page covers both.Documentation Index
Fetch the complete documentation index at: https://docs.rafftechnologies.com/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
- The VM and the volume are in the same region — you can’t attach across regions
- The VM is in
activeorpassivestate — attach works on both - For Linux: shell access (SSH, browser terminal, or VNC); for Windows: RDP access
1. Attach in the dashboard
From Compute Resources → Volumes, find the volume you want to attach. Open its row’s ⋮ Actions menu and pick Attach to VM.

provisioning state — the VM you attached to keeps running). Once it settles, the row shows the attached VM name:


1b. Use the Configure volume helper
Instead of writing the commands by hand, you can open Configure volume from the volume’s row actions menu. The dialog gives you OS-specific, copy-pasteable instructions tuned to your volume’s size, name, and chosen filesystem.
- Step 1:
ssh username@your-vm-ip-address - Step 2:
lsblk— find the new device (typicallyvdb, the next letter after the OS disk) - Step 3:
sudo mkfs.<fs> /dev/<device>— format with the filesystem you picked at create time
/etc/fstab commands. The Windows tab points you at Disk Management instead.
If you formatted automatically at create time, only the mount step is shown — formatting is already done.
The instructions below are the manual reference for the same flow if you’d rather understand each step.
2. Find the new device (Linux)
SSH in and list block devices:/dev/vd* pattern:
| Position | Device path |
|---|---|
| OS disk | /dev/vda |
| First attached volume | /dev/vdb |
| Second attached volume | /dev/vdc |
| …and so on | /dev/vdd, /dev/vde, … |
/dev/sd* or /dev/nvme* paths on Raff — those are different hypervisor configurations. If lsblk shows something other than vd* for your new volume, double-check you’re inside a Raff VM.
If you don’t see the new device, force a re-scan:
3. Format the volume (Linux)
For most workloads, ext4 is the safe default. xfs is preferred for very large volumes (multi-TB) or workloads with many parallel writes.-L data sets a filesystem label you can refer to later.
4. Mount it (Linux)
Create a mount point and mount the volume:5. Persist across reboots — /etc/fstab (Linux)
A mount command doesn’t survive reboot. Add an /etc/fstab entry.
Get the volume’s UUID:
/etc/fstab:
- Use UUID, not
/dev/vdb— device letters can change after a hot-attach reorder. nofailandx-systemd.device-timeout=10make boot tolerant of a missing volume; without them, a detached or un-attached volume can trap the boot in emergency mode.- For xfs, replace
ext4withxfs.
mount -a fails, fix the /etc/fstab line before rebooting — see Recover a locked-out VM if it’s already too late.
6. Format and mount on Windows
On a Windows Server VM, attach the volume in the dashboard, then:- Open Server Manager → Tools → Computer Management → Disk Management.
- The new disk shows as Offline and Not Initialized. Right-click → Online.
- Right-click the disk again → Initialize Disk. Pick GPT.
- Right-click the unallocated space → New Simple Volume.
- Walk the wizard: assign a drive letter (e.g.
D:), format as NTFS, give it a label.
fstab equivalent needed.
7. Grow a volume after resize
When you resize a volume up in the dashboard, the underlying block device grows immediately, but the filesystem doesn’t know. You need to extend it inside the VM.Linux — partitioned volume
Linux — whole-device filesystem (no partition)
If youmkfs-ed the device directly (no partition table), there’s no growpart step:
Windows
In Disk Management, right-click the volume → Extend Volume and walk the wizard.8. Detach safely
Before detaching, unmount cleanly so writes flush: Linux:- In Disk Management, right-click the volume → Offline.
Quick troubleshooting
| Symptom | Likely cause |
|---|---|
lsblk doesn’t show the new device | Re-scan SCSI host (step 2); confirm the volume attached to this VM |
mount fails with wrong fs type | You haven’t formatted yet — see step 3 |
df -h shows old size after resize | Filesystem hasn’t grown — run resize2fs / xfs_growfs (step 7) |
Boot drops to emergency shell after /etc/fstab edit | Bad fstab line — see Recover a locked-out VM |
| Volume seems detached after reboot | Forgot nofail or used /dev/vdb instead of UUID — fix the fstab line |
Next steps
Resize a volume
Grow a volume in the dashboard, then extend the filesystem.
Detach from a VM
Free a volume to reattach elsewhere.
Volume types
Performance tiers and persistence model.