disk_stress_ng should not test drives mounted as /boot
Bug #1667488 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
in most cases, a disk mounted as /boot should not be tested as that partition is likely too small to be testable successfully.
For example:
Model: Virtio Block Device (virtblk)
Disk /dev/vda: 7385MB
Sector size (logical/physical): 4096B/4096B
Partition Table: dasd
Disk Flags:
Number Start End Size File system Flags
1 98.3kB 1400MB 1400MB ext2
2 1400MB 7385MB 5985MB linux-swap(v1)
In this case vda1 is mounted to /boot and is the only usable partition on that disk.
We should intead fail and exit with appropriate messaging that indicates the partition is too small.
Related branches
~bladernr/plainbox-provider-checkbox:1667488-don
- Pierre Equoy: Approve
-
Diff: 21 lines (+7/-1)1 file modifiedbin/disk_stress_ng (+7/-1)
Changed in plainbox-provider-checkbox: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Jeff Lane (bladernr) |
tags: | added: hwcert-server scripts |
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.35.0 |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.