# File lib/fog/rackspace/models/block_storage/volume.rb, line 103 def save requires :size raise IdentifierTaken.new('Resaving may cause a duplicate volume to be created') if persisted? data = service.create_volume(size, { :display_name => display_name, :display_description => display_description, :volume_type => volume_type, :availability_zone => availability_zone, :snapshot_id => attributes[:snapshot_id], :image_id => attributes[:image_id], :source_volid => attributes[:source_volid] }) merge_attributes(data.body['volume']) true end