[Bug 539521] New: installer shows wrong partition size while formatting swap partition
http://bugzilla.novell.com/show_bug.cgi?id=539521 Summary: installer shows wrong partition size while formatting swap partition Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 7 Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: patz1983@googlemail.com QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.13) Gecko/2009080200 SUSE/3.0.13-0.1 Firefox/3.0.13 i was installing opensuse 11.2 milestone 7. the hdd i used was a western digital wd600ab-32cza0 . the drive is pata and 60GB in size (55.7 if you do your maths correct). the drive contained a single ext3 partition before the installation. i didn't alter the partition setup suggestet by the installer. when the installer did the formatting of the swap partition, the screen output read something like: formatting swap partition (55.7 GB) the size of the swap partition is <2GB (don't remember the exact size) and it is apparently formatted correctly. the size of root and home partition were displayed correctly. its not really a major bug, but might be a bit scary if you have other partitions on the drive and don't know if your data is gone. Reproducible: Didn't try Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539521
User aj@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539521#c1
Andreas Jaeger
http://bugzilla.novell.com/show_bug.cgi?id=539521
Martin Vidner
http://bugzilla.novell.com/show_bug.cgi?id=539521
User patz1983@googlemail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539521#c2
Matthias Patz
http://bugzilla.novell.com/show_bug.cgi?id=539521
User aschnell@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539521#c3
Arvin Schnell
http://bugzilla.novell.com/show_bug.cgi?id=539521
User aschnell@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=539521#c4
Arvin Schnell
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c5
Thomas Fehr
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c6
Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c7
Thomas Fehr
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c8
Arvin Schnell
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c9
Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c10
Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c11
--- Comment #11 from Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c12
--- Comment #12 from Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c13
Jeff Mahoney
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c14
--- Comment #14 from Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c15
--- Comment #15 from Thomas Fehr
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c16
--- Comment #16 from Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c22
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c26
Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c27
--- Comment #27 from Petr Uzel
Unfortunately we will completely loose the ability to modify partitions on a disk where at least one partition is in use. This will make a lot of usage scenarios of YaST2 in installed systems impossible and it would also most probably break installation scenarios like having installation sources on the disk.
Yes, that's correct. As pointed out in [1], can't we use addpart(8), delpart(8) instead? [1] http://www.mail-archive.com/parted-devel@lists.alioth.debian.org/msg02826.ht... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c28
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c29
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c30
Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c31
--- Comment #31 from Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c32
--- Comment #32 from Thomas Fehr
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c33
--- Comment #33 from Petr Uzel
In libstorage we sent a signal SIGSTOP to process /usr/sbin/hald before executing parted and sent SIGCONT after parted is finished. Maybe this would also be an option for parted. I added this to fix bug #224516.
This does not help in case of two subsequent calls to parted like in comment #31 (SIGSTOPping hald does not make it release the device => EBUSY). hald would have to be stopped before the first call and resumed again after the second call - not doable in parted itself (I assume libstorage stops/starts hald before/after _each_ call to parted, right?). Wrapping multiple subsequent calls to parted in libstorage with hald stop/restart should work. Is that an option?
What tests did you do that made you reopen the bug in comment #30?
The one from comment #31.
If you were using yast2 partitioning the problem should have been fixed.
IMHO no - quick subsequent calls to parted could still fail. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c34
--- Comment #34 from Thomas Fehr
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c35
--- Comment #35 from Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c36
--- Comment #36 from Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c37
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c38
Petr Uzel
i saw checkins from 26th... are they ok?
Yes. For 11.2, I'd like to include also fix for #567652, therefore there are two changelog entries. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c40
--- Comment #40 from Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c44
Jim Omura
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c47
--- Comment #47 from Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c48
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c49
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c50
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c51
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c52
Petr Uzel
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c54
--- Comment #54 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com