Port-xen archive

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

Re: Automatic file system check failed in NetBSD dom-U



Manuel Bouyer schrieb:

On Fri, Jan 27, 2006 at 06:55:02PM +0100, Rainer Brinkmöller wrote:
Hi,

i have the following problem at an NetBSD 3 / Xen 2.0.7 environment:

I did run a 'make install' for Xorg-Server and KDE in the dom-0 and 4 dom-U in a test environment at the same time. After a 2 days and nights it finished and all seems fine. Then shutdown the dom-U's stopped xend and shutdown the dom-0. A day later i'd start NetBSD as dom-0 again. All fine. The try to start the dom-U's. All did start with this output:
[...]
Can't open /dev/rwd0a: Device not configured
It looks like you changed the fstab. For a domU this should be /dev/xbd0a,
not /dev/wd0a.
For all who are as 'clever' as me, who override it's fstab in a dom-U by one out of dom-0.
You can try to recover it by these steps:

start the dom-U by "xm create -c <your_config_file>"
At the first prompt press ENTER for using /bin/sh
then type:
mount -t ffs /dev/xbd0a /
mount -t ffs /dev/xbd0e /usr
echo "/dev/xbd0a / ffs rw 1 1" >/etc/fstab
echo "/dev/xbd0b none swap sw 0 0" >>/etc/fstab
echo "/dev/xbd0e /usr ffs rw 1 2" >>/etc/fstab
echo "/dev/xbd0f /var ffs rw 1 2" >>/etc/fstab
echo "/dev/xbd0g /home ffs rw 1 2" >>/etc/fstab
echo "/dev/xbd0h /tmp ffs rw 1 2" >>/etc/fstab # only if mounted as /tmp instead of a mfs
echo "kernfs /kern kernfs rw" >>/etc/fstab
echo "procfs /proc procfs rw,noauto" >>/etc/fstab

Depends on your disklabel partition geometry in the dom-U.

And remember: Never override your config by preconfigured files ;)



Home | Main Index | Thread Index | Old Index