Bug 617104 - unable to umount btrfs based filesystems
Summary: unable to umount btrfs based filesystems
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel   
(Show other bugs)
Version: 6.0
Hardware: x86_64 Linux
Target Milestone: rc
: ---
Assignee: Josef Bacik
QA Contact: Red Hat Kernel QE team
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-22 08:00 UTC by Lubos Kocman
Modified: 2010-08-30 15:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-08-30 15:01:25 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
output of strace umount -f /home (5.97 KB, application/octet-stream)
2010-07-22 10:49 UTC, Lubos Kocman
no flags Details
dmesg output taken after executing umount -f /home (73.41 KB, application/octet-stream)
2010-07-22 10:50 UTC, Lubos Kocman
no flags Details

Description Lubos Kocman 2010-07-22 08:00:56 UTC
Description of problem:

I using RHEL6 (Clean install of RHEL6-20100715.x86_64 + updates) with btrfs / and /home.

In last few days I found out that halt is hanging on umount -f /home /boot.

So I tried out to umount filesystem from console (no process of lkocman should be running) manually but it failed.

I'm using following layout:

(T400 -- one disk)

rootvg ->
          lv_boot (ext4) /boot
          lv_root (btrfs) /
          lv_home (btrfs) /home -> 
                                  btrfs subvolume /home/lkocman

subvolume /home/lkocman contains also snapshots of /home/lkocman

Version-Release number of selected component (if applicable):


How reproducible:

Obtain machine with the same layout as I have

Steps to Reproduce:
1. umount -f /home
Actual results:


Expected results:

Filesystem should be unmounted

Additional info:

Comment 2 Lubos Kocman 2010-07-22 10:49:19 UTC
Created attachment 433660 [details]
output of strace umount -f /home

umount -f /home is not hanging any more ... but it's showing that device is busy .... fuser /home is showing that no process is using /home

Comment 3 Lubos Kocman 2010-07-22 10:50:02 UTC
Created attachment 433661 [details]
dmesg output taken after executing umount -f /home

Comment 6 Lubos Kocman 2010-08-30 15:01:25 UTC
This problem no longer occur in 2.6.32-70.el6.x86_64. So I believe that it was fixed somewhere by upstream.

Closing as current-release

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