Hello all,
I was wondering if this is the correct place to discuss the default partitioning scheme after installation. If not, could someone please direct me to the correct place?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/23/2010 06:39 PM, Javier Prats wrote:
Hello all,
I was wondering if this is the correct place to discuss the default partitioning scheme after installation. If not, could someone please direct me to the correct place?
It's as good a place as any. What is your concern?
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
Hello Stephen,
On a default Fedora installation using encryption and LVM it partitioned a 50GB drive giving 44GB to the root partition and only 4GB to /home. In most environments saving things to the root partition is avoided and it seems there is more than enough room for applications. This is the first distribution I've seen do this, but it's also the first time using encryption on partitions. This is very well ignorance on my part, but is there a reason for that being the default partitioning scheme?
On Mon, 2010-10-25 at 07:02 -0400, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/23/2010 06:39 PM, Javier Prats wrote:
Hello all,
I was wondering if this is the correct place to discuss the default partitioning scheme after installation. If not, could someone please direct me to the correct place?
It's as good a place as any. What is your concern?
Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkzFY8AACgkQeiVVYja6o6McJwCgkw9uJFtBJN0nDkNH41l+DPVu 3SwAoIpJopi6oV6omFRUu50ObdFPO6Gb =IaGL -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/28/2010 10:37 PM, Javier Prats wrote:
Hello Stephen,
On a default Fedora installation using encryption and LVM it partitioned a 50GB drive giving 44GB to the root partition and only 4GB to /home. In most environments saving things to the root partition is avoided and it seems there is more than enough room for applications. This is the first distribution I've seen do this, but it's also the first time using encryption on partitions. This is very well ignorance on my part, but is there a reason for that being the default partitioning scheme?
What version of Fedora are we discussing? The most recent version I installed directly (Fedora 13) partitioned / with all of the available space* and did not create a separate /home partition at all (I had to perform a custom installation to accomplish this)
* Well, it also added a SWAP partition. - -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
On Thu, 28 Oct 2010, Javier Prats wrote:
Hello Stephen,
On a default Fedora installation using encryption and LVM it partitioned a 50GB drive giving 44GB to the root partition and only 4GB to /home. In most environments saving things to the root partition is avoided and it seems there is more than enough room for applications. This is the first distribution I've seen do this, but it's also the first time using encryption on partitions. This is very well ignorance on my part, but is there a reason for that being the default partitioning scheme?
Here is the bug regarding the installer creating a /home partition:
https://bugzilla.redhat.com/show_bug.cgi?id=150670
And the commit:
commit 1952a27de7bf47c4a8243662d6e606194eba002e Author: Chris Lumens clumens@redhat.com Date: Thu Oct 29 10:53:57 2009 -0400
Modify autopart requests to include a separate /home (#150670).
This modifies the default partitioning as follows:
(1) For VGs <= 50 GB, we will continue to make swap and / as normal. (2) For VGs > 50 GB, / will cap at 50 GB and /home will consume the rest.
50 GB is fairly arbitrary, and was based on the fact that an Everything install of Fedora right now is ~ 40 GB, plus some room for expansion. Very few users are likely to do an Everything install so this should provide plenty of space for upgrades and future growth. Additionally, this is only a default partitioning suggestion and can always be overridden by the user.
We discussed how /home would be created during automatic partitioning and based on the feedback from many people, the above algorithm was determined. So, the odd 4GB /home in your case is most likely due to your disk being on the 50GB line.
On Mon, 2010-10-25 at 07:02 -0400, Stephen Gallagher wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/23/2010 06:39 PM, Javier Prats wrote:
Hello all,
I was wondering if this is the correct place to discuss the default partitioning scheme after installation. If not, could someone please direct me to the correct place?
It's as good a place as any. What is your concern?
Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkzFY8AACgkQeiVVYja6o6McJwCgkw9uJFtBJN0nDkNH41l+DPVu 3SwAoIpJopi6oV6omFRUu50ObdFPO6Gb =IaGL -----END PGP SIGNATURE-----
On 10/29/2010 14:37, David Cantrell wrote:
(1) For VGs<= 50 GB, we will continue to make swap and / as normal. (2) For VGs> 50 GB, / will cap at 50 GB and /home will consume the rest. 50 GB is fairly arbitrary, and was based on the fact that an Everything install of Fedora right now is ~ 40 GB, plus some room for expansion. Very few users are likely to do an Everything install so this should provide plenty of space for upgrades and future growth. Additionally, this is only a default partitioning suggestion and can always be overridden by the user.
We discussed how /home would be created during automatic partitioning and based on the feedback from many people, the above algorithm was determined. So, the odd 4GB /home in your case is most likely due to your disk being on the 50GB line.
If you want to keep defaulting to a separate /home partition, how about doing so only when the disk is above a larger size such as 80 or 100 GB?
On 10/29/10 12:37 PM, David Cantrell wrote:
We discussed how /home would be created during automatic partitioning and based on the feedback from many people, the above algorithm was determined. So, the odd 4GB /home in your case is most likely due to your disk being on the 50GB line.
A small tweak which might make sense...
For volumes that are over 100G in size, enact the 50g / + rest for /home setup. For anything smaller than 100G in size leave everything in /
That should avoid having anything less than 50% of your disk space in /home.
On Fri, Oct 29, 2010 at 10:16 PM, Jesse Keating jkeating@redhat.com wrote:
A small tweak which might make sense...
For volumes that are over 100G in size, enact the 50g / + rest for /home setup. For anything smaller than 100G in size leave everything in /
That should avoid having anything less than 50% of your disk space in /home.
Is it worth adding a warning when the available space is rather marginally small (in addition to the above suggestions)? i.e. Tell the user: "The install will continue but the available space for user data and additional packages is limited - continue (yes/no)?
In my opinion I think it WOULD be a good idea to add a warning or make that the default behavior. I reinstalled due to this and I'm sure others have had to as well. If someone could point me to the right direction I could work on it. There are some questions since I'm new to this.
Is someone already in charge of making such changes?
Where is this info kept on the install image and how would I go about modifying it locally to start playing? I'd like to learn whether some one else does this or not.
Thanks, Javier
On Fri, 2010-10-29 at 22:21 +0100, mike cloaked wrote:
On Fri, Oct 29, 2010 at 10:16 PM, Jesse Keating jkeating@redhat.com wrote:
A small tweak which might make sense...
For volumes that are over 100G in size, enact the 50g / + rest for /home setup. For anything smaller than 100G in size leave everything in /
That should avoid having anything less than 50% of your disk space in /home.
Is it worth adding a warning when the available space is rather marginally small (in addition to the above suggestions)? i.e. Tell the user: "The install will continue but the available space for user data and additional packages is limited - continue (yes/no)? -- mike c
On Sat, 2010-10-30 at 14:03 -0800, Javier Prats wrote:
Where is this info kept on the install image and how would I go about modifying it locally to start playing? I'd like to learn whether some one else does this or not.
It's in anaconda. The / and /home specifications are here (line numbers may rot):
http://git.fedorahosted.org/git/?p=anaconda.git;a=blob;f=pyanaconda/installc...
The requiredSpace is checked here:
http://git.fedorahosted.org/git/?p=anaconda.git;a=blob;f=pyanaconda/storage/...
You would have to modify the python files and then either rebuild anaconda or create an updates image. See:
https://fedoraproject.org/wiki/Anaconda
On Sat, 30 Oct 2010, Matt McCutchen wrote:
On Sat, 2010-10-30 at 14:03 -0800, Javier Prats wrote:
Where is this info kept on the install image and how would I go about modifying it locally to start playing? I'd like to learn whether some one else does this or not.
It's in anaconda. The / and /home specifications are here (line numbers may rot):
http://git.fedorahosted.org/git/?p=anaconda.git;a=blob;f=pyanaconda/installc...
The requiredSpace is checked here:
http://git.fedorahosted.org/git/?p=anaconda.git;a=blob;f=pyanaconda/storage/...
You would have to modify the python files and then either rebuild anaconda or create an updates image. See:
While the anaconda team would implement the technical aspects for this change, I think there's also the distribution policy issue as well. The amount to reserve for /home as well as the algorithm for determining how much to allocate for /home might as well be a Fedora distribution policy decision.
devel@lists.stg.fedoraproject.org