Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1687481 - raid scrub error should state "Unable to rebuild more than 1 *image* from (raid4)..."
Summary: raid scrub error should state "Unable to rebuild more than 1 *image* from (ra...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: 8.0
Assignee: LVM and device-mapper development team
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-11 15:15 UTC by Corey Marthaler
Modified: 2019-03-11 15:22 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)

Description Corey Marthaler 2019-03-11 15:15:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Corey Marthaler 2019-03-11 15:22:49 UTC
Must have hit enter accidentally...


In this limited space allocation scenario, the raid scrub is only being attempted on *one* PV (which happens to be multiple images).

[root@hayes-02 ~]# lvcreate  --type raid4 -i 3 -n alloc_anywhere --alloc anywhere -L 150M raid_sanity /dev/sdk1:0-1000 /dev/sdm1:0-1000
  Using default stripesize 64.00 KiB.
  Rounding up size to full physical extent 152.00 MiB
  Rounding size 152.00 MiB (38 extents) up to stripe boundary size 156.00 MiB(39 extents).
  Logical volume "alloc_anywhere" created.
[root@hayes-02 ~]# lvs -a -o +devices
  LV                        VG          Attr       LSize    Cpy%Sync Devices
  alloc_anywhere            raid_sanity rwa-a-r--- 156.00m  100.00   alloc_anywhere_rimage_0(0),alloc_anywhere_rimage_1(0),alloc_anywhere_rimage_2(0),alloc_anywhere_rimage_3(0)
  [alloc_anywhere_rimage_0] raid_sanity iwa-aor---  52.00m           /dev/sdk1(1)
  [alloc_anywhere_rimage_1] raid_sanity iwa-aor---  52.00m           /dev/sdm1(1)
  [alloc_anywhere_rimage_2] raid_sanity iwa-aor---  52.00m           /dev/sdk1(15)
  [alloc_anywhere_rimage_3] raid_sanity iwa-aor---  52.00m           /dev/sdm1(15)
  [alloc_anywhere_rmeta_0]  raid_sanity ewa-aor---   4.00m           /dev/sdk1(0)
  [alloc_anywhere_rmeta_1]  raid_sanity ewa-aor---   4.00m           /dev/sdm1(0)
  [alloc_anywhere_rmeta_2]  raid_sanity ewa-aor---   4.00m           /dev/sdk1(14)
  [alloc_anywhere_rmeta_3]  raid_sanity ewa-aor---   4.00m           /dev/sdm1(14)

[root@hayes-02 ~]# lvchange --yes --rebuild /dev/sdk1 raid_sanity/alloc_anywhere
  Unable to rebuild more than 1 PVs from (raid4) raid_sanity/alloc_anywhere.


Note You need to log in before you can comment on or make changes to this bug.