Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:ha-clustering:Unstable
ocfs2-test
0002-reserve_space-fix-test-failure-when-use-lv...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-reserve_space-fix-test-failure-when-use-lvm2-volume.patch of Package ocfs2-test
From b09a1093d8c2d24364ea37ab3c0c625c130a2ffc Mon Sep 17 00:00:00 2001 From: Gang He <ghe@suse.com> Date: Thu, 4 Jun 2020 15:32:29 +0800 Subject: [PATCH 2/2] reserve_space: fix test failure when use lvm2 volume when use lvm2 volume as ocfs2 partition, reserve_space test case is failed. The root cause is, the device name via 'df' command is not the same with the disk name we pass in the script. Then, we should use mount point path instead. --- programs/python_common/single_run-WIP.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/python_common/single_run-WIP.sh b/programs/python_common/single_run-WIP.sh index c92489a..90ad07e 100755 --- a/programs/python_common/single_run-WIP.sh +++ b/programs/python_common/single_run-WIP.sh @@ -871,7 +871,7 @@ run_reserve_space() do_mount ${device} ${mountpoint} ${mountopts} outlog=${logdir}/reserve_space_${mopt}_${blocksize}_${clustersize}.log - space_free=`df|grep ${device}|awk '{print $4}'` + space_free=`df|grep ${mountpoint}|awk '{print $4}'` space_free=$((${space_free}*1024)) for i in `seq ${iter}`;do -- 2.12.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor