Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 452842

Summary: sys-cluster/ceph: add udev rules for rbd devices
Product: Gentoo Linux Reporter: Spooky Ghost <spookyghost>
Component: [OLD] ServerAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Spooky Ghost 2013-01-18 14:31:04 UTC
Please consider adding /lib/udev/rules.d/50-rbd.rules:
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", PROGRAM="/usr/bin/ceph-rbdnamer %k",$
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="partition", PROGRAM="/usr/bin/ceph-rbdnamer$

This allows the rbd device to be access via a consistent name in /dev rather than a variable /dev/rbdX one.

Reproducible: Always