Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 809190] New: AutoYast suggest wrong swap partition size when using <size>auto</size>
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 13 Mar 2013 15:55:48 +0000
  • Message-id: <bug-809190-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=809190

https://bugzilla.novell.com/show_bug.cgi?id=809190#c0


Summary: AutoYast suggest wrong swap partition size when using
<size>auto</size>
Classification: openSUSE
Product: openSUSE 12.3
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: AutoYaST
AssignedTo: fehr@xxxxxxxx
ReportedBy: joschibrauchle@xxxxxx
QAContact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML,
like Gecko) Chrome/25.0.1364.172 Safari/537.22

Using <size>auto</size> for the swap partition of a machine with **8GB** RAM
results in AutoYast suggesting a swap partition of size **2GB**. With such a
setting, hibernation will not be possible. I would assume that a size of at
least the amount of RAM would be suggested.

This is part of the XML I'm using:
----------------
<partitioning config:type="list">
<drive>
<device>/dev/system</device>
<partitions config:type="list">
...some partitions stripped, there should be space available in the device...
<partition>
<create config:type="boolean">false</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">swap</filesystem>
<filesystem_id config:type="integer">130</filesystem_id>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<lv_name>swap</lv_name>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">130</partition_id>
<partition_nr config:type="integer">6</partition_nr>
<resize config:type="boolean">false</resize>
<size>auto</size>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
</drive>
</partitioning>
----------------

Reproducible: Always

Steps to Reproduce:
1. Use <size>auto</size> on a swap partition

Actual Results:
For a testmachine with 8GB RAM, 2GB swap was suggested.

Expected Results:
A swap size of at least the size of the installed RAM should be suggested.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >