Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
# drbdadm sh-dev drbd_resource ? Nick Dyer a écrit : > Is there a easy way of programmatically converting between the DRBD > low-level device name (eg /dev/drbd5) and the resource name (eg > backup-disk) without parsing the drbd.conf file? > > I have a lot of scripts which do things with drbd volumes and at the > moment I have to have a hardcoded mapping between the two: it would be > easier if you could write something like: > > $drbd_device=`drbdadm rawdevice backup-disk` > mount $drbd_device /mnt > > or similar > > cheers > > Nick -- Hervé GAUTIER