Bug 969771

Summary: RFE: No visible way to (easily) create MD RAID + LVM combo.
Product: [Fedora] Fedora Reporter: Gilboa Davara <gilboad>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, rtguille, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-07 00:09:55 UTC Type: Bug
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 Flags
screenshot F19b RC4 RAID1 + LVM none

Description Gilboa Davara 2013-06-02 09:49:57 UTC
Description of problem:
Back in the previous Anaconda, its was fairly easy (and obvious) how to create a complex software RAID + LVM setup.

You partitioned the drives, create the RAID sets and than configured the LVM to span acr.
With F18/F19, at least as far as I can see, its impossible to create LVM + RAIDX partition (only RAID partition or LVM partition).

- Gilboa

Comment 1 Reartes Guillermo 2013-06-02 16:57:33 UTC
Certainly it is not as visible as one might want but MDADM RAID + LVM can be done with the current installer. (19.30-1).

Also more than one VG can be created and with different raid levels.

It mostly works, there are issues but i was able to find workaround for most setups i tried.

Comment 2 Reartes Guillermo 2013-06-02 16:58:29 UTC
Created attachment 756037 [details]
screenshot F19b RC4 RAID1 + LVM

To create:

MDADM RAID1 containing a LVM 'os_vg' with /boot,swap,/ as LVs:

1. Enter Custom Partitioning selecting 'standard partitions' partition scheme
2. Delete whatever is on disk.
3. Add a /boot mount point, 512mb. It will be created as a standard partition ext4.
4. Change /boot device type to 'lvm' and 'update settings'.
5. The volume group will be called 'fedora', click "modify" button.
6. Change the name to 'os_vg'.
7. Here you can select the disks in which the VG will be. Select the disks. (i used vda, vdb).
8. Select the 'raid level' and set it to RAID1 and click 'save', then Click 'update settings'.


9. Add a swap mount point, 768mb. It will be created as a standard partition swap.
10. Select the swap entry. (for some reason, for swap only, it is not keept selected after creation)
11. Change swap device type to 'lvm' and 'update settings'.
12ยท By default it will be put in the default VG. (which was already defined as os_vg raid1 of vda,vdb)

13. Repeat steps 9. to 12. for the / partition.

Comment 3 Gilboa Davara 2013-06-04 07:13:48 UTC
It... worked. Thanks!
It'd consider keeping this bug open, as the UI flow is somewhat overly complex and non-obvious.

- Gilboa

Comment 4 Gilboa Davara 2013-06-04 07:17:02 UTC
.. Spoke too soon, anacond a blew up during installation and "report bug" hangs (but that's another bug report).

Thanks again.

- Gilboa