All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Thornber <thornber@btconnect.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] more snapshot probs
Date: Mon, 30 Jul 2001 10:54:36 +0100	[thread overview]
Message-ID: <20010730105436.D562@btconnect.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0107281511250.5058-100000@greebo.foobarhouse.com>; from jamesp@foobarhouse.com on Sat, Jul 28, 2001 at 03:14:23PM +0100

All,

Some of you are using PV's that have badly aligned PE's.  The upshot
of this is that you will not be able take snapshots to or from one of
these PV's :(

The thing to watch for, which indicates this problem, is a message of
this form:

> /dev/vg00/lvol6 on /dev/vg00/snap: couldn't prepare kiovec blocks (start
> probably isn't block aligned)

Beta8 creates correctly aligned PV's.  At the moment to fix this you
will have to pvmove your data onto a correctly aligned PV - I think
this is the safest way.

We're very sorry about this problem.  It looks like some of you are
going to have to temporarily borrow another disk to do some shuffling.

- Joe

On Sat, Jul 28, 2001 at 03:14:23PM +0100, James Pattinson wrote:
> Hi
> 
> I've applied the recommended patches to 2.4.7 - beta8, VFS lock, and patch
> in previous emails.
> 
> Now, when I create a snapshot LV:
> 
> lvcreate -s -L500 -nsnap /dev/vg00/lvol6
> (where /dev/vg00/lvol6 is 3GB striped across 2 PVs)
> 
> I get these 2 messages in my logs a few seconds later:
> 
> Jul 28 15:10:05 greebo kernel: lvm -- _pv_get_number failed for rdev = 0
> Jul 28 15:10:05 greebo kernel: lvm -- giving up to snapshot
> /dev/vg00/lvol6 on /dev/vg00/snap: couldn't prepare kiovec blocks (start
> probably isn't block aligned)
> 
> THen when I try to mount:
> 
> [root@greebo /root]# mount /dev/vg00/snap /mnt/homesnap/
> /dev/vg00/snap: Input/output error
> mount: permission denied
> 
> And in the log:
> 
> Jul 28 15:13:28 greebo kernel: lvm - lvm_map: ll_rw_blk for inactive LV
> /dev/vg00/snap
> 
> Any ideas?
> 
> Cheers!
> 
> James
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

      reply	other threads:[~2001-07-30  9:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-28 14:14 [linux-lvm] more snapshot probs James Pattinson
2001-07-30  9:54 ` Joe Thornber [this message]

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=20010730105436.D562@btconnect.com \
    --to=thornber@btconnect.com \
    --cc=linux-lvm@sistina.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.