Using Cloud Block Storage

Reading Time: 4 minutes

Cloud Block Storage provides additional hard drive space for your Cloud Server with just a few clicks. The space is not pre-formatted; rather, it is a raw block device. The simplicity of providing a raw block device on the cloud means that you can mount and format the space on your server however you would like, with whatever filesystem is appropriate for your needs. This does entail a small amount of work getting the space into a usable state.

Adding Storage

First, in your manage interface, hit “Add” and then select “Cloud Block Storage“.

Cloud Block Storage is just $0.10/GB/mo at Liquid Web.

You will have to name your volume, which you can do in the Volume Name field. Then, choose the Size of the block storage volume, which starts at 5 GB and is available up to 15,000 GB. Next, pick which server to Attach this Volume to. And then finally click the Create Volume button.

Using Storm Block Storage - 02

You will be asked to confirm your selection; click Create Volume:

Using Storm Block Storage - 04

The volume will soon be created and mounted to the server.

If you click on the volume itself, you will see a detail page for that volume. Each volume created has a Unique ID. You may want to keep this handy when mounting the drive on CentOS systems.

Mounting the Volume

Although the volume is now attached to the server as a device, the volume still needs to be formatted with a filesystem and mounted before it can be used.

Cloud puts the device in /dev/sbs:

[root@core ~]# ls /dev/sbs/

The device name is listed as the ID of volume. Not all operating systems will have this listed here. If it is not, you may need to check “dmesg” to discover the name of the device.

Next, use “mkfs” to add a filesystem to the device:

[root@core sbs]# mkfs -t ext4 /dev/sbs/C1HBX2
mke2fs 1.41.12 (17-May-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
9830400 inodes, 39321600 blocks
1966080 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
1200 block groups

If you wish to mount the device to multiple servers, make sure to pick a filesystem type that supports clustering, such as OCFS (Oracle Clustered File System). Adding a device to multiple servers is beyond the scope of this guide.

You will need a directory to mount the device on:

mkdir /mnt/sbs

Mount the device:

mount /dev/sbs/C1HBX2 /mnt/sbs/

Now on most systems, you could mount the device directly in /etc/fstab:

/dev/sbs/C1HBX2 /mnt/sbs ext4 defaults 0 0

Include “_netdev” to prevent the server from failing to boot if SBS is offline.

On Ubuntu 10 and Debian 6 systems, you will need to grab the UUID of the device using the blkid command:

[root@core ~]# blkid
/dev/vda1: LABEL="/boot" UUID="32e7f110-e8c0-40a2-8a4a-6c9e7c2dfe83" TYPE="ext3"
/dev/vda2: LABEL="SWAP-vda2" UUID="f7e08f56-f003-4aed-abd5-bda36ab20c6e" TYPE="swap"
/dev/vda3: LABEL="/" UUID="d84078bb-5766-4de2-b5b5-7a478359469b" TYPE="ext3"
/dev/vdb: UUID="ea1bc733-1491-4759-b8d5-052b091538ed" TYPE="ext4"

(/dev/vdb is the actual mount point of the device; the ID in /dev/sbs is a symlink.)

Add the following to /etc/fstab:

UUID=ea1bc733-1491-4759-b8d5-052b091538ed /mnt/sbs ext4 nofail,defaults 0 0

Your volume will now mount to the /mnt/sbs directory every reboot.


When using SBS, there are a few things to look out for:

  1. SBS is currently limited to Zone B – US Central and Zone C – US Central.
  2. If you are used to Amazon’s Elastic Block Store (EBS), you may be tempted to RAID 0 multiple volumes in order to speed up reads and writes. While that technique is useful for Amazon’s product, it is not needed with SBS. SBS’s backend is fully distributed to prevent the issues that individual EBS volumes can run into. If you do RAID 0 multiple SBS volumes together, it will not have the desired effect. It will create additional complexity and could interfere with the consistency of SBS snapshots (a planned future feature).
  3. Ubuntu 10 and Debian 6 servers will have to mount the UUID of the device in fstab. All others will find the ID in /dev/sbs
  4. If you are having trouble attaching a volume to a server, the server may need to be rebooted from manage in order to attach a volume.
  5. Before you detach a volume from an instance in your manage interface, you MUST first unmount the device from within the server.

Using SBS with Windows

The first step when adding block storage to Windows is the same as with a Linux server: create the volume, and attach it to the server in the manage interface.

Next, bring the disk online by launching the Server Manager (next to the start button) and browse down to Storage –> Disk Management.

Right-click on the new Disk and select “online“.


Right-click again on the new Disk and select “Initialize”. If you are using a disk larger than 2TB you will want to choose GPT; otherwise, you can simply confirm to initialize the disk.


Right-click on the partition and select “New Simple Partition“.


Click “next” through the welcome page. On “Specify Volume Size” you can specify a volume size other than the default. By default, it selects the entire disk.


Select the drive letter for the new volume.


Now you can assign a label and other settings. Apart from specifying a Volume Label, the default settings should suffice.


Click “Finish“. Your SBS volume will now be available in Windows Explorer as the drive letter you specified.

Detaching a Windows Drive

As with Linux, your volume must be unmounted before it can be detached in the manage interface. Make sure you are unmounting the correct drive by running the following command from the terminal (accessible at Start > Run Command):

RunDll32.exe shell32.dll,Control_RunDLL HotPlug.dll


Here check “Display device components” and click Stop for the “Red Hat VirtIO SCSI controller” that corresponds to the drive you want to unmount. (Note: the system will prevent you from removing the C: SCSI controller.) Approve the “Safe to Remove Hardware” popup. It is now safe to detach the SBS from your manage interface.


It is important to not remove the Intel® Network Connection. Removing that connection will take your server offline and require a full reboot to bring back online.

As always, if you have any questions about this or any other Liquid Web product, do not hesitate to contact our support team.

Get 33% off the first 3 months on a new VPS! Find out why 30,000 customers have chosen our Best-in-Class Performance & 24x7x365 Support