[ClusterLabs] Antw: [EXT] Re: DRBD + VDO HowTo?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue May 18 01:51:01 EDT 2021


>>> Eric Robinson <eric.robinson at psmnv.com> schrieb am 17.05.2021 um 20:28 in
Nachricht
<SA2PR03MB5884DD970AC5ED0EA56758EFFA2D9 at SA2PR03MB5884.namprd03.prod.outlook.com>
>         R=$(/usr/bin/vdo status -n $VOL|grep Activate|awk '{$1=$1};1'|cut 

I just wonder: What is "awk '{$1=$1};1'" supposed to do?

I also believe that "grep Activate|awk '{$1=$1};1'|cut -d" " -f2)" can be done in one awk command.

Regards,
Ulrich




More information about the Users mailing list