]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Assign devices to osds using the device wwn
authorSam Lang <sam.lang@inktank.com>
Wed, 23 Jan 2013 02:27:41 +0000 (20:27 -0600)
committerSam Lang <sam.lang@inktank.com>
Thu, 31 Jan 2013 14:23:39 +0000 (08:23 -0600)
commit8f720454cbb536ac6f410fb6c18b2b0945b70160
tree014403a04f5591a9a9f26992c3e85b3c8a21fde5
parent58111595d4ede53e31a6c7ac9759cb097dfd1809
Assign devices to osds using the device wwn

Linux doesn't guarantee device names (/dev/sdb, etc.)
are always mapped to the same disk.  Instead of assigning
nominal devices to osds, we map devices by their wwn
(/dev/disk/by-id/wwn-*) to an osd (both data and journal).

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
teuthology/misc.py
teuthology/task/ceph.py
teuthology/task/ceph_manager.py