<div dir="ltr">Hello, list.<div><br></div><div style>Yesterday I was pleased to see that Centos has released official images at the aws marketplace. Nice job.</div><div style><br></div><div style>Today I started playing with the Centos 6.3 image (<a href="https://aws.amazon.com/marketplace/pp/B00A6L6F9I">https://aws.amazon.com/marketplace/pp/B00A6L6F9I</a>, on which I plan to deploy a gluster cluster in production soon) and noticed a weird thing.</div>

<div style><br></div><div style>EBS Volumes attached to sd&lt;X&gt; are translated to xvd&lt;Y&gt; at the OS level. However, after a few research and IRC chat, I figured out that it&#39;s not weird, it&#39;s actually a normal and expected behavior (thanks for your help, z00dax).<br>

</div><div style><br></div><div style>sdX is actually mapped to xvdX+4. There is a consistent offset of 4. Suppose you attach an ebs volume to /dev/sdf. It&#39;ll be translated to xvdj at the OS level. sdg to xvdk, sdh to xvdl and so on.</div>

<div style><br></div><div style>Allright. After having figured the mystery out, it became easy to work on automations that deal with ebs volumes and file systems, such as volumes created, attached and mounted on the fly, snapshots that freeze file systems and so on...</div>

<div style><br></div><div style>However, I really do think to myself: Wouldn&#39;t it be cleaner if the image use simple translation (sdX to xvdX)? If I&#39;m not wrong, Rightscale uses this on their Centos images and it&#39;s much simpler. There&#39;s no extra work needed to deal with that 4 offset when you want to automate things.</div>

<div style><br></div><div style>Is there a reasonable reason for the 4 offset which makes it unchangeable? <br></div><div style><br></div><div style>It&#39;s just a thought. I think it&#39;s worth considering it..</div><div style>

<br></div><div><div><div><font color="#888888" style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)"><font color="#888888">Luis Alen<br></font></font><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">

<font color="#888888"><a href="http://www.izap.com.br/" style="color:rgb(17,85,204)" target="_blank">www.izap.com.br</a><br></font><font color="#999999"><font size="1">Ligue com tarifa local de todo o Brasil</font> 4020.3000 <font><a value="+13186810642" style="color:rgb(17,85,204)"></a></font></font></div>

<div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)"><br></div><div style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255);color:rgb(136,136,136)">

<img src="http://izap.com.br/plus/temas/izap-v3/img/logo.png" width="96" height="33"></div></div></div>
</div></div>