* [linux-lvm] more snapshot probs
@ 2001-07-28 14:14 James Pattinson
2001-07-30 9:54 ` Joe Thornber
0 siblings, 1 reply; 2+ messages in thread
From: James Pattinson @ 2001-07-28 14:14 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] more snapshot probs
2001-07-28 14:14 [linux-lvm] more snapshot probs James Pattinson
@ 2001-07-30 9:54 ` Joe Thornber
0 siblings, 0 replies; 2+ messages in thread
From: Joe Thornber @ 2001-07-30 9:54 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-07-30 9:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-28 14:14 [linux-lvm] more snapshot probs James Pattinson
2001-07-30 9:54 ` Joe Thornber
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.