FS#21505 - AIF LV size dialog should get more sensible default value

Attached to Project: Release Engineering
Opened by Heiko Baums (cyberpatrol) - Thursday, 28 October 2010, 00:25 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Monday, 26 November 2012, 04:52 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Low
Reported Version 2010.05
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When creating LVs on an LVM VG, AIF asks for the size of the LV and gives 5000 MB as the default value.

This should be changed, so that AIF shows the remaining disk space (maximal possible size for the LV). Or it should automatically reduce the size if the entered size is too big. Otherwise there should be an option to use the remaining disk space for the LV.

Currently it just fails to create the LV with the following error message and cancels the installation:

process_filesystem error

Error creating filesystem
lvm_lv on
/dev/mapper/vg_arch.

And AIF shouldn't only accept integer values for the LV size but also floating point values as the remaining part of the partition can't only have full MBs. So with only integer values a small part of the harddisk lies waste.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Monday, 26 November 2012, 04:52 GMT
Reason for closing:  Deferred
Comment by Heiko Baums (cyberpatrol) - Thursday, 28 October 2010, 00:28 GMT
Sorry, edited the bug report before sending it, but forgot to change the subject. You probably should change it accordingly.
Comment by Dieter Plaetinck (Dieter_be) - Thursday, 09 December 2010, 09:57 GMT
* more sensible default value -> ok, patch welcome
* support using all remaining space ->  FS#13425  - LVM Setup should support -l option

Loading...