* [linux-lvm] another invalid i/o ... error
@ 1999-07-05 20:21 root
1999-07-05 18:41 ` Michael Marxmeier
0 siblings, 1 reply; 2+ messages in thread
From: root @ 1999-07-05 20:21 UTC (permalink / raw)
To: linux-lvm
Hi there.
I've been reading the mailing list archives avidly, trying to solve my problem.
As a big fan of LVM on HPUX, I wanted to implement this on my Sparc Linux
system. I installed RedHat 6.0 and Alan Cox's 2.2.10-ac7 (just to be current).
Anyhow, LVM was built as a module and seems to install fine:
[root@gate 0.6]# lsmod
[No write since last change]
Module Size Used by
lvm 28352 0
I downloaded the lvm_6.0.tar.gz file, and applied the patch. It built and
installed fine. I made the /dev/lvm entry (mknod /dev/lvm c 109 0).
But running vgscan results in the oft-reported error:
[root@gate 0.6]# vgscan
vgscan -- invalid i/o protocol version
So, Here's the end of an strace vgscan, note the open of "di2", whatever that is. After scratching my head for a few days, I made a device file in the
current directory (mknod di2 c 109 0) and re-ran vgscan -- got another odd
error. Anyhow, here's the straces:
<snip>
getpid() = 9242
getuid() = 0
geteuid() = 0
open("di2", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "vgscan -- invalid i/o protocol v"..., 40vgscan -- invalid i/o protocol version
) = 40
exit(96) = ?
[root@gate 0.6]# mknod di2 c 109 0
[root@gate 0.6]# strace vgscan
<snip>
getpid() = 9245
getuid() = 0
geteuid() = 0
open("di2", O_RDONLY) = 3
ioctl(3, 0x4004fe98, 0xefffebd6) = 0
close(3) = 0
write(2, "vgscan -- logical volume manager"..., 44vgscan -- logical volume manager yet locked
) = 44
exit(97) = ?
Any sage advice for me?
I'm not subscribed to the list, but an reading the archive web page. I'll
subscribe when I get back to work... :)
Simon Galton
galtons@thegeek.org
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [linux-lvm] another invalid i/o ... error
1999-07-05 20:21 [linux-lvm] another invalid i/o ... error root
@ 1999-07-05 18:41 ` Michael Marxmeier
0 siblings, 0 replies; 2+ messages in thread
From: Michael Marxmeier @ 1999-07-05 18:41 UTC (permalink / raw)
To: root; +Cc: galtons, linux-lvm
Hello Simon.
[snip]
> But running vgscan results in the oft-reported error:
> [root@gate 0.6]# vgscan
> vgscan -- invalid i/o protocol version
>
> So, Here's the end of an strace vgscan, note the open of "di2", whatever
> that is. After scratching my head for a few days, I made a device file
> in the current directory (mknod di2 c 109 0) and re-ran vgscan -- got
> another odd error.
Strange. Please run a vgscan -d and send me the output. This will
provide a function trace of the operations so it should be obvious
(with the strace) where it fails.
In addition please send me the complete strace (w/o creating the
"di2")
and i'll have a look at it.
Hope that helps
Michael
--
Michael Marxmeier Marxmeier Software GmbH
E-Mail: mike@msede.com Besenbruchstrasse 9
Voice : +49 202 2431440 42285 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-07-05 20:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-05 20:21 [linux-lvm] another invalid i/o ... error root
1999-07-05 18:41 ` Michael Marxmeier
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.