According to the docs of Swift, devices in a ring are identified by disk name like "/dev/sdb1" :<div><br><div><table border="1" class="docutils" style="border-collapse:collapse;margin-top:0px;margin-bottom:0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;border-style:initial;border-color:initial;font-size:11px;color:rgb(0,0,0);font-family:'Lucida Grande','Lucida Sans Unicode',Geneva,Verdana,sans-serif;line-height:21px;text-align:left;background-color:rgb(255,255,255)">
<tbody valign="top"><tr><td style="padding-top:1px;padding-right:8px;padding-bottom:1px;padding-left:0px;border-top-width:0px;border-top-style:initial;border-top-color:initial;border-left-width:0px;border-left-style:initial;border-left-color:initial;border-right-width:0px;border-right-style:initial;border-right-color:initial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(170,170,170)">
device</td><td style="padding-top:1px;padding-right:8px;padding-bottom:1px;padding-left:0px;border-top-width:0px;border-top-style:initial;border-top-color:initial;border-left-width:0px;border-left-style:initial;border-left-color:initial;border-right-width:0px;border-right-style:initial;border-right-color:initial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(170,170,170)">
string</td><td style="padding-top:1px;padding-right:8px;padding-bottom:1px;padding-left:0px;border-top-width:0px;border-top-style:initial;border-top-color:initial;border-left-width:0px;border-left-style:initial;border-left-color:initial;border-right-width:0px;border-right-style:initial;border-right-color:initial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(170,170,170)">
The on disk name of the device on the server. For example: sdb1</td></tr></tbody></table></div><div><br></div><div><a href="http://swift.openstack.org/overview_ring.html">http://swift.openstack.org/overview_ring.html</a></div>
<div><div><br></div><div><br></div><div>But such disk name would change: When one of the disks fails, all names of disk after failed disk changes.</div><div>If sdb fails, sdc becomes sdb, and sdd becomes sdc....</div><div>
<br></div><div>The same when new device is added.</div><div><br></div><div><br></div><div>Isn't this a problem? Or is there some internal mechanism to prevent this to happen or something like a workaround?</div><div><br>
</div><div><br></div>-- <br>要了几天饱饭就不记得西北风啥味了<br>
</div></div>