| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Use aux function.
|
|
|
|
| |
Modify test to check same properties with less demanding ext4.
|
| |
|
|
|
|
| |
Share function across tests.
|
|
|
|
|
|
|
|
|
|
|
| |
Convert test to use only ext4 instead of 300M demanding XFS.
Shorten 'B' files to 4K and use 4K strip size with >raid1 arrays
so we do not risk spreading of the file across stripe.
Also use easier 'aux corrupt_dev()' method to introduce a bit
corruption into a block device with integrity.
TODO: shorten _wait_recalc (should't be needed).
|
|
|
|
| |
Use wrapper over 'blkdiscard -z'
|
|
|
|
|
| |
Creating a snapshot of a cache LV with a cachevol would fail
because cache_check was not being skipped.
|
| |
|
|
|
|
|
|
|
|
| |
Convert test to use a single skeleton and only different pieces
keep in separate tests.
Lower raid disk usage to smaller size and switch to ext4
as way less demanding fileystem.
|
|
|
|
| |
Allow writecache|cache over raid+integrity LV.
|
|
|
|
|
| |
wait_recalc was mistakenly being called on raid without integrity
wait_recalc loop was exiting without error
|
|
|
|
|
|
| |
This test was broken by commit 69ea2e3f9
"vg_read: keep MISSING_PV when device with no mda reappears"
Change the test to match the new behavior.
|
|
|
|
| |
add more checks and expand comments explaining behavior
|
|
|
|
|
|
| |
Different sequences of steps that could be used to handle raid LVs
after VG takeover (what would happen in cluster failover) combined
with the loss of a disk.
|
|
|
|
|
|
| |
when used with --majoritypvs. This allows the fail-over
of a VG between systems by changing the VG system ID when
a PV is missing.
|
|
|
|
|
|
|
|
|
|
| |
Replace spaces with \040 in directory paths from getmntent (mtab).
The recent commit 5374a44c5712 compares mount point directory paths
from /etc/mtab and /proc/mounts, in order to detect when a mounted
LV has been renamed. The directory path comparison does not work
correctly when the path contains spaces because getmntent uses
ascii space chars and proc replaces spaces with \040.
|
|
|
|
|
|
| |
Add quotes around paths and also add fixme for checking
system is actually usable for a test with all running
services.
|
|
|
|
|
| |
Wrapper takes care of proper MD device name around its various
incarnations.
|
|
|
|
|
| |
Not sure why, but --chunk specification for mdadm raid1 is no longer
'wanted' ???
|
| |
|
|
|
|
| |
Fix did not managed to get to final release so skip test on this kernel.
|
| |
|
|
|
|
| |
When we detect not usable vdo on a machine, check lvconvert fails.
|
| |
|
|
|
|
| |
Reduce warnings in tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix hang of vgimportclone command when:
the PV(s) being imported are not actually clones/duplicates, and
the -n vgname arg is the same as the current vgname.
(Not the intended use of the command, but it should still work.)
In this case, the old and new vgnames ended up being the same, when
the code expected they would be different. A file lock on both the
old and new vgnames is used, so when both flocks are on the same
file, the second blocks indefinitely.
Fix the new vgname to be the old name plus a numeric suffix, which
is the expected result.
|
|
|
|
|
|
| |
A t10 wwid string was found containing a " character
which breaks vg metadata parsing. Ignore any quotation
marks in device id strings.
|
|
|
|
|
|
| |
If a mounted LV is renamed, then fs resizing utilities will fail,
so detect this condition and fail the command before any changes
are made.
|
|
|
|
|
|
|
|
|
|
|
| |
There were a couple of cases where lvresize, without --fs resize,
was resizing the crypt layer above the LV. Resizing the crypt
layer should only be done when fs resizing is enabled (even if the
fs is already small enough due to being independently reduced.)
Also, check the size of the crypt device to see if it's already
been reduced independently, and skip the cryptsetup resize if
it's not needed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The recent change that verifies sys_serial system.devices entries
using the PVID did not exclude non-PV devices from being checked.
The verification code would attempt to use du->pvid which was null
for the non-PVs causing a segfault.
|
| |
|
|
|
|
|
|
|
| |
Since now we change deduplication with V4 table line change,
the modification tends to be faster and we can capture for a few ms
also 'status' about opening or closing deduplication index.
Use 'grep -E' to handle both words.
|
|
|
|
|
|
|
|
|
| |
Handle multiple devices using the same serial number as
their device id. After matching devices to devices file
entries, if there is a discrepency between the ondisk PVID
and the devices file PVID, then rematch devices to
devices file entries using PVID, looking at all disks
on the system with the same serial number.
|
|
|
|
|
| |
Without an --fs option set, make lvreduce of an inactive LV
fail and report that the LV must be active.
|
|
|
|
|
| |
to explain the what and why of the steps that are
not obvious
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Since we would need to create a lot of 300M filesystem,
switch this test suite to ext4.
|
|
|
|
|
|
|
|
|
|
|
| |
These files are automatically cleared on reboot given
that /run is tmpfs, and that remains the primary way
of clearing online files.
But, if there's extreme use of vgcreate+pvscan+vgremove
between reboots, then removing online files in vgremove
will limit the number of unused online files using space
in /run.
|
| |
|