All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Flass <Peter_Flass@Yahoo.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Ray Morris <support@bettercgi.com>
Subject: Re: [linux-lvm] Cannot access logical volume (open count=1)
Date: Thu, 10 Feb 2011 20:48:54 -0500	[thread overview]
Message-ID: <4D549586.9010302@Yahoo.com> (raw)
In-Reply-To: <20110210165325.27b346b5@bettercgi.com>

I'm learning as I go here, I had never heard of Linux LVM until 
yesterday.  This is a plain vanilla fedora installation.  /dev/sdb2 
contains the root and swap logical volumes.  /dev/sdb1 is home.  kpartx 
-a /dev/sdb creates /dev/sdb1 and /dev/sdb2,
and kpartx -d /dev/sdb deletes both of them.  Neither state made a bit 
of difference as far as accessing 'home'.

Pvscan shows one pv: /dev/sdb2.

BTW, I forgot to mention that I'm booting from the latest Ubuntu rescure 
remix  CD (10.10).  My Fedora CD won't boot - it loops during boot.  
Someone suggested Knoppix, but that loops also.


On 2/10/2011 5:53 PM, Ray Morris wrote:
>    Check whether the LV has a partition on it.
> (fdisk -l /dev/vg*/home)  If so, use kpartx -dvv
> to close it.
>
>> The disk (sdb) has one vg and three lv's on it
>> /proc/mounts shows /dev/sdb1 mounted
>    If /dev/sdb1 is mounted, does that mean there's
> a /dev/sdb2 which is a PV?

  reply	other threads:[~2011-02-11  1:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 21:14 [linux-lvm] Cannot access logical volume (open count=1) Peter Flass
2011-02-10 22:53 ` Ray Morris
2011-02-11  1:48   ` Peter Flass [this message]
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=4D549586.9010302@Yahoo.com \
    --to=peter_flass@yahoo.com \
    --cc=linux-lvm@redhat.com \
    --cc=support@bettercgi.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 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.