Newbie on EVMS: 'Error code 19 activating object ... No such device' errors for all volumes under /dev/evms/

James Gallagher <[email protected]>
Newsgroups gmane.linux.evms.devel
Message-ID <[email protected]>
Hi,

I'm getting an error 'No such device' when I try to save from the  
evmsgui, so I'm having trouble moving on to setup snapshotting - my  
main reason for moving to EVMS.

I've just started to use EVMS after having previously used LVM2 at a  
very basic level (to provide volumes for the xen guests on this  
machine). I'm running Debian 3.1 (against testing repositories) with  
a Xen 3.0.2 kernel (this system is the dom0). It's a 2.6.16-xen  
kernel which has been patched with the bd-claim patch. I've taken on  
all the engine patches for 2.5.5 prior to compiling the tools. The  
LVM2 volumes aren't mounted by me - they're used exclusively by Xen,  
so I've modified /etc/evms.conf from the default installed when I  
compile evms-2.5.5 so that I have:
activate {

         # Names of volumes and objects that should be activated.
         #
         # Names can be specified using "*", "?", and "[...]" notations.

         include = [ * ]

         # Names of volumes and objects that should not be activated.
         #
         # Names can be specified using "*", "?", and "[...]" notations.

         exclude = [ /dev/evms/lvm2/Storage/* ]
}

(Storage is the only container currently defined)

Quick check on my understanding of how things work: Am I correct  
excluding those volumes because I'm not going to mount them i.e. I'm  
just leaving them to Xen as is?

I'm using evmsgui until I understand things a bit better (so, if you  
need me to run any of the CLI utilities I'll probably need quite  
explicit instructions) and when I try to do a save I'm getting an  
error 'No such device'. When I look at the /var/log/evms-engine.log  
I'm getting a lot of errors. If it's useful, I can mail the entire  
log file but for now, I'll try to pick out the unique error messages.

At the start I'm getting:
Mar 02 00:25:00 eire.igallagher.com _5_ Engine:  
load_module_plugins:   short name:  SWAPFS
Mar 02 00:25:00 eire.igallagher.com _5_ Engine:  
load_module_plugins:   long name:   Swap File System Interface Module
Mar 02 00:25:00 eire.igallagher.com _5_ Engine:  
load_module_plugins:   version:     1.1.13
Mar 02 00:25:00 eire.igallagher.com _3_ Engine: do_fork_and_execvp:  
execvp() failed.  errno is 2: No such file or directory
Mar 02 00:25:00 eire.igallagher.com _5_ Bad plug-in pointer: try_run:  
mkdosfs completed with exit code 2.
Mar 02 00:25:00 eire.igallagher.com _3_ Engine: do_fork_and_execvp:  
execvp() failed.  errno is 2: No such file or directory
Mar 02 00:25:00 eire.igallagher.com _5_ Bad plug-in pointer: try_run:  
dosfsck completed with exit code 2.

And similarly for fatresize, mkntfs, ntfsfix and ReiserFS - I'm not  
using any of these so I'm making (shout at me if I'm wrong here!) an  
assumption that I can ignore these for the time being.

When I do my save, I'm then getting a series of 'Change pending'  
messages which then produce errors (for all the pending changes):
Mar 02 00:31:38 eire.igallagher.com _5_ Engine:  
is_volume_change_pending: Change pending: Volume /dev/evms/hda1 needs  
to be activated.
Mar 02 00:31:38 eire.igallagher.com _5_ Engine:  
is_volume_change_pending: Change pending: Volume /dev/evms/hda2 needs  
to be activated.
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate_object:  
Error code 19 activating object hda3: No such device
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate: Error code  
19 activating object hda1: No such device
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate: Error code  
19 activating object hda2: No such device
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate: Error code  
19 activating object hda3: No such device
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate_object:  
Error code 19 activating object hda3: No such device
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate: Error code  
19 activating object lvm2/Storage/Home: No such device
Mar 02 00:31:38 eire.igallagher.com _2_ Engine: run_command_v4: Error  
returned from ioctl call: 22: Invalid argument.
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate_object:  
Error code 19 activating object hda3: No such device
Mar 02 00:31:38 eire.igallagher.com _3_ Engine: activate: Error code  
19 activating object lvm2/Storage/donegalDebian31home: No such device

These messages are repeated for the remainder of the volumes I have  
in the 'Storage' container. At this point I'm not continuing to try  
and set up the containers that I'll use to do snapshots until I  
resolve these errors.

In /var/log/messages I'm also seeing errors like:
Mar  2 00:25:01 eire kernel: hdc: packet command error: status=0x51  
{ DriveReady SeekComplete Error }
Mar  2 00:25:01 eire kernel: hdc: packet command error: error=0x54  
{ AbortedCommand LastFailedSense=0x05 }
(The incidence of these messages seem to correspond to the times  
during today that I used evmsgui.)

Thanks, for taking the time to read this far - sorry if I waffled on.  
If you could give me any suggestions, links to pages I should read (I  
haven't been able to turn up anything on Google that I'm able to use,  
thus far) or help I'd appreciate it.

Cheers,
James

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Evms-devel mailing list
[email protected]
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.