* [linux-lvm] VGs not detected at startup
@ 2004-11-08 8:16 Markus Wiedmer - FHBB
2004-11-08 9:40 ` David S.
0 siblings, 1 reply; 6+ messages in thread
From: Markus Wiedmer - FHBB @ 2004-11-08 8:16 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
hi all,
I'm running lvm2.00.25 on kernel 2.6.9, but I have problems with
detecting the VGs.Immediately after bootup, vgscan returns: no volume
groups found, same for lvscan and pvscan. I have my root
partition on my Primary IDE-Drive (hda) and the VGs lie on the
serial-ATA-Drive (sda).
Now after I run fdisk on /dev/sda (just run it an quit again). all my
VGs mysteriously appear on the next vgscan.
I guess I'm missing something, but I can't see what. Does anyone know
this problem?
Thanks in advance
markus
--
Mit freundlichen Grüssen
Markus Wiedmer - FHBB
[-- Attachment #2: Type: application/pgp-signature, Size: 186 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] VGs not detected at startup
2004-11-08 8:16 [linux-lvm] VGs not detected at startup Markus Wiedmer - FHBB
@ 2004-11-08 9:40 ` David S.
2004-11-08 13:46 ` Markus Wiedmer - FHBB
0 siblings, 1 reply; 6+ messages in thread
From: David S. @ 2004-11-08 9:40 UTC (permalink / raw)
To: Markus Wiedmer - FHBB, LVM general discussion and development
>
> I'm running lvm2.00.25 on kernel 2.6.9, but I have problems with
> detecting the VGs.Immediately after bootup, vgscan returns: no volume
> groups found, same for lvscan and pvscan. I have my root
> partition on my Primary IDE-Drive (hda) and the VGs lie on the
> serial-ATA-Drive (sda).
>
> Now after I run fdisk on /dev/sda (just run it an quit again). all my
> VGs mysteriously appear on the next vgscan.
>
> I guess I'm missing something, but I can't see what. Does anyone know
> this problem?
Yes, I certainly know this problem. I'm running LVM2 2.00.15 and device
mapper 1.00.17 on a 2.6.9 (x86) kernel. 'Vgscan' fails to find an vloumes
running from the system initialization script, but works fine a few seconds
(I'm guessing) later run from 'rc.local'. I've tried a few things to "fix"
this, all to no effect.
David S.
>
> Thanks in advance
>
> markus
>
>
> --
> Mit freundlichen Gr?ssen
> Markus Wiedmer - FHBB
>
> _______________________________________________
> 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] 6+ messages in thread
* Re: [linux-lvm] VGs not detected at startup
2004-11-08 9:40 ` David S.
@ 2004-11-08 13:46 ` Markus Wiedmer - FHBB
2004-11-08 13:53 ` linux-lvm
0 siblings, 1 reply; 6+ messages in thread
From: Markus Wiedmer - FHBB @ 2004-11-08 13:46 UTC (permalink / raw)
To: David S.; +Cc: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
I'd be happy if this would work with me. Unfortunately a few seconds
(even an hour) will do nothing with my system. the VGs are still
unavailable.
I now found a work-around that seems to work so far. In the
LVM-Start-Script I just put "mount /dev/sda5 || true" before the vgscan. it
looks like after a mount-command the system suddenly finds the VG.
strange...
markus
DS> Yes, I certainly know this problem. I'm running LVM2 2.00.15 and device
DS> mapper 1.00.17 on a 2.6.9 (x86) kernel. 'Vgscan' fails to find an vloumes
DS> running from the system initialization script, but works fine a few seconds
DS> (I'm guessing) later run from 'rc.local'. I've tried a few things to "fix"
DS> this, all to no effect.
DS> David S.
[-- Attachment #2: Type: application/pgp-signature, Size: 186 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] VGs not detected at startup
2004-11-08 13:46 ` Markus Wiedmer - FHBB
@ 2004-11-08 13:53 ` linux-lvm
2004-11-08 14:49 ` Markus Wiedmer - FHBB
0 siblings, 1 reply; 6+ messages in thread
From: linux-lvm @ 2004-11-08 13:53 UTC (permalink / raw)
To: Markus Wiedmer - FHBB, LVM general discussion and development
On Mon, Nov 08, 2004 at 02:46:31PM +0100, Markus Wiedmer - FHBB wrote:
> I now found a work-around that seems to work so far. In the
> LVM-Start-Script I just put "mount /dev/sda5 || true" before the vgscan. it
> looks like after a mount-command the system suddenly finds the VG.
> strange...
Apologies if this is something that's already been discussed (if so I missed it), and also
for saying something that you've almost definitely covered but......
Check to see if there's any autoloading of modules, or anything, going on as a result of the
mount/fdisk?
Also (instead of the mount) does a 'dd' work? E.g. dd if=/dev/sda of=/dev/null bs=512
count=1?
That's going to be faster & probably less intrusive.
Graham
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] VGs not detected at startup
2004-11-08 13:53 ` linux-lvm
@ 2004-11-08 14:49 ` Markus Wiedmer - FHBB
0 siblings, 0 replies; 6+ messages in thread
From: Markus Wiedmer - FHBB @ 2004-11-08 14:49 UTC (permalink / raw)
To: linux-lvm; +Cc: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]
llsdo> On Mon, Nov 08, 2004 at 02:46:31PM +0100, Markus Wiedmer - FHBB wrote:
>> I now found a work-around that seems to work so far. In the
>> LVM-Start-Script I just put "mount /dev/sda5 || true" before the vgscan. it
>> looks like after a mount-command the system suddenly finds the VG.
>> strange...
llsdo> Apologies if this is something that's already been
llsdo> discussed (if so I missed it), and also
llsdo> for saying something that you've almost definitely covered but......
llsdo> Check to see if there's any autoloading of modules, or
llsdo> anything, going on as a result of the
llsdo> mount/fdisk?
llsdo> Also (instead of the mount) does a 'dd' work? E.g. dd
llsdo> if=/dev/sda of=/dev/null bs=512
llsdo> count=1?
llsdo> That's going to be faster & probably less intrusive.
llsdo> Graham
thanks a lot for your hint. it really was a module (sd_mod) that was
not loaded at boottime. everything works now like a charm
thanks
markus
--
Mit freundlichen Grüssen
Markus Wiedmer - FHBB
mailto:markus.wiedmer@stud.fhbb.ch
[-- Attachment #2: Type: application/pgp-signature, Size: 186 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] VGs not detected at startup
@ 2005-04-06 10:02 Diaz Rodriguez, Eduardo
0 siblings, 0 replies; 6+ messages in thread
From: Diaz Rodriguez, Eduardo @ 2005-04-06 10:02 UTC (permalink / raw)
To: linux-lvm; +Cc: markus.wiedmer
Hi, I�m running lvm 1.0.8, on kernel 2.4.30, but I have problems with
detecting the VGs. Immediately after bootup, vgscan returns: no volume
groups found I find very similar same problem that:
https://www.redhat.com/archives/linux-lvm/2004-November/msg00028.html
https://www.redhat.com/archives/linux-lvm/2004-November/msg00033.html
I am running lvm10 in debian linux with kernel 2.4.30
The problem are that boot process, (the rcS.d S27lvm) don't detect any vgs
but, after of some trys I must create a workarround and startup the script
after of
S35mountall.sh
cat S36lvm_ayuda
/sbin/vgscan
/sbin/vgchange -a y
/bin/mount �a
Yesterday the lvm script runs well but I think that the problem can be change
the kernel version (I change from 2.4.28 to 2.4.30)..
The problem was, I change the kernel version, after of boot, for accident I
write the checkroot.sh with checkfs.sh, a reboot, (many fails) I use a knoppix
for start the disk a recover from a very similar system (debian stable too
with lvm too).
After of this, lvm startup script never see any vgs but I exec the lvm script
too after of S35mountall.sh the script runs well.
I change some information of SCSI modules (for my usb-disk �but this disk
don�t run in lvm only have ATA disk /dev/hdb1 and /dev/hdd1� ) for start as
modules. But I don�t remember that, because I think that this can bee easy.
The kernel version was compiling well. But after the reboot I see the problem.
I try exec vgscan �v, (putting in the scripts) but in boot process for any
information but nothing
A very fanny night working at 4:00 AM :-)
If anypeople need more data don�t dude said me I sent the output of the commands
mounts
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
/dev/hdc1 on /datos type reiserfs (rw)
/dev/hda3 on /backup/disco1 type reiserfs (rw)
proc on /proc type proc (rw)
/dev/vgdatos/vlortofotos on /datos_ortofotos type xfs (rw)
I any want's can contact with me in messenger at ediaz NOSPAM AT pk25 dot com
Any help is very appreciate
P.D Sorry for my English, I am from spain
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-04-06 10:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08 8:16 [linux-lvm] VGs not detected at startup Markus Wiedmer - FHBB
2004-11-08 9:40 ` David S.
2004-11-08 13:46 ` Markus Wiedmer - FHBB
2004-11-08 13:53 ` linux-lvm
2004-11-08 14:49 ` Markus Wiedmer - FHBB
-- strict thread matches above, loose matches on Subject: below --
2005-04-06 10:02 Diaz Rodriguez, Eduardo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox