Bug 1099541

Summary: [RFE] Installer UI for SSD Cache Logical Volumes
Product: [Fedora] Fedora Reporter: Marian Csontos <mcsontos>
Component: anacondaAssignee: anaconda-maint
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, awilliam, bruce, djuran, g.kaviyarasu, jonathan, 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: 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:
Bug Depends On:    
Bug Blocks: 1098130    

Description Marian Csontos 2014-05-20 14:54:41 UTC
Fedora Feature Page:

https://fedoraproject.org/wiki/Changes/Cache_Logical_Volumes?rd=Cache_Logical_Volumes

These changes will be required in Anaconda UI (and Blivet):

1. Identifying SSDs

User should be able to tell SSDs from HDDs in UI

I am sure there is anything better than /sys/block/DEV/queue/rotational which is not reliable for example when SSD is connected to RAID controller.

So user should be able to overrule that.

2. Configure cache where available.

In case of LVM cache LVs this means:

2.1 Pick devices to be cached - LVM allows:
- to use cache on top of any LV (but always below optional LUKS
  to prevent leaks of unencrypted data)
- to use cache for thin-pool data (VG$/${POOL}_tdata LV)

2.2 For each device with caching enabled:
- specify size of cache per LV (or alternatively use proportional
  size of total allocated space for caching)
- specify type - either writeback or writethrough

I am not in a position to draft any details what modifications would be required for bcache and if a common UI is possible.

Comment 1 Marian Csontos 2014-05-20 15:34:40 UTC
Additional comments - perhaps both obvious but better making them explicit:

- this SHOULD NOT be on by default
- when using LUKS encrypted partitions for PVs both data PV (HDD) and cache PV (SSD) should be encrypted (this is likely already the case and when selecting LUKS for whole PV all PVs are encrypted)

Comment 3 Adam Williamson 2019-12-12 00:52:07 UTC
So, the bulk of this Change was implemented and there was initially some suggestion the anaconda support would be done in Fedora 22, but...it never was. Seems that it still has not been, so leaving this open.

Comment 4 Vladimír Slávik 2020-10-06 11:56:40 UTC
Assigned to mail list is nonsense, returning to new.

Comment 5 Fedora Admin user for bugzilla script actions 2023-07-26 12:05:20 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.