[Bug 1093372] New: [storage] Default partition proposal includes separate home on 20GB leaving only 10.8 GB which are quickly filled up on a default installation
http://bugzilla.suse.com/show_bug.cgi?id=1093372 Bug ID: 1093372 Summary: [storage] Default partition proposal includes separate home on 20GB leaving only 10.8 GB which are quickly filled up on a default installation Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: okurz@suse.com QA Contact: jsrain@suse.com CC: afaerber@suse.com, alarrosa@suse.com, ancor@suse.com, anton.smorodskyi@suse.com, behlert@suse.com, dleuenberger@suse.com, eich@suse.com, fcrozat@suse.com, fs@suse.com, ihno@suse.com, jayk@suse.com, jreidinger@suse.com, jsrain@suse.com, kdupke@suse.com, kukuk@suse.com, lnussel@suse.com, lpechacek@suse.com, mge@suse.com, mgriessmeier@suse.com, mlin@suse.com, okurz@suse.com Depends on: 1089274 Found By: --- Blocker: Yes Flags: needinfo?(lnussel@suse.com) +++ This bug was initially created as a clone of Bug #1089274 +++ ## Observation openQA test in scenario opensuse-15.0-DVD-Updates-x86_64-gnome@uefi in [partitioning](https://openqa.opensuse.org/tests/676686/modules/partitioning/steps/1) rpoposes a separate home partition on a 20 GB hard disk leaving only 10.82 GB for the / part which is then quickly filled up making the openQA test fail in a later step: https://openqa.opensuse.org/tests/676686#step/gnucash/47 ## Reproducible Every time on 20 GB disk based on default proposal. ## Expected result Last good: [openSUSE Leap 42.3](https://openqa.opensuse.org/tests/676655#step/partitioning/1) in the same scenario, with same disk size proposed no separate home partition so leaving around 18 GB for / The default disk proposal should not be that small caused by the separate home. I suspect proposing a separate home only above a higher level of available space would be better. ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&flavor=DVD-Updates&test=gnome&machine=uefi&distri=opensuse&version=15.0) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c1
--- Comment #1 from Ancor Gonzalez Sosa
5 GiB 100
That is, 5 GiB of minimum is no snapshots are enabled and 10 GiB if they are enabled. If those 10 GiBs are in fact not enough, the settings for the corresponding product/role must be adjusted in skelcd. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
Thorsten Kukuk
http://bugzilla.suse.com/show_bug.cgi?id=1093372
Libor Pechacek
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c2
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c3
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c9
Ancor Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c17
Stefan Schubert
(In reply to Richard Brown from comment #14)
Changing assignee - Ludwig removed all my latest changes to the Leap control file so it's probably best he fixed this
huh? I just changed some wordings while adding a custom role to fix openQA breakage as nobody else bothered to do that. I didn't touch partitioning or anything else.
Who adjusts that stuff for SLE? That person please also take care of Leap. I have no clue about the knobs and handles there.
So, back to Richard :-) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c23
--- Comment #23 from Oliver Kurz
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c24
Max Lin
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c25
Ludwig Nussel
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c26
--- Comment #26 from Ancor Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c28
Petr Mladek
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c29
--- Comment #29 from Jiri Srain
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c30
--- Comment #30 from Ancor Gonzalez Sosa
The question is not whether or not to create a separate home partition if the disk has similar size as yours - in this case, it will be proposed (and we may discuss which portion of the disk it should take - but here you will clearly never please everyone).
The discussion is how the default proposal should behave if the disk is small - and you need to make some compromises because the standard set-up would not fit.
Yes and not. The original discussion was about the minimal sizes and partitions in case of small disks. But as a result of this discussion it was decided to not propose a separate /home by default, no matter how big the disk is. See the thread at opensuse-factory mailing list. https://lists.opensuse.org/opensuse-factory/2018-11/msg00142.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c31
--- Comment #31 from Ancor Gonzalez Sosa
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c32
--- Comment #32 from Petr Mladek
Yes and not. The original discussion was about the minimal sizes and partitions in case of small disks. But as a result of this discussion it was decided to not propose a separate /home by default, no matter how big the disk is. See the thread at opensuse-factory mailing list.
https://lists.opensuse.org/opensuse-factory/2018-11/msg00142.html
I am in the scared more back again. OK, let me ask: 1. Will /home get formatted on a fresh installation? 2. Do we have a reasonable GUI to remove less important snapshots in out-of-disk situation? I mean something that would show what is archived by which snapshot and how much space each snapshot blocks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c33
Richard Brown
1. Will /home get formatted on a fresh installation?
Yes, just as /var does, or /opt, or /usr/local, and /etc, and all the other locations on the filesystem which does have user-supplied information. We've never optimised for 'reinstallation'. We have perfectly good in place upgrade options, and any user doing an installation should always, always backup all of the above locations and any other which include data they might want post-installation. That said, it's a simple tick box in the guided installer to have a separate /home partition for those that prefer the old behaviour.
2. Do we have a reasonable GUI to remove less important snapshots in out-of-disk situation? I mean something that would show what is archived by which snapshot and how much space each snapshot blocks.
YaST2 snapper does all of the above besides "how much space each snapshot blocks", because the nature of CoW prevents it. Think of it this way: deleting one snapshot that currently blocks a lot of space, doesn't necessarily reclaim all that space, because when other (previously smaller, as CoW snapshots only retain diffs) snapshot now references all the data previously 'owned' by the old 'larger' snapshot. We have advanced built-in, automatic, deletion of snapshots based space in use. It needs a certain amount of space for the process to work properly and reliably. With these new defaults I expect the topic of snapshot space in use will be far less of a concern to far fewer people. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c34
--- Comment #34 from Ancor Gonzalez Sosa
I am in the scared more back again. OK, let me ask:
1. Will /home get formatted on a fresh installation?
As I read your question, you seem to expect the installer to recognize preexisting /home partitions (from a previous installation) and then either reuse such partition as /home for the new installation or at least avoid to delete such partition. As far as I know, the installer has never done that as part of the automated partitioning proposal. By default we don't inspect the content of the existing Linux partitions trying to guess their former role (neither to keep them or to reuse them). We just try to make enough space for the new system by resizing or deleting the existing Windows or Linux partitions, that's all we do and, as far as I know, all what we have ever done. There is no specific logic (and has never been, as far as I'm aware) to preserve your pre-existing /home. The existing Linux partitions will be deleted if we need the disk space they are using, no matter if they are a former "/" or a former "/home", "/var" or whatever. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c35
--- Comment #35 from Josef Reidinger
(In reply to Petr Mladek from comment #32)
I am in the scared more back again. OK, let me ask:
1. Will /home get formatted on a fresh installation?
As I read your question, you seem to expect the installer to recognize preexisting /home partitions (from a previous installation) and then either reuse such partition as /home for the new installation or at least avoid to delete such partition.
As far as I know, the installer has never done that as part of the automated partitioning proposal.
By default we don't inspect the content of the existing Linux partitions trying to guess their former role (neither to keep them or to reuse them). We just try to make enough space for the new system by resizing or deleting the existing Windows or Linux partitions, that's all we do and, as far as I know, all what we have ever done. There is no specific logic (and has never been, as far as I'm aware) to preserve your pre-existing /home. The existing Linux partitions will be deleted if we need the disk space they are using, no matter if they are a former "/" or a former "/home", "/var" or whatever.
I think that maybe question is related to "import mount points" option that allows to read partitioning and I think it is less aggressive in cleaning. But it is not done automatic. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1093372
Matthias Eckermann
http://bugzilla.suse.com/show_bug.cgi?id=1093372
Jeff Mahoney
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c38
--- Comment #38 from Petr Mladek
http://bugzilla.suse.com/show_bug.cgi?id=1093372
http://bugzilla.suse.com/show_bug.cgi?id=1093372#c39
--- Comment #39 from Ludwig Nussel
participants (1)
-
bugzilla_noreply@novell.com