RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 617104 - unable to umount btrfs based filesystems
Summary: unable to umount btrfs based filesystems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: x86_64
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Josef Bacik
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2010-08-30 15:01:25 UTC
Target Upstream Version:
Embargoed:


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):

util-linux-ng-2.17.2-5.el6.x86_64
btrfs-progs-0.19-11.el6.x86_64
kernel-2.6.32-44.1.el6.x86_64


How reproducible:

Obtain machine with the same layout as I have

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

Hangs



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.