root on lvm
i am trying to mount / on a logical volume with reiserfs. my initrd appears to be loading all of the appropriate modules (lvm-mod, dm-mod, reiserfs) but i get the following error when the initrd exits and tries to mount /.
device-mapper: unknown block ioctl 0x5310
sh-2021: reiserfs_read_super: can not find reiserfs on device mapper (254,1)
is this related to reiserfs or lvm? or my initrd?
using:
lvm-2.00.07
reiserfs-3.6.9-37
suse-9.0
kernel-2.4.21-144-athlon
Quoted 9 lines · Rich Turner
i am trying to mount / on a logical volume with reiserfs. my initrd appears to be loading all of the appropriate modules (lvm-mod, dm-mod, reiserfs) but i get the following error when the initrd exits and tries to mount /.
device-mapper: unknown block ioctl
0x5310
sh-2021:reiserfs_read_super: can not find reiserfs on device mapper (254,1)
Quoted 7 lines
is this related to reiserfs or lvm? or my initrd?
using:
lvm-2.00.07
reiserfs-3.6.9-37
suse-9.0
kernel-2.4.21-144-athlon
You likely are hitting a problem with the device numbering for DM devices. The kernel dynamically allocates major and minor numbers for the DM, so booting to a different kernel can renumber your DM devices. Have a look at the lvm2create_initrd script that's been posted on this list several times to see how I (and others) have handled this situation. It's also available here:
http://poochiereds.net/svn/lvm2create_initrd
-- Jeff
Hello,
I experienced also difficulties with / and lvm2.
configuration:
MANDRAKE 10.0,
kernel 2.6.3,
lilo 22.5.8,
reiserfs 3.6.11 ?
lvm 2.00.08
The message I have got is something like lilo does not handle device type 0x1f00
Can not ensure that it is the exact message and type.
I understood that the version of lilo I use can not handle lvm2 and reiserfs partition for / during boot ! And especially can not get boot image in /boot.
Shame :(
regards
Pascal Garcia
Le ven 19/03/2004 � 15:19, Jeffrey Layton a �crit :
Quoted 35 lines · Rich Turner
Quoted 9 lines
i am trying to mount / on a logical volume with reiserfs. my initrd appears to be loading all of the appropriate modules (lvm-mod, dm-mod, reiserfs) but i get the following error when the initrd exits and tries to mount /.
device-mapper: unknown block ioctl
0x5310
sh-2021:reiserfs_read_super: can not find reiserfs on device mapper (254,1)Quoted 7 lines
is this related to reiserfs or lvm? or my initrd?
using:
lvm-2.00.07
reiserfs-3.6.9-37
suse-9.0
kernel-2.4.21-144-athlonYou likely are hitting a problem with the device numbering for DM devices. The kernel dynamically allocates major and minor numbers for the DM, so booting to a different kernel can renumber your DM devices. Have a look at the
lvm2create_initrdscript that's been posted on this list several times to see how I (and others) have handled this situation. It's also available here:http://poochiereds.net/svn/lvm2create_initrd
-- Jeff
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 12 lines · Garcia Pascal
Hello,
I experienced also difficulties with / and lvm2.
configuration:
MANDRAKE 10.0,
kernel 2.6.3,
lilo 22.5.8,
reiserfs 3.6.11 ?
lvm 2.00.08The message I have got is something like lilo does not handle device type
0x1f00
Quoted 8 lines
Can not ensure that it is the exact message and type.
I understood that the version of lilo I use can not handle lvm2 and reiserfs partition for / during boot ! And especially can not get boot image in /boot.
Shame :(
could you please give me some more useful details so this gets actually fixed?
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
My solution for this (so far) is to make a non-LVM2 /boot partition and store a kernel and initrd in that. You can then build everything else as a LVM partition. Perhaps when the available bootloaders become LVM2 aware we'll be able to do away with a seperate /boot, but for now it seems to be the best way to deal with it.
Cheers,
-- Jeff
Quoted 66 lines · Garcia Pascal
Hello,
I experienced also difficulties with / and lvm2.
configuration:MANDRAKE 10.0, kernel 2.6.3, lilo 22.5.8, reiserfs 3.6.11 ? lvm 2.00.08The message I have got is something like lilo does not handle device type
0x1f00Can not ensure that it is the exact message and type.
I understood that the version of lilo I use can not handle lvm2 and reiserfs partition for / during boot ! And especially can not get boot image in /boot.
Shame :(
regards
Pascal Garcia
Le ven 19/03/2004 � 15:19, Jeffrey Layton a �crit :
Quoted 27 lines · Rich Turner
Quoted 9 lines
i am trying to mount / on a logical volume with reiserfs. my initrd appears to be loading all of the appropriate modules (lvm-mod, dm-mod, reiserfs) but i get the following error when the initrd exits and tries to mount /.
device-mapper: unknown block ioctl
0x5310
sh-2021:reiserfs_read_super: can not find reiserfs on device mapper (254,1)Quoted 7 lines
is this related to reiserfs or lvm? or my initrd?
using:
lvm-2.00.07
reiserfs-3.6.9-37
suse-9.0
kernel-2.4.21-144-athlonYou likely are hitting a problem with the device numbering for DM devices. The kernel dynamically allocates major and minor numbers for the DM, so booting to a different kernel can renumber your DM devices. Have a look at the
lvm2create_initrdscript that's been posted on this list several times to see how I (and others) have handled this situation. It's also available here:Quoted 8 lines
-- Jeff
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 9 lines · Jeff Layton
My solution for this (so far) is to make a non-LVM2 /boot partition and store a kernel and initrd in that. You can then build everything else as a LVM partition. Perhaps when the available bootloaders become LVM2 aware we'll be able to do away with a seperate /boot, but for now it seems to be the best way to deal with it.
Cheers,
-- Jeff
Quoted 9 lines
Quoted 8 lines · Garcia Pascal
Hello,
I experienced also difficulties with / and lvm2.
configuration:MANDRAKE 10.0, kernel 2.6.3, lilo 22.5.8, reiserfs 3.6.11 ? lvm 2.00.08
lilo on mandrake 10.0 is lvm2 aware.
i don't know if there are reiserfs related problems that affect Pascal configuration.
L.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Hello
I do not know what the problem is.
May be the problem has nothing to see with lvm!
I reinstalled the system two times with the same problem. In fact there is a warning when configuration lilo at installation time.
As I did not have that much time to analyse and solve the problem (if I would have been able to), I just made a / reisefs partition, and the problem went away.
I have a remark on that, / partition in a logical volume without reiserfs (or a fs that can be resized without unmounting) is non sense for me, because one can not unmount / partition, and one of the interest of the lvm is to adapt the size of a partition when needed.
I have a spare disk and when I have some time and my General let me do it, I reinstall the system and write all the problems. May be this week-end.
regards
Pascal garcia
Le mar 23/03/2004 � 20:24, Luca Berra a �crit :
Quoted 25 lines · Jeff Layton
Quoted 9 lines
My solution for this (so far) is to make a non-LVM2 /boot partition and store a kernel and initrd in that. You can then build everything else as a LVM partition. Perhaps when the available bootloaders become LVM2 aware we'll be able to do away with a seperate /boot, but for now it seems to be the best way to deal with it.
Cheers,
-- JeffQuoted 9 lines
Quoted 8 lines · Garcia Pascal
Hello,
I experienced also difficulties with / and lvm2.
configuration:MANDRAKE 10.0, kernel 2.6.3, lilo 22.5.8, reiserfs 3.6.11 ? lvm 2.00.08lilo on mandrake 10.0 is lvm2 aware.
i don't know if there are reiserfs related problems that affect Pascal configuration.L.
CCCCContent-Length: 2035
Received: from ma8117exch002u.wins.lucent.com [152.148.8.136]
by localhost with IMAP (fetchmail-6.2.0) for stoffel@localhost (single-drop); Fri, 19 Mar 2004 15:49:24 -0500 (EST) Received: from horh1.emsr.lucent.com ([135.17.1.40]) by nj7460exch002h.wins.lucent.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id 15S1BF21; Fri, 19 Mar 2004 15:48:07 -0500 Received: from hoemail1.firewall.lucent.com (hoemail1.firewall.lucent.com [192.11.226.161]) by horh1.emsr.lucent.com (8.11.7+Sun/EMS-1.5 Solaris/emsr) id i2JKm7J02568 for ; Fri, 19 Mar 2004 14:48:07 -0600 (CST) Received: from hormel.redhat.com (hormel.redhat.com [209.132.177.30]) by hoemail1.firewall.lucent.com (Switch-2.2.8/Switch-2.2.8) with ESMTP id i2JKlw219595 for <[email protected]>; Fri, 19 Mar 2004 14:47:59 -0600 (CST) Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110]) by hormel.redhat.com (Postfix) with ESMTP id B069E72F0C; Fri, 19 Mar 2004 15:47:55 -0500 (EST) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.util.phx.redhat.com (8.12.10/8.12.10) with ESMTP id i2JKlrRV031002 for <[email protected]>; Fri, 19 Mar 2004 15:47:53 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id i2JKlrj26151 for <[email protected]>; Fri, 19 Mar 2004 15:47:53 -0500 Received: from mwinf0801.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.23]) by mx1.redhat.com (8.12.10/8.12.10) with SMTP id i2JKlpWA009561 for <[email protected]>; Fri, 19 Mar 2004 15:47:52 -0500 Received: from [192.168.0.34] (AVelizy-117-1-11-104.w81-251.abo.wanadoo.fr [81.251.9.104]) by mwinf0801.wanadoo.fr (SMTP Server) with ESMTP id EB23218000A2; Fri, 19 Mar 2004 21:47:45 +0100 (CET) In-Reply-To: <[email protected]> References: <1079478024.2432.9.camel@rich> <[email protected]>
Content-Type: text/plain; charset=ISO-8859-15
Message-Id: <1079729272.2126.12.camel@pascal>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.5
X-RedHat-Spam-Score: 0
X-BeenThere: [email protected]
X-Mailman-Version: 2.1.4
Precedence: junk
Reply-To: LVM general discussion and development <[email protected]>
List-Id: LVM general discussion and development <linux-lvm.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/linux-lvm>,
<mailto:[email protected]?subject=unsubscribe>
List-Archive: </archives/linux-lvm>
List-Post: <mailto:[email protected]>
List-Help: <mailto:[email protected]?subject=help>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/linux-lvm>,
<mailto:[email protected]?subject=subscribe>
Errors-To: [email protected]
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by horh1.emsr.lucent.com id i2JKm7J02568
X-Spam-Status: No, hits=-8.9 required=5.0
tests=BAYES_01,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
REPLY_WITH_QUOTES,USER_AGENT_XIMIAN
autolearn=ham version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
From: Garcia Pascal <[email protected]>
Sender: [email protected]
To: LVM general discussion and development <[email protected]>
Subject: Re: [linux-lvm] root on lvm
Date: Fri, 19 Mar 2004 21:47:52 +0100
Hello,
I experienced also difficulties with / and lvm2. configuration:=20
MANDRAKE 10.0,=20
kernel 2.6.3,=20
lilo 22.5.8,=20
reiserfs 3.6.11 ?
lvm 2.00.08
=20
The message I have got is something like lilo does not handle device type 0x1f00=20
Can not ensure that it is the exact message and type.
I understood that the version of lilo I use can not handle lvm2 and reiserfs partition for / during boot ! And especially can not get boot image in /boot.
Shame :(
regards
Pascal Garcia
Le ven 19/03/2004 =E0 15:19, Jeffrey Layton a =E9crit :
Quoted 3 lines · Rich Turner
Quoted 2 lines
i am trying to mount / on a logical volume with reiserfs. my initrd appears to be loading all of the appropriate modules (lvm-mod, =
dm-mod,
Quoted 1 line
Quoted 1 line
reiserfs) but i get the following error when the initrd exits and =
tries
Quoted 4 lines
Quoted 4 lines
to mount /.
=20
device-mapper: unknown block ioctl0x5310
sh-2021:reiserfs_read_super: can not find reiserfs on device =
mapper
Quoted 9 lines
Quoted 9 lines
(254,1)
=20
is this related to reiserfs or lvm? or my initrd?
using:
lvm-2.00.07
reiserfs-3.6.9-37
suse-9.0
kernel-2.4.21-144-athlon
=20
Quoted 4 lines
=20
You likely are hitting a problem with the device numbering for DM devices. The kernel dynamically allocates major and minor numbers for the DM, so booting to a different kernel can renumber your DM =
devices.
Quoted 1 line
Have a look at the
lvm2create_initrdscript that's been posted on =
this
Quoted 5 lines
list several times to see how I (and others) have handled this situation. It's also available here:
=20
http://poochiereds.net/svn/lvm2create_initrd
=20
Quoted 8 lines
-- Jeff
=20
=20
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Here is the test I have been doing. Sory but I have to translate the french message then they will bot be exact.
Installing Mandrake,
When partitionning I ask for personal, then for expert.
- hda1 : LVM for linuw.
- Add to vg rootvg
In root vg
- 1rst partition / 3000 mb reiserfs
- 2nd partition swap 1500 mb
- 3rd partition 15000 mb
rest of the vg unaffected.
All installation went well until stage : installation of boot manager. Then a window came saying
=================================
L'installation du programme d'amor�age a �chou�
pour la raison suivante
: Fatal: Sorry, don't know how to handle device 0xfe00
=================================
That means : The installation of the boot loader failed because of the following reason : Fatal ...
And of corse the system is not able to boot!
Regards
Pascal Garcia
Le mar 23/03/2004 � 21:21, Garcia Pascal a �crit :
Quoted 55 lines
Hello
I do not know what the problem is.
May be the problem has nothing to see with lvm!
I reinstalled0 the system two times with the same problem. In fact there is a warning when configuration lilo at installation time.As I did not have that much time to analyse and solve the problem (if I would have been able to), I just made a / reisefs partition, and the problem went away.
I have a remark on that, / partition in a logical volume without reiserfs (or a fs that can be resized without unmounting) is non sense for me, because one can not unmount / partition, and one of the interest of the lvm is to adapt the size of a partition when needed.
I have a spare disk and when I have some time and my General let me do it, I reinstall the system and write all the problems. May be this week-end.
regards
Pascal garciaLe mar 23/03/2004 � 20:24, Luca Berra a �crit :
Quoted 20 lines · Jeff Layton
Quoted 9 lines
My solution for this (so far) is to make a non-LVM2 /boot partition and store a kernel and initrd in that. You can then build everything else as a LVM partition. Perhaps when the available bootloaders become LVM2 aware we'll be able to do away with a seperate /boot, but for now it seems to be the best way to deal with it.
Cheers,
-- JeffQuoted 9 lines
Quoted 8 lines · Garcia Pascal
Hello,
I experienced also difficulties with / and lvm2.
configuration:MANDRAKE 10.0, kernel 2.6.3, lilo 22.5.8, reiserfs 3.6.11 ? lvm 2.00.08Quoted 5 lines
lilo on mandrake 10.0 is lvm2 aware.
i don't know if there are reiserfs related problems that affect Pascal configuration.L.
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Can somebody tell me ifthe problem I have encountered have been solved with new Mandrake 10.0 ?
ie :
1/ Unable to intall the / partition on a vg
2/ Resizing life of a reiserfs partition not functioning.
Thanks
Pascal Garcia
Le sam 03/04/2004 � 00:42, Garcia Pascal a �crit :
Quoted 92 lines
Here is the test I have been doing. Sory but I have to translate the french message then they will bot be exact.
Installing Mandrake,
When partitionning I ask for personal, then for expert.
- hda1 : LVM for linuw.
- Add to vg rootvg
In root vg
- 1rst partition / 3000 mb reiserfs
- 2nd partition swap 1500 mb
- 3rd partition 15000 mbrest of the vg unaffected.
All installation went well until stage : installation of boot manager. Then a window came saying
=================================
L'installation du programme d'amor�age a �chou�
pour la raison suivante
: Fatal: Sorry, don't know how to handle device0xfe00
=================================That means : The installation of the boot loader failed because of the following reason : Fatal ...
And of corse the system is not able to boot!
Regards
Pascal Garcia
Le mar 23/03/2004 � 21:21, Garcia Pascal a �crit :
Quoted 48 lines
Hello
I do not know what the problem is.
May be the problem has nothing to see with lvm!
I reinstalled0 the system two times with the same problem. In fact there is a warning when configuration lilo at installation time.As I did not have that much time to analyse and solve the problem (if I would have been able to), I just made a / reisefs partition, and the problem went away.
I have a remark on that, / partition in a logical volume without reiserfs (or a fs that can be resized without unmounting) is non sense for me, because one can not unmount / partition, and one of the interest of the lvm is to adapt the size of a partition when needed.
I have a spare disk and when I have some time and my General let me do it, I reinstall the system and write all the problems. May be this week-end.
regards
Pascal garciaLe mar 23/03/2004 � 20:24, Luca Berra a �crit :
Quoted 24 lines · Jeff Layton
Quoted 9 lines
My solution for this (so far) is to make a non-LVM2 /boot partition and store a kernel and initrd in that. You can then build everything else as a LVM partition. Perhaps when the available bootloaders become LVM2 aware we'll be able to do away with a seperate /boot, but for now it seems to be the best way to deal with it.
Cheers,
-- JeffQuoted 9 lines
Quoted 8 lines · Garcia Pascal
Hello,
I experienced also difficulties with / and lvm2.
configuration:MANDRAKE 10.0, kernel 2.6.3, lilo 22.5.8, reiserfs 3.6.11 ? lvm 2.00.08lilo on mandrake 10.0 is lvm2 aware.
i don't know if there are reiserfs related problems that affect Pascal configuration.Quoted 7 lines
Quoted 1 line
L.
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 3 lines · Pascal Garcia dld
Can somebody tell me ifthe problem I have encountered have been solved with new Mandrake 10.0 ?
ie : 1/ Unable to intall the / partition on a vg
i am positive this was fixed.
Quoted 1 line
2/ Resizing life of a reiserfs partition not functioning.
i am not sure about this, since i don't use reiserfs, you should check with http://www.mandrakeexpert.com/ or
http://bugs.mandrakelinux.com/
Quoted 3 lines
Thanks
Pascal Garcia
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Thank-you for that information.
I will then download the last Mandrake 10 version and install it. Thanks again
Le ven 16/04/2004 � 09:04, Luca Berra a �crit :
Quoted 13 lines · Pascal Garcia dld
Quoted 4 lines
Can somebody tell me ifthe problem I have encountered have been solved with new Mandrake 10.0 ?
ie :
1/ Unable to intall the / partition on a vgi am positive this was fixed.
Quoted 1 line
2/ Resizing life of a reiserfs partition not functioning.
i am not sure about this, since i don't use reiserfs, you should check with http://www.mandrakeexpert.com/ or
http://bugs.mandrakelinux.com/Quoted 3 lines
Thanks
Pascal Garcia
Hello,
last news,
it works !
regards
Pascal Garcia
Le dim 18/04/2004 � 09:07, Pascal Garcia dld a �crit :
Quoted 24 lines
Thank-you for that information.
I will then download the last Mandrake 10 version and install it. Thanks againLe ven 16/04/2004 � 09:04, Luca Berra a �crit :
Quoted 5 lines · Pascal Garcia dld
Quoted 4 lines
Can somebody tell me ifthe problem I have encountered have been solved with new Mandrake 10.0 ?
ie :
1/ Unable to intall the / partition on a vgQuoted 8 lines
i am positive this was fixed.
Quoted 1 line
2/ Resizing life of a reiserfs partition not functioning.
i am not sure about this, since i don't use reiserfs, you should check with http://www.mandrakeexpert.com/ or
http://bugs.mandrakelinux.com/Quoted 3 lines
Thanks
Pascal Garcia
_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/