← Back to team overview

openstack team mailing list archive

Re: Question about "List of Device" of Ring data structure

 

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@xxxxxxxxx>

> 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?
>
>
> --
> 要了几天饱饭就不记得西北风啥味了
>



-- 
要了几天饱饭就不记得西北风啥味了

Follow ups

References