Bug 844611
| Summary: | DiskLabelCommitError: Could not commit to disk /dev/mapper/mpathf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Xiaowei Li <xiaoli> | ||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.3 | CC: | atodorov, qcai | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | abrt_hash:00f4dc5a4e4f7eef89ac4b465930a8a808a02d9e9d625f94f20ab4336f1ce479 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-10-26 02:59:19 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Xiaowei Li
2012-07-31 07:42:34 UTC
Created attachment 601457 [details]
File: anaconda-tb-z0n80D
(In reply to comment #0) > > :DiskLabelCommitError: Could not commit to disk /dev/mapper/mpathf > Do you remember what was your setup and steps to reproduce? (In reply to comment #3) > (In reply to comment #0) > > > > :DiskLabelCommitError: Could not commit to disk /dev/mapper/mpathf > > > > Do you remember what was your setup and steps to reproduce? steps to reproduce: 1. install RHEL-6.3 on the boot lun(FC Lun) with lvm layout 2. shutdown the host 3. resize the boot lun. expand the size from 50G to 60G 4. reinstall RHEL-6.3 to the boot lun with lvm layout >> see the issue >> >> some investigation >> device-mapper: resume ioctl on mpathbp2p2 failed: Invalid argument device-mapper: remove ioctl on mpathbp2p2 failed: No such device or address device-mapper: resume ioctl on mpathbp2p2 failed: Invalid argument device-mapper: remove ioctl on mpathbp2p2 failed: No such device or address sh-4.1# multipath -ll mpathb (360a98000572d574a4e6f63706772594b) dm-0 NETAPP,LUN size=60G features='2 pg_init_retries 50' hwhandler='0' wp=rw |-+- policy='round-robin 0' prio=4 status=active | |- 3:0:1:0 sdg 8:96 active ready running | `- 4:0:1:0 sdj 8:144 active ready running `-+- policy='round-robin 0' prio=1 status=enabled |- 3:0:0:0 sda 8:0 active ready running `- 4:0:0:0 sdd 8:48 active ready running sh-4.1# ls -l /dev/sda* brw-rw----. 1 root disk 8, 0 2012-08-06 08:23 /dev/sda brw-rw----. 1 root disk 8, 1 2012-08-06 08:23 /dev/sda1 brw-rw----. 1 root disk 8, 2 2012-08-06 08:23 /dev/sda2 sh-4.1# ls -l /dev/mapper/ total 0 crw-rw----. 1 root root 10, 57 2012-08-06 08:23 control lrwxrwxrwx. 1 root root 7 2012-08-06 12:26 mpathb -> ../dm-0 lrwxrwxrwx. 1 root root 7 2012-08-06 12:26 mpathbp1 -> ../dm-1 lrwxrwxrwx. 1 root root 7 2012-08-06 12:26 mpathbp2 -> ../dm-2 lrwxrwxrwx. 1 root root 7 2012-08-06 12:26 mpathbp2p1 -> ../dm-3 sh-4.1# kpartx -l /dev/mapper/mpathb mpathb1 : 0 1024000 /dev/mapper/mpathb 2048 mpathb2 : 0 124803072 /dev/mapper/mpathb 1026048 Device Boot Start End Blocks Id System /dev/sda1 2 501 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 502 61440 62401536 83 Linux Partition 2 does not end on cylinder boundary. workaround: use fdisk to remove the partitions then reboot the host to re-install the OS. Is this problem still happening with a current 6.4 nightly build? I am rethinking this issue. This issue is a corner case. I only hit it when i resizing the boot LUN then reinstall the OS to it. Ths anaconda will report an error when try to create mpath device since the size of boot LUN is changed and the previous partition layout doesn't work. The users have to remove the partitions or re-format the boot lun before OS installation. I think it's difficult for anaconda to cover all this exception so i will close this bug. |