Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 881466 Details for
Bug 1021955
Copy/Sync percentage drops when maxrecoveryrate is changed on a RAID LV
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Test I'm using to verify reported percentages do not drop.
test-raid-percent-drop.sh (text/plain), 903 bytes, created by
Jonathan Earl Brassow
on 2014-04-01 17:53:58 UTC
(
hide
)
Description:
Test I'm using to verify reported percentages do not drop.
Filename:
MIME Type:
Creator:
Jonathan Earl Brassow
Created:
2014-04-01 17:53:58 UTC
Size:
903 bytes
patch
obsolete
>#!/bin/bash > >for i in 5 10 15 20 25 30; do > lvremove -ff vg > > for j in $(seq $i); do > if ! lvcreate --type raid1 -m 1 -L 1G --maxrecoveryrate 512 -n lv$j vg > /dev/null; then > echo "Failed to create lv$j" > exit 1 > fi > done > > a=($(lvs --noheadings -o name,copy_percent vg | sed -e s/\\./""/g)) > while [ ${a[1]} -ne 10000 ]; do > for j in $(seq $i); do > a=($(lvs --noheadings -o name,copy_percent vg | sed -e s/\\./""/g)) > > rate=$((${a[1]} + 100)) > lvchange --maxrecoveryrate $rate vg/lv$j > lvs -o name,raid_max_recovery_rate,copy_percent vg > b=($(lvs --noheadings -o name,copy_percent vg | sed -e s/\\./""/g)) > > for k in $(seq 0 $(($i - 1))); do > n=$(($k * 2)) > np=$(($n + 1)) > if [ ${a[$np]} -gt ${b[$np]} ]; then > echo "BAD:: ${a[$n]}: ${a[$np]} -> ${b[$np]}" > exit 1 > fi > echo "GOOD:: ${a[$n]}: ${a[$np]} -> ${b[$np]}" > done > sleep 15 > done > done >done
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1021955
: 881466