[DRBD-user] Initial sync, just want to confirm the process (and not go down in a blaze of glory)

Simon Billis simon at houxou.com
Fri Aug 13 10:27:55 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Simon Billis sent a missive on 2010-08-13:

> Lars Ellenberg sent a missive on 2010-08-13:
>>> #You should see something like:
>>> [root at raid-primary ~]# drbdadm status <drbd-status version="8.3.8"
>>> api="88"> <resources config_file="/etc/drbd.conf"> <resource
>>> minor="1" name="drbd1"
>>> cs="StandAlone" ro1="Primary" ro2="Unknown"
>>> ds1="UpToDate" ds2="DUnknown" />
>> 
>> Uh.
>> 
>> !?
>> 
>> Why would you voluntarily parse pseudo-xml with your eyes?
>> That output is meant to be consumed by scripts or the DRBD MC Gui.
>> 
>> Try:
>> # drbd-overview
>> or
>> # cat /proc/drbd
>> or
>> # grep cs: /proc/drbd
>> 
> 
> Thanks for the suggestion - I agree it's easier to read. Live and learn
> :-)

I guess that it comes from using earlier versions of drbd than 8 :-) - just
goes to show RTFM ;-)







More information about the drbd-user mailing list