Re: Warum kann ich das template nicht finden

Andreas Lehmler <[email protected]>
Newsgroups spline.eisxen
Organization spline
Message-ID <[email protected]>
Hallo heinz-Peter

> Ansonsten ist Handarbeit angesagt, also Anpassung der fstab, setzen von
> Links etc..

mom bin ich Eis-3 auf dem eisxen am installieren.

Wenn ich das richtig verstanden hab.
1. Das templet installiert mir einen eisfair1 auf der eisxen Maschine 
automatisch im Verzeichnis dev/vg/

***
AUTO_START='yes'            # start this domain when starting xend
IS_FLI4L='no'              # is this a fli4l domain?
HVM='no'                   # e.g. for windows
VNC_PASS='eis'
USE_CUSTOM_KERNEL='no'     # shall a custom kernel be used?
KERNEL='/boot/vmlinuz-xen' # path to the kernel
ROOT_DEVICE='/dev/hda1'    # will be append to kernel cmdline
KERNEL_PARAMS='ro quiet xencons=tty1'   # opt. kernel parameters
MEMORY='64'                # memory which will be allocated for the VM
BOOT='c'

DISK_N='2'

DISK_1_TYPE='phy'                      # file = filesystem image, phy = 
physical device of the host system
DISK_1_UNAME='/dev/vg/eis-3'      # path to the image file or physical 
devicename on the host system e.g. hda1
DISK_1_MAP_TO='hda1'                   # map UNAME to this devicename in 
the VM
DISK_1_MODE='w'                        # ro = read-only, w = read-write

DISK_2_TYPE='phy'                      # file = filesystem image, phy = 
physical device of the host system
DISK_2_UNAME='/dev/vg/eis-3-swap' # path to the image file or physical 
devicename on the host system e.g. hda1
DISK_2_MAP_TO='hda2'                   # map UNAME to this devicename in 
the VM
DISK_2_MODE='w'

***

Vorarbeit : Ich hab auf der sdb mit fdisk eine partion 1 angelegt und 
die mit ext3 formatiert; und lass die auch schon in der fstab 
hochmounten auf das verzeichnis /vm/

---

proc        /proc          proc       defaults               0 0
UUID=ac88fb38-f650-4db9-bcd2-710ac812a484 /              ext3 
defaults,errors=remount-ro,acl,user_xattr 0 1
UUID=6a24dbef-faca-4522-bd80-f947e7b1ec02 /boot      ext3 
defaults,errors=remount-ro,acl,user_xattr 0 1
UUID=f921ad1a-4e8b-6a0f-7bf6-50d169ffa914 none       swap       sw 
                 0 0
UUID=f2631166-16a0-4947-a57e-5d8bccf4ce3b /data      ext3 
defaults,errors=remount-ro,acl,user_xattr 0 2
/dev/cdrom  /media/cdrom   udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0    /media/floppy  auto        rw,user,noauto,exec,utf8 0 0
/dev/sdb1 /vm ext3 rw 0 0

---

Wenn ich aber den eis-3 auf eine andere Platte z.B. meine sdb
mit 6,4 GB freiem Platz haben will, muß

- Xen ausschalten
- die 2 Datein eis-3 und eis-3-swap

auf den neuen Platz umkopieren so das sie in /vm/ liegen und die 
xmdomu-eis-3 so Àndern, das ver Verweis auf den neuen Speicherplatz zeigt

***
DISK_1_UNAME='/vm/eis-3'
DISK_2_UNAME='/vm/eis-3-swap'
***

Dann den Xen wieder starten

So hab ich das zumindest verstanden.

Aber wenn ich den Xen wieder starte bekomm eich ne Fehlermeldung wenn er 
der eis-3 starten will

***

Start Xen...
  * Starting Xend 
   [ OK ]
  * Setting up Xen virtual network 
   [ OK ]
  * checking filesystem ..
e2fsck 1.40.8 (13-Mar-2008)
/dev/vg/eis-1: clean, 16366/131072 files, 244149/524288 blocks
checking kernel modules ..
Error: Unable to connect to xend: Broken pipe.
  * Starting Xen domain eis-1 
   [ OK ]
  * checking filesystem ..
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: No such file or directory while trying to open /vm/eis-3

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
     e2fsck -b 8193 <device>

checking kernel modules ..
Directory /lib/modules/ not found. Is this a Linux filesystem?
Error: Unable to connect to xend: Broken pipe.
  * Starting Xen domain eis-3
Internal error: Device 769 (vbd) could not be connected. 
/dev/mapper/vg-eis--3
does not exist..
 
[fail]
  * checking filesystem ..
e2fsck 1.40.8 (13-Mar-2008)
/dev/vg/eisfair1-2: clean, 16404/131072 files, 244256/524288 blocks
checking kernel modules ..
Error: Unable to connect to xend: Broken pipe.
  * Starting Xen domain eisfair1-2

***

Was lÀuft hier noch falsch ?

Gruß
Lemmi
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.