[Openstack] Question about "List of Device" of Ring data structure

dr-dr xp drdr.xp at gmail.com
Mon Jan 16 05:21:00 UTC 2012


Seems like the wiki docs misled me. "sdb1" is actually mount point but not
"/dev/sdb1".

 Thus there won't be any problem in source code.

But risk is still there: disk should be mounted by uuid or label but not
"/dev/sdb1", during the storage installation phase:

http://docs.openstack.org/diablo/openstack-object-storage/admin/content/installing-and-configuring-storage-nodes.html



2012/1/16 dr-dr xp <drdr.xp at gmail.com>

> According to the docs of Swift, devices in a ring are identified by disk
> name like "/dev/sdb1" :
>
>  device string The on disk name of the device on the server. For example:
> sdb1
>
> http://swift.openstack.org/overview_ring.html
>
>
> But such disk name would change: When one of the disks fails, all names of
> disk after failed disk changes.
> If sdb fails, sdc becomes sdb, and sdd becomes sdc....
>
> The same when new device is added.
>
>
> Isn't this a problem? Or is there some internal mechanism to prevent this
> to happen or something like a workaround?
>
>
> --
> 要了几天饱饭就不记得西北风啥味了
>



-- 
要了几天饱饭就不记得西北风啥味了
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120116/1c1c6b14/attachment.html>


More information about the Openstack mailing list