All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olivier Bonvalet <btrfs.list@daevel.fr>
To: linux-btrfs@vger.kernel.org
Subject: Can't umount a read-only FS ?
Date: Wed, 15 Aug 2012 19:28:16 +0200	[thread overview]
Message-ID: <502BDC30.8060409@daevel.fr> (raw)

Hi,

I have a strange problem with a btrfs partition : after an error, btrfs was forced readonly.

So I try to umount it, to launch btrfsck, but it doesn't work :

root! sofia:~# umount /backup/
root! sofia:~# btrfsck /dev/vg-sofia/backup
/dev/vg-sofia/backup is currently mounted. Aborting.
root! sofia:~# umount /backup/
umount: /backup/: not mounted
root! sofia:~# btrfsck /dev/vg-sofia/backup
/dev/vg-sofia/backup is currently mounted. Aborting.
root! sofia:~#



And I can't remount it :

root! sofia:~# mount /backup/
mount: /dev/mapper/vg--sofia-backup already mounted or /backup busy



Or access to the content :

root! sofia:~# ls /backup/
root! sofia:~#




It's on a v3.4.7 kernel, with btrfs-tools version 0.19+20120328-7 (from Debian unstable).

What should I do ? Reboot ?


Thanks,

Olivier

             reply	other threads:[~2012-08-15 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15 17:28 Olivier Bonvalet [this message]
2012-08-15 17:32 ` Can't umount a read-only FS ? Olivier Bonvalet
2012-08-15 17:43   ` David Sterba
2012-08-15 20:23     ` Olivier Bonvalet
2012-08-15 22:29 ` [solved] " Olivier Bonvalet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502BDC30.8060409@daevel.fr \
    --to=btrfs.list@daevel.fr \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.