[opensuse-factory] Cannot resize root partition on installation
Hi guys, I am re-installing opensuse Tumbleweed on a laptop because I ran out of disk space on my root partition. It seems to be set to use only 40GB by default (which seems small considering snapshots). I am having trouble resizing this to a larger amount of space during the installation step. I tried resizing the `/home` partition to a smaller size so that more space is available to use. But it still means you cant use the newly available space it seems due to its position on the disk. Could someone advise on how I can increase the size correctly? PS: I tried manually deleting the /home partition, resizing the root, and creating a new /home partition - but the actual installation then failed for me. I'm guessing its because I'm not setting that up correctly. Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Michael Aquilina wrote:
Hi guys,
I am re-installing opensuse Tumbleweed on a laptop because I ran out of disk space on my root partition. It seems to be set to use only 40GB by default (which seems small considering snapshots).
I am having trouble resizing this to a larger amount of space during the installation step. I tried resizing the `/home` partition to a smaller size so that more space is available to use. But it still means you cant use the newly available space it seems due to its position on the disk.
Could someone advise on how I can increase the size correctly?
PS: I tried manually deleting the /home partition, resizing the root, and creating a new /home partition - but the actual installation then failed for me. I'm guessing its because I'm not setting that up correctly.
Hmm, this is what ISTR I did two weeks ago: Select doing my own setup, based on current one, then delete home/swap and change size of root. Finally add other partitions again. The important part is likely the correct layout of the btrfs subvolumes. How exactly (at what point? Error messages?) did yours fail? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Retried it now and deleted the swap partition manually too. That seemed to work so it must have been the issue - thanks :) I guess something else to ask though is if we should consider increasing the default root partition size from 40GB as it seems quite small for the average use case. On Wed, May 16, 2018 at 3:07 PM, Peter Suetterlin <pit@astro.su.se> wrote:
Michael Aquilina wrote:
Hi guys,
I am re-installing opensuse Tumbleweed on a laptop because I ran out of disk space on my root partition. It seems to be set to use only 40GB by default (which seems small considering snapshots).
I am having trouble resizing this to a larger amount of space during the installation step. I tried resizing the `/home` partition to a smaller size so that more space is available to use. But it still means you cant use the newly available space it seems due to its position on the disk.
Could someone advise on how I can increase the size correctly?
PS: I tried manually deleting the /home partition, resizing the root, and creating a new /home partition - but the actual installation then failed for me. I'm guessing its because I'm not setting that up correctly.
Hmm, this is what ISTR I did two weeks ago: Select doing my own setup, based on current one, then delete home/swap and change size of root. Finally add other partitions again. The important part is likely the correct layout of the btrfs subvolumes.
How exactly (at what point? Error messages?) did yours fail? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- Michael Aquilina -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Michael Aquilina wrote:
Retried it now and deleted the swap partition manually too.
That seemed to work so it must have been the issue - thanks :)
Good :)
I guess something else to ask though is if we should consider increasing the default root partition size from 40GB as it seems quite small for the average use case.
Depends. For a simple setup it is normally enough. Gets complicated if you install larger services like databases and (lots of) development environments. But an increase to something like 60 should be no issue, given todays disk sizes... More important would be an *easy* option to change the value in the proposal (or wherever)... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/16/2018 06:13 PM, Peter Suetterlin wrote:
Michael Aquilina wrote:
Retried it now and deleted the swap partition manually too.
That seemed to work so it must have been the issue - thanks :)
Good :)
I guess something else to ask though is if we should consider increasing the default root partition size from 40GB as it seems quite small for the average use case.
Depends. For a simple setup it is normally enough. Gets complicated if you install larger services like databases and (lots of) development environments. But an increase to something like 60 should be no issue, given todays disk sizes...
More important would be an *easy* option to change the value in the proposal (or wherever)...
Please, bring that kind of ideas to https://events.opensuse.org/conference/oSC18/program/proposal/1804 We are looking forward hearing from you all. Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Ancor Gonzalez Sosa wrote:
On 05/16/2018 06:13 PM, Peter Suetterlin wrote:
More important would be an *easy* option to change the value in the proposal (or wherever)...
Please, bring that kind of ideas to https://events.opensuse.org/conference/oSC18/program/proposal/1804
We are looking forward hearing from you all.
Hmm, not really clear what I/we are supposed to do? The page has nothing to submit ideas. Or do you mean joining the conference? Greetings from La Palma ;^> Pit -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/17/2018 11:37 AM, Peter Suetterlin wrote:
Ancor Gonzalez Sosa wrote:
On 05/16/2018 06:13 PM, Peter Suetterlin wrote:
More important would be an *easy* option to change the value in the proposal (or wherever)...
Please, bring that kind of ideas to https://events.opensuse.org/conference/oSC18/program/proposal/1804
We are looking forward hearing from you all.
Hmm, not really clear what I/we are supposed to do? The page has nothing to submit ideas. Or do you mean joining the conference?
Yes, that's what I meant.
Greetings from La Palma ;^>
So maybe we can do a second edition of the session in the Canaries. ;) Cheers -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/16/2018 03:38 PM, Michael Aquilina wrote:
Hi guys,
PS: I tried manually deleting the /home partition, resizing the root, and creating a new /home partition - but the actual installation then failed for me. I'm guessing its because I'm not setting that up correctly.
That should have worked just fine. I would be interested in seeing the logs of that failed attempt. Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
16.05.2018 16:38, Michael Aquilina пишет:
Hi guys,
I am re-installing opensuse Tumbleweed on a laptop because I ran out of disk space on my root partition. It seems to be set to use only 40GB by default (which seems small considering snapshots).
I am having trouble resizing this to a larger amount of space during the installation step. I tried resizing the `/home` partition to a smaller size so that more space is available to use. But it still means you cant use the newly available space it seems due to its position on the disk.
Could someone advise on how I can increase the size correctly?
PS: I tried manually deleting the /home partition, resizing the root, and creating a new /home partition - but the actual installation then failed for me.
You seriously expect to get useful replies to that detailed description? I briefly tested exactly the same (deleted home, resized root, recreated home) and it worked. Of course it resulted in partitions out of order (which is not nice and may confuse some program in the future) and this way any default options potentially applied by installer default proposal are lost. But installation was completed and resulted in bootable system. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/16/2018 08:24 PM, Andrei Borzenkov wrote:
[...] and this way any default options potentially applied by installer default proposal are lost.
Since this has been pointed already twice in the thread, let me clarify. Creating partitions using the Expert Partitioner during installation should be quite safe in that regard. For example, if you create an Btrfs root, you will have the same subvolumes than the root proposed by the Guided Setup. The filesystem options and mount point options should also be the same for any other partition (like /home or swap). There is no black magic hidden in the Guided Setup about filesystem or mount options. Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Ancor Gonzalez Sosa wrote:
Since this has been pointed already twice in the thread, let me clarify.
Creating partitions using the Expert Partitioner during installation should be quite safe in that regard.
For example, if you create an Btrfs root, you will have the same subvolumes than the root proposed by the Guided Setup. The filesystem options and mount point options should also be the same for any other partition (like /home or swap).
Hmm, was this changed lately? ISTR the last time I tried this (not really sure when it was, 4-6 weeks ago) there were no subvolumes created, although I could chose from some presets which to create. That's why I didn't even try the last time (2 weeks ago), but used the keep-root-from-proposal way. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 05/17/2018 01:12 PM, Peter Suetterlin wrote:
Ancor Gonzalez Sosa wrote:
Since this has been pointed already twice in the thread, let me clarify.
Creating partitions using the Expert Partitioner during installation should be quite safe in that regard.
For example, if you create an Btrfs root, you will have the same subvolumes than the root proposed by the Guided Setup. The filesystem options and mount point options should also be the same for any other partition (like /home or swap).
Hmm, was this changed lately? ISTR the last time I tried this (not really sure when it was, 4-6 weeks ago) there were no subvolumes created, although I could chose from some presets which to create. That's why I didn't even try the last time (2 weeks ago), but used the keep-root-from-proposal way.
Yes. It has changed... a lot! Basically everything related to the partitioning proposal, to the expert partitioner and to any other usage of storage devices in (Auto)YaST has been rewritten from scratch. That's what we call storage-ng (search for "openSUSE storage-ng" in your favorite Internet search engine). TW users have been suffering/enjoying it for some months already. And Leap15 will be the first non-rolling distro to ship it. Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
17.05.2018 12:48, Ancor Gonzalez Sosa пишет:
On 05/16/2018 08:24 PM, Andrei Borzenkov wrote:
[...] and this way any default options potentially applied by installer default proposal are lost.
Since this has been pointed already twice in the thread, let me clarify.
Creating partitions using the Expert Partitioner during installation should be quite safe in that regard.
For example, if you create an Btrfs root, you will have the same subvolumes than the root proposed by the Guided Setup.
Yes, indeed. This was definitely not the case in the past. Is it committed behavior that can be relied upon in the future?
The filesystem options and mount point options should also be the same for any other partition (like /home or swap).
There is no black magic hidden in the Guided Setup about filesystem or mount options.
Cheers.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Andrei Borzenkov [17.05.2018 19:38]:
17.05.2018 12:48, Ancor Gonzalez Sosa пишет:
For example, if you create an Btrfs root, you will have the same subvolumes than the root proposed by the Guided Setup.
Yes, indeed. This was definitely not the case in the past. Is it committed behavior that can be relied upon in the future?
I saw this behaviour at least when installing SLES 12 SP3, I'm not sure about SP2 or before. Werner --
On 05/17/2018 07:38 PM, Andrei Borzenkov wrote:
17.05.2018 12:48, Ancor Gonzalez Sosa пишет:
On 05/16/2018 08:24 PM, Andrei Borzenkov wrote:
[...] and this way any default options potentially applied by installer default proposal are lost.
Since this has been pointed already twice in the thread, let me clarify.
Creating partitions using the Expert Partitioner during installation should be quite safe in that regard.
For example, if you create an Btrfs root, you will have the same subvolumes than the root proposed by the Guided Setup.
Yes, indeed. This was definitely not the case in the past. Is it committed behavior that can be relied upon in the future?
I wouldn't sign it with my blood for generations to come but yes, that's the intention. That's committed behavior that I personally would rely upon in the future. In other words, if at some point that stop being true, please open a bug report. Cheers. -- Ancor González Sosa YaST Team at SUSE Linux GmbH -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Ancor Gonzalez Sosa
-
Andrei Borzenkov
-
Michael Aquilina
-
Peter Suetterlin
-
Werner Flamme