| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The recent fix 05c2b10c5d0a9 ensures that raid LV images are not
using the same devices. This was happening in the lvextend commands
used by this test, so fix the test to use more devices to ensue
redundancy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
names
vgrename does not support -S|--select, so do not provide a hint about
using it. Instead, provide a hint about using VG uuid directly.
❯ vgs
WARNING: VG name vg1 is used by VGs DXjcSK-gWfu-5gLh-9Kbg-sG49-dtRr-GqXzGL and MVMfyM-sjOa-M2xV-AT4Y-JddR-h4SP-UO5Ttk.
Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
VG #PV #LV #SN Attr VSize VFree
vg1 1 0 0 wz--n- 124.00m 124.00m
vg1 1 0 0 wz--n- 124.00m 124.00m
(vgrename does not support -S|--select)
❯ vgrename vg1 vg2
WARNING: VG name vg1 is used by VGs DXjcSK-gWfu-5gLh-9Kbg-sG49-dtRr-GqXzGL and MVMfyM-sjOa-M2xV-AT4Y-JddR-h4SP-UO5Ttk.
Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
Multiple VGs found with the same name: skipping vg1
Use VG uuid in place of the VG name.
(vgchange does support -S|--select)
❯ vgchange --addtag a vg1
WARNING: VG name vg1 is used by VGs DXjcSK-gWfu-5gLh-9Kbg-sG49-dtRr-GqXzGL and MVMfyM-sjOa-M2xV-AT4Y-JddR-h4SP-UO5Ttk.
Fix duplicate VG names with vgrename uuid, a device filter, or system IDs.
Multiple VGs found with the same name: skipping vg1
Use --select vg_uuid=<uuid> in place of the VG name.
|
| |
|
|
|
|
|
|
|
|
| |
In case of e.g. 3 PVs, creating or extending a RaidLV causes SubLV
collocation thus putting segments of diffent rimage (and potentially
larger rmeta) SubLVs onto the same PV. For redundant RaidLVs this'll
compromise redundancy. Fix by detecting such bogus allocation on
lvcreate/lvextend and reject the request.
|
|
|
|
|
| |
Fix some sizing for larger xfs testing.
Also fix resize of reiserfs which requires resize_fsadm.
|
|
|
|
| |
Testing xfs --fs functionality needs new blkid.
|
|
|
|
|
|
| |
Hide some false positives.
Note: there must not a be blank line after coverity hiding comment.
|
| |
|
|
|
|
| |
Make sure primary_dev is defined when using it.
|
| |
|
|
|
|
| |
Some test still were missed to be converted for XFS 300M min size.
|
|
|
|
|
| |
It appears newer mount allows repeated mounting ??
Anyway - do the check with grep.
|
|
|
|
|
|
| |
Check for running (possibly leftover) lvmdbusd running in the
system - as this daemon may interfere with this test as in this
case both be operating on same 'live' data in /run/lvm.
|
|
|
|
|
|
|
|
| |
Make test faster by agregating sets of operation to work on a single
created filesystem yet checking all the variants of extension and reduction.
Split 'xfs' part into separate test and convert it for use of the
minimal size 300M nowdays required by mkfs.xfs.
|
|
|
|
|
|
| |
Try to remove brd twice if there is some collision with udevd.
Instanciate only 1 ramdisk.
Use just 'eval' for '--nameprefixes' results.
|
|
|
|
|
|
|
| |
Enhance function to take list of device so set of devices
can be wiped with a single call:
aux wipefs_a "$dev1" "$dev2"
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Correcting to log_print_unless_silent(),
so -qq can do some work.
|
| |
|
| |
|
|
|
|
| |
Add explicit pointer check is never NULL.
|
|
|
|
|
| |
Make it explicitely visible to coverity that
_process_pvs_in_vg() is not passing NULL vg.
|
| |
|
|
|
|
|
| |
Avoid coverity to contruct some abstract scenarions of 'cft'
modification and simplify the code at the same time.
|
|
|
|
|
|
| |
Bail out in case first rimage is out-of-sync.
Refresh first, i.e. "lvchange --resync $RaidLV",
then retry downgrade to linear after resynchronization.
|
|
|
|
|
|
|
| |
lvreduce uses _lvseg_get_stripes() which was unable to get raid stripe
info with an integrity layer present. This caused lvreduce on a
raid+integrity LV to fail prematurely when checking stripe parameters.
An unhelpful error message about stripe size would be printed.
|
| |
|
|
|
|
|
|
|
| |
When lvmcache info is dropped because it's an md component,
then the lvmcache vginfo can also be dropped, but the list
iterator was still using the list head in vginfo, so break
from the loop earlier to avoid it.
|
|
|
|
|
|
| |
Previous commit cause the pvmove could actually be started in unexpected
order - so make sure, we are not starting new pvmove in same VG until
the previous one is started.
|
|
|
|
|
|
| |
Add info about space usage on devices after the test.
Add some more skipped dirs.
|
|
|
|
|
|
|
| |
Keep backups within test_dir instead of dev_dir (so it doesn't
leak large files there if the tests are run over real /dev dir).
Move restoring of dm_mirror throttling before test_dir is removed.
|
|
|
|
|
| |
Since the strip in raid4 might be XOR - we might eventually end
with 2 blocks of 'B' on 2 disks - so will rest of stripe with 'b'.
|
| |
|
|
|
|
|
|
| |
Not quite sure if this helps anything, some of testing
machines can't reliably remove scsi_debug, reporting
they are in use - but it's not easily reproducible...
|
|
|
|
|
|
|
|
|
| |
aux wait_pvmove_lv_ready() now handles multiple pvmove LVs
at one go - which allows a bit fast checking - although
at some point we may need to switch to use delayed devs
since mirror throttling seems to be no longer working well,
as CPU are getting so fast, that most of data are already
pvmoved before throttling has any chance to do something...
|
|
|
|
| |
Skip irelevant tests for polld & lockd pass.
|
|
|
|
|
|
|
|
|
|
|
| |
When 'brd' device can be removed (is unused AKA not opened),
remove such device and use again for testing.
Let's assume user has no unused brd device left in the system.
When the 'tests' sometimes fail to cleanup devices, with this
change futher cleanup from some next test may evenually release
brd device and make it available for testing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no easy way to detect, whether device supports zeroing,
and kernel also zeroes device when it's not directly supported,
but with extra message:
operation not supported error, dev X, sector Y op 0x9:(WRITE_ZEROES)...
So to avoid generating such message with every 'lvcreate', use for
zeroing of upto 8K just standard write of zeroed page.
(maybe we can go with even larger sizes).
|
|
|
|
|
| |
This function was relying on dev_name() returning NULL
to indicate no device, but dev_name never returns NULL.
|
| |
|
|
|
|
|
|
| |
With raid tests it's important we don't get spread of 4K file
across 1K block on a multiple disk stripe - so use 4K block size
for ext4 fs.
|
|
|
|
|
| |
To avoid logging unsupported WRITE_ZEROES with loop,
disable usage for this backend device.
|
|
|
|
| |
Hide unneeded dev nodes.
|
|
|
|
| |
rpm testing missed config files.
|
|
|
|
| |
Use aux function.
|
|
|
|
| |
Modify test to check same properties with less demanding ext4.
|