"primary" Condition for drbd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

would it be possible to add a Condition to check if a drbd
resource ( a virtual block device with replication via network,
see https://linbit.com/drbd/) is primary? I checked

	/sys/devices/virtual/block/drbd1

for example, but I haven't found a way to distinguish primary
from secondary block devices yet. Apparently there is no directory
element showing up only for primary mode.


Regards

Harri




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux