Description of problem:
As comment in https://bugzilla.redhat.com/show_bug.cgi?id=674241#c15
Open a new bug for bindings file creation in anaconda.
Please be advised that when mount point is different from mpath name, multipathd daemon could be stoped without any warning. This will cause OS lose protection from multipath.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHEL 6.2 on a server boot from SAN.
2. Check OS mount point after boot up.
OS is mount on /dev/mapper/<WWID>
But multipath only create /dev/mapper/mpath[a-z]+ by default.
mount point should be same as OS do.
If you want to keep use <WWID> when user specify WWID instead of alias, you need to set "user_friendly_names no" in /etc/multipath.conf of OS.
Otherwise, we need to create "/etc/multipath/bindings" both in initramfs and OS.
can you please retest with updates=http://akozumpl.fedorapeople.org/bz734374.img ?
I don't have physical access to that server, can we have a repo and network-install boot initrd?
(In reply to comment #3)
> I don't have physical access to that server, can we have a repo and
> network-install boot initrd?
You don't need physical access, it is an updates image. This is how you use an updates image: http://fedoraproject.org/wiki/Anaconda/Updates
Sorry for the misunderstanding. Add "updates=http://akozumpl.fedorapeople.org/bz734374.img" into beaker "Kernel Options" fit the needed.
It test 4 senario:
2. ignoredisk --only-use=disk/by-id/scsi-WWID (typo in beaker whiteboard)
4. ignoredisk --only-use=mpatha
All of them are using mpath[a-z] for mpath name.
So, you create "/etc/multipath/bindings" for all conditions?
(In reply to comment #5)
> All of them are using mpath[a-z] for mpath name.
> So, you create "/etc/multipath/bindings" for all conditions?
only in cases where friendly names are used. But the way to disable friendly names is through UI and is not done simply by using the /by-id/ paths in kickstart. This is the expected behavior.
Patch posted for review:
Any kickstart option I could use to disable friendly names?
(In reply to comment #8)
> Any kickstart option I could use to disable friendly names?
I cannot find any GUI option for disable "friendly names" on repo: RHEL6.2-20110907.1
It might be in "advanced storage" setting page, but that page got skiped when installing on "boot from SAN".
Am I missed anything?
It seems repo RHEL6.2-20110907.1 don't have this patch applied:
I will wait for next repo.
(In reply to comment #13)
> I cannot find any GUI option for disable "friendly names" on repo:
> It might be in "advanced storage" setting page, but that page got skiped when
> installing on "boot from SAN".
> Am I missed anything?
The only way to disable friendly names is to enter the "Specialized Storage Devices" page and click "Device Options".
Repo: RHEL6.2-20110919.n.0 have this fix.
Will perform the detailed test after other regression test.
GUI options works as expected.
Beaker job confirmed following options works well also:
1. ondisk=/dev/disk/by-id/dm-uuid-mpath-<WWID> #without LVM
2. ignoredisk --only-use=disk/by-id/scsi-<WWID> #with LVM
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.