{"slug":"storage-block","title":"Block Storage","description":"Block Storage provides additional persistent storage volumes that can be attached to VPS instances. Use block storage to scale storage independently of compute resources. This feature is productized a...","section":null,"url":"https://docs.danubedata.ro/storage-block","markdown_url":"https://docs.danubedata.ro/storage-block.md","breadcrumbs":[],"headings":[{"level":1,"title":"Block Storage","id":"block-storage"},{"level":2,"title":"Overview","id":"overview"},{"level":2,"title":"Creating Block Storage","id":"creating-block-storage"},{"level":3,"title":"Via Dashboard","id":"via-dashboard"},{"level":2,"title":"Attaching Volumes","id":"attaching-volumes"},{"level":3,"title":"Attach to VPS","id":"attach-to-vps"},{"level":3,"title":"Mounting on Linux","id":"mounting-on-linux"},{"level":2,"title":"Resizing Volumes","id":"resizing-volumes"},{"level":2,"title":"Pricing","id":"pricing"},{"level":2,"title":"Related Documentation","id":"related-documentation"}],"format":"markdown","word_count":277,"content":"# Block Storage\n\nBlock Storage provides additional persistent storage volumes that can be attached to VPS instances. Use block storage to scale storage independently of compute resources. This feature is productized as **Volumes** — see the [Volumes guide](https://docs.danubedata.ro/volumes).\n\n## Overview\n\nBlock Storage features:\n\n- **Persistent**: Data persists independently of instances\n- **Scalable**: 10–500 GB per volume\n- **Flexible**: Attach, detach, resize on the fly\n- **Network-attached**: SSD-backed, throughput up to ~1 Gbps\n- **Snapshots**: Create backups anytime\n- **Redundant**: Data replicated for durability\n\n## Creating Block Storage\n\n### Via Dashboard\n\n1. Navigate to **Storage** > **Block Storage**\n2. Click **Create Volume**\n3. Configure:\n   - **Name**: Descriptive name\n   - **Size**: 10–500 GB\n   - **Region**: Same as VPS instance\n4. Click **Create**\n\nVolume ready within 45 seconds.\n\n## Attaching Volumes\n\n### Attach to VPS\n\n1. Go to volume details\n2. Click **Attach to VPS**\n3. Select VPS instance\n4. Click **Attach**\n\nVolume attaches within seconds.\n\n### Mounting on Linux\n\nAfter attaching:\n\n```bash\n# Check device name\nlsblk\n\n# Should see new device, e.g., /dev/sda\n\n# Format (first time only)\nsudo mkfs.ext4 /dev/sda\n\n# Create mount point\nsudo mkdir /mnt/data\n\n# Mount volume\nsudo mount /dev/sda /mnt/data\n\n# Add to /etc/fstab for auto-mount\necho '/dev/sda /mnt/data ext4 defaults 0 0' | sudo tee -a /etc/fstab\n```\n\n## Resizing Volumes\n\nExpand volume without downtime:\n\n1. Go to volume details\n2. Click **Resize**\n3. Enter new size (must be larger)\n4. Click **Resize**\n\nThen expand filesystem:\n\n```bash\n# For ext4\nsudo resize2fs /dev/sda\n\n# For xfs\nsudo xfs_growfs /mnt/data\n```\n\n## Pricing\n\n€0.04/GB/month, billed hourly:\n\n| Size | Monthly Cost |\n|------|--------------|\n| 50 GB | €2 |\n| 100 GB | €4 |\n| 250 GB | €10 |\n| 500 GB | €20 |\n\n## Related Documentation\n\n- [Storage Overview](https://docs.danubedata.ro/storage-overview)\n- [Snapshots](https://docs.danubedata.ro/storage-snapshots)\n- [VPS Managing](https://docs.danubedata.ro/vps-managing)\n\n","prev":null,"next":null,"index_url":"https://docs.danubedata.ro/index.json"}