Mailinglist Archive: opensuse-bugs (10152 mails)
| < Previous | Next > |
[Bug 539521] installer shows wrong partition size while formatting swap partition
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Mon, 23 Nov 2009 14:46:45 +0000
- Message-id: <20091123144645.857CCCC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c5
Thomas Fehr <fehr@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fehr@xxxxxxxxxx
--- Comment #5 from Thomas Fehr <fehr@xxxxxxxxxx> 2009-11-23 14:46:44 UTC ---
I can reproduce the problem without needing to use YaST2 but only by calling
parted from the commandline. At the beginning I have a disk with an empty
partition table, the I use parted to create a partition there. This partition
correctly shows up in /proc/partitions. Afterwards I use parted to remove the
newly created partition again. This succeeds in parted but the removed
partition
still shows up in /proc/partition. Only after explicitely telling the kernel to
re-read the partition table on the disk the removed partition vanishes from
/proc/partitions. I can reproduce the problem with openSuSE 11.2 on two
different machine one with kernel 2.6.31.3-1-default and the other one with
kernel 2.6.31.5-0.1-default.
See following console log:
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
Lagrange:~ # parted /dev/sdb mkpart primary 0 100000
Information: You may need to update /etc/fstab.
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
8 17 97656250 sdb1
Lagrange:~ # parted /dev/sdb rm 1
Information: You may need to update /etc/fstab.
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
8 17 97656250 sdb1
Lagrange:~ # blockdev --rereadpt /dev/sdb
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
Lagrange:~ #
--
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#c5
Thomas Fehr <fehr@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fehr@xxxxxxxxxx
--- Comment #5 from Thomas Fehr <fehr@xxxxxxxxxx> 2009-11-23 14:46:44 UTC ---
I can reproduce the problem without needing to use YaST2 but only by calling
parted from the commandline. At the beginning I have a disk with an empty
partition table, the I use parted to create a partition there. This partition
correctly shows up in /proc/partitions. Afterwards I use parted to remove the
newly created partition again. This succeeds in parted but the removed
partition
still shows up in /proc/partition. Only after explicitely telling the kernel to
re-read the partition table on the disk the removed partition vanishes from
/proc/partitions. I can reproduce the problem with openSuSE 11.2 on two
different machine one with kernel 2.6.31.3-1-default and the other one with
kernel 2.6.31.5-0.1-default.
See following console log:
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
Lagrange:~ # parted /dev/sdb mkpart primary 0 100000
Information: You may need to update /etc/fstab.
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
8 17 97656250 sdb1
Lagrange:~ # parted /dev/sdb rm 1
Information: You may need to update /etc/fstab.
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
8 17 97656250 sdb1
Lagrange:~ # blockdev --rereadpt /dev/sdb
Lagrange:~ # cat /proc/partitions | grep sdb
8 16 244198584 sdb
Lagrange:~ #
--
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.
| < Previous | Next > |