linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Peter Flass <Peter_Flass@Yahoo.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Cannot access logical volume (open count=1)
Date: Thu, 10 Feb 2011 16:14:22 -0500	[thread overview]
Message-ID: <4D54552E.6070202@Yahoo.com> (raw)

I'm truly sorry to bother the developers' list with this question, but 
I've searched and can't find an ansewr that works.  A system crash seems 
to have corrupted something in my fedora system.  I boot to a rescue CD 
and look thru LVM.  The disk (sdb) has one vg and three lv's on it.  
Call the vg vg_xxx, the lv's are lv_boot (ext3, I believe), lv_swap (no 
fs) and lv_home (ext4).  I can't fsck (e2fsck) lv_home or do anything 
else with it, LVM says it's open count=1 where the open count of the 
other two lv's is zero.

I can't find who has it open.  /proc/mounts shows /dev/sdb1 mounted on 
/media/usb0, when I umount  it (either by mount point or device) it 
disappears, but the lv still shows open, and as a result I am unable to 
do anything with it.  lsof also shows nothing open that resembles this 
lv.  I can inactivate the other two lvs in this vg, but not lv_home.

What can I do to fix this problem?

             reply	other threads:[~2011-02-10 21:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 21:14 Peter Flass [this message]
2011-02-10 22:53 ` [linux-lvm] Cannot access logical volume (open count=1) Ray Morris
2011-02-11  1:48   ` Peter Flass
2011-02-14 10:19 ` Bryn M. Reeves

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=4D54552E.6070202@Yahoo.com \
    --to=peter_flass@yahoo.com \
    --cc=linux-lvm@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).