We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29aeb8d + e668ff4 commit 5868692Copy full SHA for 5868692
agents/mysql_prm_gtid
@@ -1187,7 +1187,7 @@ get_local_ip() {
1187
# Determine if the datadir is full or almost full, the threshold is 97%
1188
check_datadir_state() {
1189
# Get the free space of the binlogdir
1190
- FREE_SPC_PCT=`/bin/df $OCF_RESKEY_datadir | /bin/grep -v Filesystem \
+ FREE_SPC_PCT=`/bin/df -P $OCF_RESKEY_datadir | /bin/grep -v Filesystem \
1191
| /bin/sed -e 's/ \+/ /g' | /usr/bin/cut -d' ' -f 5 \
1192
| /usr/bin/tr -d '%'`
1193
0 commit comments