* [linux-lvm] LVM and devfs
@ 2001-02-27 21:23 Jason Walker
2001-02-28 12:27 ` Heinz J. Mauelshagen
0 siblings, 1 reply; 10+ messages in thread
From: Jason Walker @ 2001-02-27 21:23 UTC (permalink / raw)
To: LVM Mailing List
[-- Attachment #1: Type: TEXT/PLAIN, Size: 349 bytes --]
Hello all,
I have a few errros on boot that are generated by devfs, as much as I can
figure. it doesn't like the fact that LVM creates devices or something. I
have attacked a small file that contains the errors. Everything *works*
fine, but I still don't like seeing errors spewed on bootup. Any help
woudl be greatly appreciated. TIA!
RegEx
[-- Attachment #2: Type: TEXT/PLAIN, Size: 2107 bytes --]
Setting up LVM Volume Groups...
modprobe: Can't locate module /dev/lvm
vgscan -- reading all physical volumes (this may take a while...)
hub.c: USB new device connect on bus1/1, assigned device number 3
Manufacturer: Logitech
Product: USB Receiver
mouse0: PS/2 mouse device for input0
input0: USB HID v1.10 Mouse [Logitech USB Receiver] on usb1:3.0
modprobe: Can't locate module /dev/raid
modprobe: Can't locate module /dev/raid
vgscan -- found inactive volume group "raid"
modprobe: Can't locate module /dev/raid
modprobe: Can't locate module /dev/raid
modprobe: Can't locate module /dev/raid
modprobe: Can't locate module /dev/raid/group
modprobe: Can't locate module /dev/raid/swap
modprobe: Can't locate module /dev/raid/swap
modprobe: Can't locate module /dev/raid/tmp
modprobe: Can't locate module /dev/raid/tmp
modprobe: Can't locate module /dev/raid/mp3
modprobe: Can't locate module /dev/raid/mp3
modprobe: Can't locate module /dev/raid/anime
modprobe: Can't locate module /dev/raid/anime
modprobe: Can't locate module /dev/raid/usr
modprobe: Can't locate module /dev/raid/usr
modprobe: Can't locate module /dev/raid/home
modprobe: Can't locate module /dev/raid/home
modprobe: Can't locate module /dev/raid/var
modprobe: Can't locate module /dev/raid/var
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: you may not have an actual VGDA backup of your volume
group
devfs: devfs_register(): device already registered: "group"
vgchange -- volume group "raid" successfully activated
Checking all file systems...
Parallelizing fsck version 1.19 (13-Jul-2000)
Setting kernel variables.
Mounting local filesystems...
modprobe: Can't locate module /dev/cdroms/cdrom1
none on /proc/bus/usb type usbdevfs (rw)
Start mounting filesystem: ide0(3,5)
Ending clean XFS mount for filesystem: ide0(3,5)
/dev/ide/host0/bus0/target0/lun0/part5 on /boot type xfs (rw)
Start mounting filesystem: lvm(58,2)
Ending clean XFS mount for filesystem: lvm(58,2)
/dev/raid/mp3 on /raid/mp3 type xfs (rw)
etc,etc, everything else is fine
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2001-02-27 21:23 [linux-lvm] LVM and devfs Jason Walker
@ 2001-02-28 12:27 ` Heinz J. Mauelshagen
0 siblings, 0 replies; 10+ messages in thread
From: Heinz J. Mauelshagen @ 2001-02-28 12:27 UTC (permalink / raw)
To: linux-lvm
Which LVM version are you using?
The recent 0.9.1 Beta 5 shouldn't give you that error.
On Tue, Feb 27, 2001 at 04:23:41PM -0500, Jason Walker wrote:
> Hello all,
>
> I have a few errros on boot that are generated by devfs, as much as I can
> figure. it doesn't like the fact that LVM creates devices or something. I
> have attacked a small file that contains the errors. Everything *works*
> fine, but I still don't like seeing errors spewed on bootup. Any help
> woudl be greatly appreciated. TIA!
>
> RegEx
>
> Setting up LVM Volume Groups...
> modprobe: Can't locate module /dev/lvm
> vgscan -- reading all physical volumes (this may take a while...)
> hub.c: USB new device connect on bus1/1, assigned device number 3
> Manufacturer: Logitech
> Product: USB Receiver
> mouse0: PS/2 mouse device for input0
> input0: USB HID v1.10 Mouse [Logitech USB Receiver] on usb1:3.0
> modprobe: Can't locate module /dev/raid
> modprobe: Can't locate module /dev/raid
> vgscan -- found inactive volume group "raid"
> modprobe: Can't locate module /dev/raid
> modprobe: Can't locate module /dev/raid
> modprobe: Can't locate module /dev/raid
> modprobe: Can't locate module /dev/raid/group
> modprobe: Can't locate module /dev/raid/swap
> modprobe: Can't locate module /dev/raid/swap
> modprobe: Can't locate module /dev/raid/tmp
> modprobe: Can't locate module /dev/raid/tmp
> modprobe: Can't locate module /dev/raid/mp3
> modprobe: Can't locate module /dev/raid/mp3
> modprobe: Can't locate module /dev/raid/anime
> modprobe: Can't locate module /dev/raid/anime
> modprobe: Can't locate module /dev/raid/usr
> modprobe: Can't locate module /dev/raid/usr
> modprobe: Can't locate module /dev/raid/home
> modprobe: Can't locate module /dev/raid/home
> modprobe: Can't locate module /dev/raid/var
> modprobe: Can't locate module /dev/raid/var
> vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
> vgscan -- WARNING: you may not have an actual VGDA backup of your volume
> group
>
> devfs: devfs_register(): device already registered: "group"
> vgchange -- volume group "raid" successfully activated
>
> Checking all file systems...
> Parallelizing fsck version 1.19 (13-Jul-2000)
> Setting kernel variables.
> Mounting local filesystems...
> modprobe: Can't locate module /dev/cdroms/cdrom1
> none on /proc/bus/usb type usbdevfs (rw)
> Start mounting filesystem: ide0(3,5)
> Ending clean XFS mount for filesystem: ide0(3,5)
> /dev/ide/host0/bus0/target0/lun0/part5 on /boot type xfs (rw)
> Start mounting filesystem: lvm(58,2)
> Ending clean XFS mount for filesystem: lvm(58,2)
> /dev/raid/mp3 on /raid/mp3 type xfs (rw)
>
> etc,etc, everything else is fine
>
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 10+ messages in thread
* [linux-lvm] LVM and devfs
@ 2003-12-15 7:56 Stuart Felenstein
2003-12-15 11:49 ` Jord Tanner
2003-12-15 13:44 ` Luca Berra
0 siblings, 2 replies; 10+ messages in thread
From: Stuart Felenstein @ 2003-12-15 7:56 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]
I didn't see a search option in the archives and I apologize if this is more appropriate to the devfs list. I installed RedHat9 , and partitioned with DiskDruid using LVM. The only partition that is not LVM is /boot.
However I have now compiled kernel 2.4.23 with LVM and devfs and running into a problem with kernel panics. I'm not sure if having LVM is causing the issue. Even though I've tried many different append roots, looking at the working kernel in lilo.conf I see root = /dev/Volume00/LogVol01. So I'm' wondering how I translate that to /dev/ide/host0..... .
Here is my current /etc/fstab:
/dev/Volume00/LogVol01 / ext3
LABEL =/boot /boot ext3
/dev/Volume00/LogVol02 /cache ext3
/dev/Volume00/LogVol03 /myth ext3
none /proc proc
none /dev/shm tmpfs
/dev/Volume00/LogVol00 /swap swap
/dev/cdrom
Greatly appreciate some help, pointers and / or links.
Thank you,
Stuart
[-- Attachment #2: Type: text/html, Size: 2599 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 7:56 Stuart Felenstein
@ 2003-12-15 11:49 ` Jord Tanner
2003-12-15 15:22 ` Stuart Felenstein
2003-12-15 13:44 ` Luca Berra
1 sibling, 1 reply; 10+ messages in thread
From: Jord Tanner @ 2003-12-15 11:49 UTC (permalink / raw)
To: linux-lvm
I believe your problem is that you need an initrd that includes LVM
stuff. Try the command "lvmcreate_initrd", then ensure that the new
lvm_initrd file is loaded with lilo (I use grub so I can't help you with
lilo). RH uses their own initrd, so you should be able to use the
existing lilo.conf as a guide. If you have an unusual setup you may have
to mount the initrd file, and edit it yourself.
Jord Tanner
On Sun, 2003-12-14 at 03:33, Stuart Felenstein wrote:
> I didn't see a search option in the archives and I apologize if this
> is more appropriate to the devfs list. I installed RedHat9 , and
> partitioned with DiskDruid using LVM. The only partition that is not
> LVM is /boot.
> However I have now compiled kernel 2.4.23 with LVM and devfs and
> running into a problem with kernel panics. I'm not sure if having LVM
> is causing the issue. Even though I've tried many different append
> roots, looking at the working kernel in lilo.conf I see root =
> /dev/Volume00/LogVol01. So I'm' wondering how I translate that to
> /dev/ide/host0..... .
>
> Here is my current /etc/fstab:
> /dev/Volume00/LogVol01 / ext3
> LABEL =/boot /boot ext3
> /dev/Volume00/LogVol02 /cache ext3
> /dev/Volume00/LogVol03 /myth ext3
> none /proc proc
> none /dev/shm tmpfs
> /dev/Volume00/LogVol00 /swap swap
> /dev/cdrom
>
> Greatly appreciate some help, pointers and / or links.
> Thank you,
> Stuart
--
Jord Tanner <jord@indygecko.com>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 7:56 Stuart Felenstein
2003-12-15 11:49 ` Jord Tanner
@ 2003-12-15 13:44 ` Luca Berra
2003-12-15 15:22 ` Stuart Felenstein
1 sibling, 1 reply; 10+ messages in thread
From: Luca Berra @ 2003-12-15 13:44 UTC (permalink / raw)
To: linux-lvm
On Sun, Dec 14, 2003 at 03:33:28AM -0800, Stuart Felenstein wrote:
> I didn't see a search option in the archives and I apologize if this
> is more appropriate to the devfs list. I installed RedHat9 , and
> partitioned with DiskDruid using LVM. The only partition that is not
> LVM is /boot.
- devfs in not supported on redhat 9
- lvm created on a non devfs system do not work on a devfs system
without tinkering and vice versa. devfs=nomount yelds even worse
results
remove devfs from your kernel
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 11:49 ` Jord Tanner
@ 2003-12-15 15:22 ` Stuart Felenstein
0 siblings, 0 replies; 10+ messages in thread
From: Stuart Felenstein @ 2003-12-15 15:22 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1880 bytes --]
Thank you. I solved part of my problem by getting the devfs daemon loaded. Now working through the rest of the doc. I realized after some time that LVM can coexist with devfs and they are not going to bump heads.
Stuart
Jord Tanner <jord@indygecko.com> wrote:
I believe your problem is that you need an initrd that includes LVM
stuff. Try the command "lvmcreate_initrd", then ensure that the new
lvm_initrd file is loaded with lilo (I use grub so I can't help you with
lilo). RH uses their own initrd, so you should be able to use the
existing lilo.conf as a guide. If you have an unusual setup you may have
to mount the initrd file, and edit it yourself.
Jord Tanner
On Sun, 2003-12-14 at 03:33, Stuart Felenstein wrote:
> I didn't see a search option in the archives and I apologize if this
> is more appropriate to the devfs list. I installed RedHat9 , and
> partitioned with DiskDruid using LVM. The only partition that is not
> LVM is /boot.
> However I have now compiled kernel 2.4.23 with LVM and devfs and
> running into a problem with kernel panics. I'm not sure if having LVM
> is causing the issue. Even though I've tried many different append
> roots, looking at the working kernel in lilo.conf I see root =
> /dev/Volume00/LogVol01. So I'm' wondering how I translate that to
> /dev/ide/host0..... .
>
> Here is my current /etc/fstab:
> /dev/Volume00/LogVol01 / ext3
> LABEL =/boot /boot ext3
> /dev/Volume00/LogVol02 /cache ext3
> /dev/Volume00/LogVol03 /myth ext3
> none /proc proc
> none /dev/shm tmpfs
> /dev/Volume00/LogVol00 /swap swap
> /dev/cdrom
>
> Greatly appreciate some help, pointers and / or links.
> Thank you,
> Stuart
--
Jord Tanner
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[-- Attachment #2: Type: text/html, Size: 2293 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 13:44 ` Luca Berra
@ 2003-12-15 15:22 ` Stuart Felenstein
2003-12-15 16:49 ` Luca Berra
0 siblings, 1 reply; 10+ messages in thread
From: Stuart Felenstein @ 2003-12-15 15:22 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
Luca,
I think you may be off here. It was RedHat9 that gave me the option of using LVM.
I've gone to the 2.4.23 kernel with devfs and lvm support. I know there is alot or a good amount of controvery around devfs but I think I'll ride it out and see how it works for me.
Thank you for your response.
Stuart
Luca Berra <bluca@comedia.it> wrote:
- devfs in not supported on redhat 9
- lvm created on a non devfs system do not work on a devfs system
without tinkering and vice versa. devfs=nomount yelds even worse
results
remove devfs from your kernel
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[-- Attachment #2: Type: text/html, Size: 1214 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 15:22 ` Stuart Felenstein
@ 2003-12-15 16:49 ` Luca Berra
2003-12-15 17:19 ` Tupshin Harper
2003-12-15 18:20 ` Frank Benkstein
0 siblings, 2 replies; 10+ messages in thread
From: Luca Berra @ 2003-12-15 16:49 UTC (permalink / raw)
To: linux-lvm
On Mon, Dec 15, 2003 at 11:57:20AM -0800, Stuart Felenstein wrote:
> I think you may be off here. It was RedHat9 that gave me the option
> of using LVM.
i said _devfs_ is not supported,
_lvm_ is.
> I've gone to the 2.4.23 kernel with devfs and lvm support. I know
> there is alot or a good amount of controvery around devfs but I think
> I'll ride it out and see how it works for me.
>
lvm1 tools do have a problem with switching from devfs to non-devfs,
and vice-versa since they use /proc/partitions to find pvs, and do write
the pv name in the metadata. (read the list archives for the gory
details)
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 16:49 ` Luca Berra
@ 2003-12-15 17:19 ` Tupshin Harper
2003-12-15 18:20 ` Frank Benkstein
1 sibling, 0 replies; 10+ messages in thread
From: Tupshin Harper @ 2003-12-15 17:19 UTC (permalink / raw)
To: linux-lvm
Luca Berra wrote:
> On Mon, Dec 15, 2003 at 11:57:20AM -0800, Stuart Felenstein wrote:
>
>> I think you may be off here. It was RedHat9 that gave me the option
>> of using LVM.
>
>
> i said _devfs_ is not supported,
> _lvm_ is.
>
>> I've gone to the 2.4.23 kernel with devfs and lvm support. I know
>> there is alot or a good amount of controvery around devfs but I think
>> I'll ride it out and see how it works for me.
>>
> lvm1 tools do have a problem with switching from devfs to non-devfs,
> and vice-versa since they use /proc/partitions to find pvs, and do write
> the pv name in the metadata. (read the list archives for the gory
> details)
>
> L.
>
>
I have looked for this info, and haven't foud a conclusive answer. Is
there a recipe (no matter how convoluted) for migrating from a devfs+lvm
system to a non-devfs lvm system?
-Tupshin
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [linux-lvm] LVM and devfs
2003-12-15 16:49 ` Luca Berra
2003-12-15 17:19 ` Tupshin Harper
@ 2003-12-15 18:20 ` Frank Benkstein
1 sibling, 0 replies; 10+ messages in thread
From: Frank Benkstein @ 2003-12-15 18:20 UTC (permalink / raw)
To: linux-lvm
Hi.
On Mon, 15 Dec 2003 23:48:41 +0100
Luca Berra <bluca@comedia.it> wrote:
> On Mon, Dec 15, 2003 at 11:57:20AM -0800, Stuart Felenstein wrote:
> > I think you may be off here. It was RedHat9 that gave me the
> > option of using LVM.
>
> i said _devfs_ is not supported,
> _lvm_ is.
>
> > I've gone to the 2.4.23 kernel with devfs and lvm support. I
> > know there is alot or a good amount of controvery around devfs
> > but I think I'll ride it out and see how it works for me.
> >
> lvm1 tools do have a problem with switching from devfs to non-devfs,
> and vice-versa since they use /proc/partitions to find pvs, and do
> write the pv name in the metadata. (read the list archives for the
> gory details)
>
> L.
>
>
I use lvm1+devfs on a few (Gentoo, 2.4.23) systems and I had no problems
so far. I even switched the drives around, e.g. making primary master
secondary slave and so on, and to my suprise it just worked as if I
didn't do anything. So I don't understand why there are troubles moving
from lvm1 with devfs to lvm without devfs. I even used KNOPPIX in one of
the systems, which has devfs disabled AFAIK, and still had no problems
getting access on my data besides doing manual "vgscan ; vgchange -a
y" and mounting.
Just my 0,02 Euro.
Greetings
Frank Benkstein.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-12-15 18:20 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-27 21:23 [linux-lvm] LVM and devfs Jason Walker
2001-02-28 12:27 ` Heinz J. Mauelshagen
-- strict thread matches above, loose matches on Subject: below --
2003-12-15 7:56 Stuart Felenstein
2003-12-15 11:49 ` Jord Tanner
2003-12-15 15:22 ` Stuart Felenstein
2003-12-15 13:44 ` Luca Berra
2003-12-15 15:22 ` Stuart Felenstein
2003-12-15 16:49 ` Luca Berra
2003-12-15 17:19 ` Tupshin Harper
2003-12-15 18:20 ` Frank Benkstein
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).