Muhammed Syyid wrote:
Before stating the actual issue, how do I modify the configuration files to
remove a domain without xen loading. Basically I screwed up one of the domains
disk preventing xen from loading
The error I'm getting at bootup is
svc:/system/xvm/store:default: Method "/lib/svc/method/xenstored start" failed
with exit status 96
system/xvm/store:default misconfigured: transitioned to maintenance (see 'svcs
-xv' for details)
svcs -xv
svc:/system/xvm/store:default (Hypervisor Store Daemon)
State: maintenance since November 9, 2009 4:48:28 PM EST
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M xenstored
See: /var/svc/log/system-xvm-store:default.log
Impact: 4 dependent services are not running:
svc:/system/xvm/xend:default
svc:/system/xvm/domains:default
svc:/system/xvm/console:default
svc:/system/xvm/virtd:default
Hmm, did you boot back into metal? Does a "uname -a" show
i86pc or i86xpv?
The domain was a fresh install - I'm more then happy to nuke
> it and/or rollback xen itself (and reinstall it) but have no
> idea how to do either (most of the destroy methods rely on
> xen actually working)
How I got into the mess :D
1) I'm using snv_126 and installed xen.
2) I was able to do the install / reboot in dom0 successfully
3) i then proceeded to install a centos domu which was also successful.
(I did this with a zvol at /tank/vm/centos54/disk0. I first did a
> mkdir /tank/vm/centos54 before creating the vm itself with the zvol disk
parameter
4) After everything was working satisfactorily I did a reboot (to get rid of the nfs mounted centos dvd) and everything went to hell..
Rebooted dom0 or the domU?
5) Initial error = /tank/vm is not empty - cannot mount.
6) I tried removing /tank/vm/centos but was unable to (device busy).
what's the output of zfs list? What your going to want to do
is zfs umount -f /tank/vm, then remove the directory, then zfs
mount it.. Be very careful and make sure you really unmounted
zfs before you start removing things.
7) I then succeeded in doing a mv which was successful
8) On reboot I got a large number of out of swap space errors
example of one?
9) I rebooted into the pre-xen environment
10) I rebooted into the xen environment again which booted but
> gave the error mentioned in the beginning of the post
i'm presuming with the mv I messed up where its looking for
> disks and xen before loading checks if all the disks are around
> and fails at that point (pure conjecture on my part).
No... If xenstore isn't working, you are never touching
anything guest related.
Any advice on what config files to modify and how to eliminate
> the zfs zvol to get xen to a pristine state
or any other advice to get a working system again?
Your system is is fine... It doesn't sound like there is
any permanent damage. It should be easy to recover..
First thing to figure out is why xenstore isn't starting.
I'm guessing your booting into metal and not into the
hypervisor.
MRJ
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org