Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

EVMS install/activation fails: missing devices?

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
ElCondor
Guru
Guru
User avatar
Posts: 520
Joined: Wed Apr 10, 2002 6:49 am
Location: Vienna, Austria, Europe
Contact:
Contact ElCondor
Website

EVMS install/activation fails: missing devices?

  • Quote

Post by ElCondor » Wed Nov 30, 2005 5:45 pm

I wanted to extend a system with RAID/LVM2 using EVMS. I compiled everything in the kernel, installed the packages sys-fs/device-mapper, sys-fs/evms, sys-fs/lvm2, sys-fs/raidtools, ...
I've got the current system running on software RAID1, and I've got plenty of (unpartitioned) diskspace left. The System was set up 2 days ago, to everything is really current. :)

I used evmsn and followed the gentoo evms wiki, everything seemed to work fine, till it came to quit & save, then I encountered the following error:
Engine: FSIM plug-in Ext2/3 returned error code 1 when called to mkfs volume /dev/evms/condor
:? at that point, the status-line on the bottom of the terminal said
Save failed. No such device.
I tried this several times (different file-systems, rebooted in between, ..). Then I checked the logfile /var/log/evms-engine.log and found loads of error messages like
Nov 30 18:24:48 Xen-Master _5_ Engine: is_object_change_pending: Change pending: Object lvm2/raid1md1/condor needs to be activated.
Nov 30 18:24:48 Xen-Master _5_ Engine: is_object_change_pending: Change pending: Object md/md1 needs to be activated.
Nov 30 18:24:48 Xen-Master _5_ Engine: is_volume_change_pending: Change pending: Volume /dev/evms/condor needs to be activated.
Nov 30 18:24:48 Xen-Master _5_ Engine: is_volume_change_pending: Change pending: Volume /dev/evms/condor needs to have the Ext2/3 file system put on it.
Nov 30 18:24:48 Xen-Master _2_ Engine: run_command_v4: Error returned from ioctl call: 22: Invalid argument.
Nov 30 18:24:48 Xen-Master _3_ Engine: activate_object: Error code 19 activating object sda7: No such device
Nov 30 18:24:48 Xen-Master _2_ Engine: run_command_v4: Error returned from ioctl call: 22: Invalid argument.
Nov 30 18:24:48 Xen-Master _3_ Engine: activate_object: Error code 19 activating object sdb7: No such device
Nov 30 18:24:48 Xen-Master _3_ Engine: activate_object: Error code 19 activating object md/md1: No such device
Nov 30 18:24:48 Xen-Master _3_ Engine: activate_object: Error code 19 activating object md/md1: No such device
Nov 30 18:24:48 Xen-Master _3_ Engine: activate: Error code 19 activating object lvm2/raid1md1/condor: No such device
Nov 30 18:24:48 Xen-Master _2_ Engine: run_command_v4: Error returned from ioctl call: 22: Invalid argument.
Nov 30 18:24:48 Xen-Master _3_ Engine: activate_object: Error code 19 activating object sda7: No such device
Nov 30 18:24:48 Xen-Master _2_ Engine: run_command_v4: Error returned from ioctl call: 22: Invalid argument.
Nov 30 18:24:48 Xen-Master _3_ Engine: activate_object: Error code 19 activating object sdb7: No such device
Nov 30 18:24:48 Xen-Master _3_ Engine: activate: Error code 19 activating object md/md1: No such device
Nov 30 18:24:48 Xen-Master _3_ Engine: evms_rediscover: activate() returned error code 19: No such device
Nov 30 18:24:48 Xen-Master _0_ Engine: engine_user_message: Message is: Engine: FSIM plug-in Ext2/3 returned error code 1 when called to mkfs on volume /dev/evms/condor
I checked /dev/emvs/ to find .. not much. the only devices/files there are
/dev/evms/dm/control
/dev/evms/.nodes/sda
/dev/evms/.nodes/sdb
/dev/evms/.nodes/md/md0
/dev/evms/md/md0
:( I tried creating device-nodes here or symlinks, didn't help.

Then I tried it like described in this thread: didn't help either, just booting takes a few minutes longer with about 100times
Nov 30 18:24:48 Xen-Master kernel: device-mapper: dm-linear: Device lookup failed
Nov 30 18:24:48 Xen-Master kernel: device-mapper: error adding target to table
There must be hundreds of people out there with gentoo and evms running .. please let me know what I missed, but I've spent about 5 hours to this now and got no clue where else to look for help :( Please help me out of this!

* ElCondor confused and a little desperate pasa *
Here I am the victim of my own choices and I'm just starting!
Top
tecknojunky
Veteran
Veteran
User avatar
Posts: 1937
Joined: Sat Oct 19, 2002 6:50 am
Location: Montréal
Contact:
Contact tecknojunky
Website

  • Quote

Post by tecknojunky » Thu Dec 01, 2005 1:41 am

hola,

I'm not a guru yet with evms. I have just successfully installed it for the third time and this system was on lvm2. 8O

What I was wondering is if you have enabled the dm/lvm2/evms2/raid modules in the kernel? What kernel are you using.

I'm using gentoo-sources since it is the one that is properly patch and I can use genkernel to easyly and hasle free generate a initrd to boot from so that everything (boot and root) are under evms.

Viva el libre!
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Top
ElCondor
Guru
Guru
User avatar
Posts: 520
Joined: Wed Apr 10, 2002 6:49 am
Location: Vienna, Austria, Europe
Contact:
Contact ElCondor
Website

  • Quote

Post by ElCondor » Thu Dec 01, 2005 8:14 am

Everything concerning raid/lvm/dm is compiled into the kernel, no modules. kernel is a 2.6.12.5 with xen patches - since this is a xen-dom0 I cannot use the gentoo-sources or genkernel. I also only want to install a data volume on evms, boot/root are running on raid1 without problems.

* ElCondor pasa *
Here I am the victim of my own choices and I'm just starting!
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Thu Dec 01, 2005 2:42 pm

Moved from Installing Gentoo to Other Things Gentoo.
not an installing gentoo problem
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
tecknojunky
Veteran
Veteran
User avatar
Posts: 1937
Joined: Sat Oct 19, 2002 6:50 am
Location: Montréal
Contact:
Contact tecknojunky
Website

  • Quote

Post by tecknojunky » Thu Dec 01, 2005 3:48 pm

f I'm not mistaking, there are patches needed to be applied to the kernel in order to get evms functionalities. Check it out. Maybe the xen-sources don't have it.
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Top
vputz
Guru
Guru
User avatar
Posts: 310
Joined: Wed Mar 16, 2005 7:21 pm
Location: Oxford, England

  • Quote

Post by vputz » Mon Dec 19, 2005 10:03 pm

I'm wrestling with this too. I'm not positive, but from examining the EVMS mailing list, this seems to be a problem with recent 2.6 kernels--if you're doing anything useful with a partition on a disk, the whole disk is made unavailable to EVMS (see [url]http://evms.sourceforge.net/install/kernel.html[/evms], "BD-claim patch").

So i think that the MD/LVM tools are claiming the disks for the kernel instead of letting them be claimed by EVMS. I'm not positive on this, but I'm going to try it tonight and see.
Top
vputz
Guru
Guru
User avatar
Posts: 310
Joined: Wed Mar 16, 2005 7:21 pm
Location: Oxford, England

  • Quote

Post by vputz » Tue Dec 20, 2005 1:02 am

Got it! Yes, it's the bdclaim issue, but you don't have to (necessarily) patch the kernel. I got it to work with my root partition NOT under EVMS and all my LVM2 stuff under EVMS, and you can probably do more, too.

Check out my post at http://forums.gentoo.org/viewtopic-p-2968522.html -- not perfect but it works for me.

-->VPutz
Top
Post Reply

7 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic