jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <udaraliyan...@gmail.com>
Subject EC2 Volume Mappings
Date Mon, 06 Jan 2014 11:37:45 GMT
Hi,

I am in the process of adding a EBS volume to the instances. I fallowed [1].

        Template template = templateBuilder.build();
template.getOptions().as(EC2TemplateOptions.class)
        .mapEphemeralDeviceToDeviceName("/dev/sdm", "ephemeral0")//
        .mapNewVolumeToDeviceName("/dev/sdn", 3, true)//
        .mapEBSSnapshotToDeviceName("/dev/sdo", "snap-40fc8675", 2, true);

Above code executed with no errors and an instance is spawned. But I could
not find any */dev/sd *device in the instance.

[1] http://jclouds.apache.org/documentation/quickstart/ebs/

-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

http://udaraliyanage.wordpress.com/
phone: +94 71 443 6897

Mime
View raw message