Bug 6964 - umount of Reiser filesystem doesn't free device
Summary: umount of Reiser filesystem doesn't free device
Status: RESOLVED DUPLICATE of bug 6844
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-06 10:59 CEST by Franz Holzinger
Modified: 2013-08-29 17:32 CEST (History)
2 users (show)

See Also:
Source RPM: util-linux-2.21.1-1.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Franz Holzinger 2012-08-06 10:59:45 CEST
I want to change the filesystem of a partition /dev/sda5.
Then I select ext4 or ReiserFs. This is also shown correctly in the display. THe formatting of the partition always fails. I can press to save the new fstab. However the file system is always set to ext2. 


And it then fails to rewrite the boot manager. I have written a separate bug report for this.
Comment 1 Dave Hodgins 2012-08-10 00:03:04 CEST
Is this during installation?  If so, which iso image is being used?

CC: (none) => davidwhodgins

Comment 2 Franz Holzinger 2012-08-10 06:34:08 CEST
This is with an already installed Mageia 2 x86_64 from the DVD .
Comment 3 Dave Hodgins 2012-08-10 10:01:01 CEST
Bug confirmed.  I have now recreated the problem with format failed,
but it isn't a bug in diskdrake.  It's either in util-linux or
the kernel.

[root@x2 ~]# grep sda9 /proc/mounts
/dev/sda9 /test reiserfs rw,noatime,notail,user_xattr 0 0
[root@x2 ~]# umount /dev/sda9
[root@x2 ~]# mkfs.ext4 /dev/sda9
mke2fs 1.42.2 (27-Mar-2012)
/dev/sda9 is apparently in use by the system; will not make a filesystem here!
[root@x2 ~]# grep sda9 /proc/mounts
[root@x2 ~]#

From uname -a
3.3.6-desktop-2.mga2
Same thing happens with 3.3.8.

Can someone from the bugsquad assign this to the util-linux
maintainer.

Source RPM: (none) => util-linux-2.21.1-1.mga2.src.rpm

Comment 4 Dave Hodgins 2012-08-10 10:30:24 CEST
More info, and why I didn't see it before ...

[root@x2 ~]# grep sda9 /proc/mounts
/dev/sda9 /test ext3 rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered 0 0
[root@x2 ~]# umount /dev/sda9
[root@x2 ~]# mkfs.ext4 /dev/sda9
mke2fs 1.42.2 (27-Mar-2012)
Discarding device blocks: done
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
325760 inodes, 1301834 blocks
65091 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1333788672
40 block groups
32768 blocks per group, 32768 fragments per group
8144 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

Only seems to be a problem umounting reiserfs filesystems.
Comment 5 Dave Hodgins 2012-08-10 10:31:25 CEST
Changing the summary to reflect the problem.

Summary: drakdisk fails to change the file system => umount of resierfs filesystem doesn't free device

Franz Holzinger 2012-08-10 10:40:45 CEST

Summary: umount of resierfs filesystem doesn't free device => umount of Reiser filesystem doesn't free device

Comment 6 Manuel Hiebel 2012-10-26 22:57:31 CEST
duplicate of bug 6844 ?
Comment 7 Samuel Verschelde 2013-08-29 17:32:24 CEST
(In reply to Manuel Hiebel from comment #6)
> duplicate of bug 6844 ?

likely

*** This bug has been marked as a duplicate of bug 6844 ***

Status: NEW => RESOLVED
CC: (none) => stormi
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.