Using a file as a device in ScaleIO

Kalle's playground

In most cases one would use the whole unformatted disk as a device for ScaleIO, but sometimes this is not possible. To use the free space from already partitioned disk ScaleIO sds component has a command line tool called create_file_storage. It is located in the ScaleIO sds component folder. Tool will create a pre-allocated file with specified size to a specified location.

Command to create file:

create_file_storage −−create_file −−size_gb <SIZE_IN_GB> −−file_name <FILE_NAME> 


create_file_storage −−create_file −−size_gb 120 −−file_name

create_file_storage command line

When adding a devices for SDS specify the full path of the file as the “Path” for the device.

File as device

The “file as device” options allows to start consuming free space for ScaleIO from disks that have existing partitions and existing file systems.

View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s