[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#254935: marked as done (Creates too big swap partition on a machine with big hard disk but small memory)



Your message dated Mon, 30 Aug 2004 12:32:10 -0400
with message-id <E1C1p4k-0000X6-00@newraff.debian.org>
and subject line Bug#254935: fixed in partman-auto 31
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Jun 2004 19:52:19 +0000
>From marga@marga.com.ar Thu Jun 17 12:52:19 2004
Return-path: <marga@marga.com.ar>
Received: from smtp.netizen.com.ar [200.49.100.81] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bb2vr-0007ly-00; Thu, 17 Jun 2004 12:52:19 -0700
Received: from apolo.home (host-215.8.60.66-ta.adsl.netizen.com.ar [66.60.8.215])
	by smtp.netizen.com.ar (Postfix) with ESMTP id C043B186C0D
	for <submit@bugs.debian.org>; Thu, 17 Jun 2004 16:33:08 -0300 (ART)
Received: from ulises.home ([192.168.13.13] ident=mail)
	by apolo.home with esmtp (Exim 3.35 #1 (Debian))
	id 1Bb2v1-000163-00
	for <submit@bugs.debian.org>; Thu, 17 Jun 2004 16:51:27 -0300
Received: from marga by ulises.home with local (Exim 3.36 #1 (Debian))
	id 1Bb2uj-0007LQ-00
	for <submit@bugs.debian.org>; Thu, 17 Jun 2004 16:51:09 -0300
Date: Thu, 17 Jun 2004 16:51:09 -0300
From: Margarita Manterola <debian@marga.com.ar>
To: submit@bugs.debian.org
Subject: The way the swap size is calculated seems not correct
Message-ID: <20040617195109.GA28199@localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Margarita Manterola <marga@ulises.netizen.com.ar>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_01,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: partman-auto
Severity: minor

The way partman-auto decides the swap size is quit puzzling.

I've read the recipes, and I understand the algorithm, but yet, I was
taught since my first GNU/Linux days that sawp size is related to memory
size, and partman-auto is deciding only upon hard drive size.

It's really weird when you have a big harddrive, but not so much memory
(this happened to me yesterday.  I had only 64Mb RAM, and partman-auto
suggested something like 400Mb Swap, for a 10Gb hard drive).

You may argue that it's not a common environment, but I think it's not
so uncommon either, and it's really not nice that the value is so much
outside a valid range.

I think it would be nicer if the parameters for swap size could be taken
=66rom the memory size, the minimum being the memory size, and the maximum
the double of the memory size... Or something like that.

I hope you can have a look at it.

--=20
 Besos,
     Maggie.


---------------------------------------
Received: (at 254935-close) by bugs.debian.org; 30 Aug 2004 16:38:27 +0000
>From katie@ftp-master.debian.org Mon Aug 30 09:38:27 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C1pAp-0006wc-00; Mon, 30 Aug 2004 09:38:27 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1C1p4k-0000X6-00; Mon, 30 Aug 2004 12:32:10 -0400
From: Joey Hess <joeyh@debian.org>
To: 254935-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#254935: fixed in partman-auto 31
Message-Id: <E1C1p4k-0000X6-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 30 Aug 2004 12:32:10 -0400
Delivered-To: 254935-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: partman-auto
Source-Version: 31

We believe that the bug you reported is fixed in the latest version of
partman-auto, which is due to be installed in the Debian FTP archive:

partman-auto_31.dsc
  to pool/main/p/partman-auto/partman-auto_31.dsc
partman-auto_31.tar.gz
  to pool/main/p/partman-auto/partman-auto_31.tar.gz
partman-auto_31_all.udeb
  to pool/main/p/partman-auto/partman-auto_31_all.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 254935@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated partman-auto package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 30 Aug 2004 12:13:24 -0400
Source: partman-auto
Binary: partman-auto
Architecture: source all
Version: 31
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 partman-auto - Automatically partition storage devices (partman) (udeb)
Closes: 248278 251414 254935 261244 265295
Changes: 
 partman-auto (31) unstable; urgency=low
 .
   * Anton Zinoviev
     - second try: closes:  #261244
     - raise the maximal size for / in multi_user recipes (150->280MB).
       Thanks to Chris Walker, closes: #248278.
     - resipes.sh (setup_partition): allow creation of subdirectories in
       the partition directories.
     - add "noatime" mount option in the atomic and home recipes.  Thanks
       to Ryan Underwood, closes: #265295
     - add mount options in the multi_user recipes:
          "nodev" and "noexec" for /boot,
          "nodev" for /usr,
          "nodev", "noexec", "usrquota" and "grpquota" for /var,
          "nodev", "nosuid", "usrquota" and "grpquota" for /tmp,
          "nodev", "nosuid", "usrquota" and "grpquota" for /home
     - move the swap between / and /home in the home recipes; reorder the
       partitions in the multi_user recipe so that swap is in the middle and
       the most often accessible partitions are around it:
       (/boot), /, /usr, /var, swap, /tmp, /home.
     - templates: rename the recipes:
          home:        Desktop machine
          multi_user:  Multi-user workstation
       Thanks to Margarita Manterola, closes: #251414
     - limit the maximum size of the swap to 3 times the available RAM but
       not less than 64 MB.  Thanks to Margarita Manterola, closes: #254935
     - README: document #261244 and #265290
   * Updated translations:
     - Arabic (ar.po) by Christian Perrier
     - Bulgarian (bg.po) by Ognyan Kulev
     - Bosnian (bs.po) by Safir Å eÄ?eroviÄ?
     - Catalan (ca.po) by Jordi Mallach
     - Czech (cs.po) by Miroslav Kure
     - Welsh (cy.po) by Dafydd Harries
     - Danish (da.po) by Claus Hindsgaul
     - Greek, Modern (1453-) (el.po) by Greek Translation Team
     - Basque (eu.po) by Piarres Beobide Egaña
     - French (fr.po) by French Team
     - Hebrew (he.po) by Lior Kaplan
     - Croatian (hr.po) by Krunoslav Gernhard
     - Japanese (ja.po) by Kenshi Muto
     - Lithuanian (lt.po) by KÄ?stutis BiliÅ«nas
     - Latvian (lv.po) by Aigars Mahinovs
     - Bøkmal, Norwegian (nb.po) by Bjørn Steensrud
     - Dutch (nl.po) by Bart Cornelis
     - Norwegian Nynorsk (nn.po) by HÃ¥vard Korsvoll
     - Polish (pl.po) by Bartosz Fenski
     - Portuguese (pt.po) by Miguel Figueiredo
     - Portuguese (Brazil) (pt_BR.po) by André Luís Lopes
     - Russian (ru.po) by Yuri Kozlov
     - Turkish (tr.po) by Recai OktaÅ?
     - Ukrainian (uk.po) by Eugeniy Meshcheryakov
     - Simplified Chinese (zh_CN.po) by Carlos Z.F. Liu
Files: 
 6df3496488faf853d7a38ebc557d97ed 624 debian-installer standard partman-auto_31.dsc
 d163ee4cf16079542820dce48d649d10 53791 debian-installer standard partman-auto_31.tar.gz
 47aefbf4630a876d876e22fd17082c6c 35052 debian-installer standard partman-auto_31_all.udeb
package-type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBM1LS2tp5zXiKP0wRAi2XAJ9b1lJByj1qZPO4Vw/skmjqnKEwSwCdH2LO
BAZncm8LYBJw4wMhIi+k07Y=
=WPP9
-----END PGP SIGNATURE-----



Reply to: