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

> Lars Ellenberg sent a missive on 2010-08-13:
>>> #You should see something like:
>>> [r...@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 ;-)




_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to