[Redhat-s390-list] LVM Help?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list,

I'm playing with LVM, and, well i'm stuck. I have tried any number
of configurations; using fdasd to partition dasdc, using freshly
dasdfmt'ed dasdc, and on all attempts pvcreate fails. I can partition
this drive and mount it. Normal read/writes work, so i guess the
VM end of things is OK.

Has anyone done this? Does anyone know what i've done wrong?
Does anyone know if this can be done?

TIA
.karl

kschlitt at uneb.edu

------
# uname -a
Linux lnx0035 2.4.9-17 #1 SMP Fri Nov 23 19:45:36 CET 2001 s390 unknown

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# /sbin/insmod /lib/modules/2.4.9-17custom/kernel/drivers/md/lvm-mod.o
Warning: loading /lib/modules/2.4.9-17custom/kernel/drivers/md/lvm-mod.o 
will taint the kernel: no license
Warning: loading /lib/modules/2.4.9-17custom/kernel/drivers/md/lvm-mod.o 
will taint the kernel: forced load
Warning: kernel-module version mismatch
        /lib/modules/2.4.9-17custom/kernel/drivers/md/lvm-mod.o 
	was compiled for kernel version 2.4.9-17custom
        while this kernel is version 2.4.9-17

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
from /var/log/messages:

Jul  5 13:58:18 lnx0035 kernel: LVM version LVM 0.9.1_beta7(ish)  by Heinz Mauelshagen  (20 June 2001)
Jul  5 13:58:18 lnx0035 kernel: lvm -- Module successfully initialized

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# /sbin/pvcreate --version
pvcreate: Logical Volume Manager 1.1-rc2
Heinz Mauelshagen, Sistina Software  23/04/2002 (IOP 10)

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# strace /sbin/create /dev/dasdc

execve("/sbin/pvcreate", ["/sbin/pvcreate", "/dev/dasdc"], [/* 28 vars */]) = 0
uname({sys="Linux", node="lnx0035.uneb.edu", ...}) = 0
brk(0)                                  = 0x47f9c4
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=38435, ...}) = 0
old_mmap(NULL, 38435, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\26\0\0\0\1\0\2\24"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=5234118, ...}) = 0
old_mmap(NULL, 1281924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40022000
mprotect(0x40152000, 36740, PROT_NONE)  = 0
old_mmap(0x40152000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12f000) = 0x40152000
old_mmap(0x40158000, 12164, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40158000
close(3)                                = 0
munmap(0x40018000, 38435)               = 0
brk(0)                                  = 0x47f9c4
brk(0x47f9e4)                           = 0x47f9e4
brk(0x480000)                           = 0x480000
open(umovestr: Input/output error
0, O_RDONLY)                       = -1 EFAULT (Bad address)
open("/dev/lvm", O_RDONLY)              = -1 EACCES (Permission denied)
stat64("/dev/lvm", {st_mode=S_IFCHR|0640, st_rdev=makedev(109, 0), ...}) = 0
open("/dev/lvm", O_RDONLY)              = -1 EACCES (Permission denied)
write(2, "pvcreate -- LVM driver/module no"..., 43pvcreate -- LVM driver/module not loaded?

) = 43
_exit(0)                                = ?

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
# ls -l /dev/lvm
crw-r-----    1 root     root     109,   0 Jul  5 15:23 /dev/lvm




[Index of Archives]     [Fedora General Discussion]     [LKML]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Linux s390]     [Gimp]     [Yosemite News]

  Powered by Linux