* [linux-lvm] LVM2 on dmraid -- can't boot
@ 2006-07-09 18:15 David Abrahams
2006-08-14 14:24 ` Greg Hartzog
0 siblings, 1 reply; 2+ messages in thread
From: David Abrahams @ 2006-07-09 18:15 UTC (permalink / raw)
To: linux-lvm
When building the new system installation from a liveCD, I can easily
create an LVM2 filesystem on top of a dmraid (FakeRaid) 1 array, and
the filesystem works great. However, when booting from a primary
physical (non-LVM) partition on the dmraid array, only that partition
seems to mount properly; When I try to mount any of the LVM
partitions, all I see in them is "lost+found." Naturally, the boot
process fails at that point.
http://article.gmane.org/gmane.linux.ataraid/1989
illustrates my situation.
The two details not mentioned there:
1. When mounting any partition (LVM or not), I get 'cramfs: wrong magic'
2. I see the following when I do dmraid -ay
[ 2881.836361] attempt to access beyond end of device
[ 2881.836406] sda: rw=0, want=9767777280, limit=876773168
[ 2881.836361] attempt to access beyond end of device
[ 2881.836406] sdb: rw=0, want=9767777280, limit=876773168
Can anyone offer help?
Thanks!
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
^ permalink raw reply [flat|nested] 2+ messages in thread* RE: [linux-lvm] LVM2 on dmraid -- can't boot
2006-07-09 18:15 [linux-lvm] LVM2 on dmraid -- can't boot David Abrahams
@ 2006-08-14 14:24 ` Greg Hartzog
0 siblings, 0 replies; 2+ messages in thread
From: Greg Hartzog @ 2006-08-14 14:24 UTC (permalink / raw)
To: 'LVM general discussion and development'
Hello there David.
Several things to check.
First, do you have LVM2 support in the kernel at time of boot? Either by
having modules which get carried in the initial RAM disk and then get loaded
when the kernel first boots or by compiling them in.
Second, do you have DM-RAID support in the kernel at time of boot? Same
note as above for how to get there.
Third, do you have someplace where the kernel and initial RAM disk live that
is either on RAID-1 or not protected at all?
Fourth, which boot loader as you using? LILO can be fooled into handling
getting the kernel and initial RAM disk from inside an LV, GRUB can not be
fooled like that.
Fifth, since I assume this is Intel based, you still need the kernel and
initial RAM disk to reside on the first section of the physical disks due to
hardware boot logic issues (INT 13 things I think).
I have a number of systems running LVM2 on top of soft RAID, using LILO to
boot. My system volumes have 2 paritions, one for "/boot" and then
everything else. All filesystems reside on LVs, including swap and "/". So
I know this will work.
Give me a shout back if you still having issues.
Thanks!
-----Original Message-----
From: linux-lvm-bounces@redhat.com [mailto:linux-lvm-bounces@redhat.com] On
Behalf Of David Abrahams
Sent: Sunday, July 09, 2006 2:09 PM
To: linux-lvm@redhat.com
Subject: [linux-lvm] LVM2 on dmraid -- can't boot
When building the new system installation from a liveCD, I can easily
create an LVM2 filesystem on top of a dmraid (FakeRaid) 1 array, and
the filesystem works great. However, when booting from a primary
physical (non-LVM) partition on the dmraid array, only that partition
seems to mount properly; When I try to mount any of the LVM
partitions, all I see in them is "lost+found." Naturally, the boot
process fails at that point.
http://article.gmane.org/gmane.linux.ataraid/1989
illustrates my situation.
The two details not mentioned there:
1. When mounting any partition (LVM or not), I get 'cramfs: wrong magic'
2. I see the following when I do dmraid -ay
[ 2881.836361] attempt to access beyond end of device
[ 2881.836406] sda: rw=0, want=9767777280, limit=876773168
[ 2881.836361] attempt to access beyond end of device
[ 2881.836406] sdb: rw=0, want=9767777280, limit=876773168
Can anyone offer help?
Thanks!
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-14 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-09 18:15 [linux-lvm] LVM2 on dmraid -- can't boot David Abrahams
2006-08-14 14:24 ` Greg Hartzog
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).