http://bugzilla.novell.com/show_bug.cgi?id=539521
http://bugzilla.novell.com/show_bug.cgi?id=539521#c5
Thomas Fehr changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fehr@novell.com
--- Comment #5 from Thomas Fehr 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.