Bug 31705 - auto partition should not use all hard disks
auto partition should not use all hard disks
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Sönke Schwardt-Krummrich
Erik Damrose
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-11 10:28 CEST by Stefan Gohmann
Modified: 2013-11-19 06:43 CET (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2013-06-11 10:28:09 CEST
The auto partition should not use all available hard disks. Otherwise we have a problem if the auto partition creates a LVM over two disks and the second disk gets broken.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-09-10 17:12:11 CEST
The automatic partitioning has been adapted. It still requires the erasure of all harddisks (due to possible LVM devices) but as of UCS 3.2-0 the new auto partitioning layout will only use the first available harddisk. If installation profiles are used, the profile keyword "auto_part" only accepts the value "yes" from now on: auto_part=yes
The default profiles have been updated accordingly.

univention-installer (9.0.21-1) unstable; urgency=low

Changelog entry has been made

Profile installation is currently untested.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-09-16 14:10:33 CEST
> Profile installation is currently untested.
First test in development was ok.
Comment 3 Erik Damrose univentionstaff 2013-09-18 15:40:24 CEST
OK: Autopartition will only use the first found harddisc
OK: auto_part only supports 'yes' in gpt partition mode (mbr is deprecated)
OK: Installation with autopartition and with profiles works
OK: Changelog
FAIL: default/example profile files in profiles/ have a wrong comment in the partition section: "## use with care, uses all storage attached" ->REOPEN
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-09-20 11:43:31 CEST
(In reply to Erik Damrose from comment #3)
> FAIL: default/example profile files in profiles/ have a wrong comment in the
> partition section: "## use with care, uses all storage attached" ->REOPEN

Not completely wrong. It is still the case, that all storage devices will get erased but only the first harddisk is used for UCS. Changed comment to
"## use with care, all attached storage devices will be erased"
Comment 5 Erik Damrose univentionstaff 2013-09-27 13:19:55 CEST
OK: "## use with care, all attached storage devices will be erased"
-> Verified
Comment 6 Stefan Gohmann univentionstaff 2013-11-19 06:43:26 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".