FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 10-23-2010, 10:39 PM
Javier Prats
 
Default Default partitioning

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?

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-25-2010, 11:02 AM
Stephen Gallagher
 
Default Default partitioning

-----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/

iEYEARECAAYFAkzFY8AACgkQeiVVYja6o6McJwCgkw9uJFtBJN 0nDkNH41l+DPVu
3SwAoIpJopi6oV6omFRUu50ObdFPO6Gb
=IaGL
-----END PGP SIGNATURE-----
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-29-2010, 02:37 AM
Javier Prats
 
Default Default partitioning

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/
>
> iEYEARECAAYFAkzFY8AACgkQeiVVYja6o6McJwCgkw9uJFtBJN 0nDkNH41l+DPVu
> 3SwAoIpJopi6oV6omFRUu50ObdFPO6Gb
> =IaGL
> -----END PGP SIGNATURE-----


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-29-2010, 10:51 AM
Stephen Gallagher
 
Default Default partitioning

-----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/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzKpyUACgkQeiVVYja6o6PeUgCgshTZ++nlCE L+wi1dnvk1yVXW
EjEAn3enjF4LoAeKRqDTBjO2Tr2QI8Va
=9of9
-----END PGP SIGNATURE-----
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-29-2010, 07:37 PM
David Cantrell
 
Default Default partitioning

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/
>>
>> iEYEARECAAYFAkzFY8AACgkQeiVVYja6o6McJwCgkw9uJFtBJN 0nDkNH41l+DPVu
>> 3SwAoIpJopi6oV6omFRUu50ObdFPO6Gb
>> =IaGL
>> -----END PGP SIGNATURE-----

--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-29-2010, 08:11 PM
Garrett Holmstrom
 
Default Default partitioning

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?
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-29-2010, 09:16 PM
Jesse Keating
 
Default Default partitioning

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.

--
Jesse Keating
Fedora -- Freedom˛ is a feature!
identi.ca: http://identi.ca/jkeating



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-29-2010, 09:21 PM
mike cloaked
 
Default Default partitioning

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
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-30-2010, 10:03 PM
Javier Prats
 
Default Default partitioning

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


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 10-30-2010, 10:35 PM
Matt McCutchen
 
Default Default partitioning

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/installclass.py#l169

The requiredSpace is checked here:

http://git.fedorahosted.org/git/?p=anaconda.git;a=blob;f=pyanaconda/storage/partitioning.py#l147

You would have to modify the python files and then either rebuild
anaconda or create an updates image. See:

https://fedoraproject.org/wiki/Anaconda

--
Matt

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 07:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org