Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hello, i have one VM that we now want to use in a failover environment, i alredy set up a drbd device which syncs between servers. How to I have to partition, format the drbd device and how should I copy the old FS from the xen image? I mounted the XEN image with kpartx and loop to /media/old adn copied the FS to the mounted drbd device under /mnt. When I boot the VM i get a kernel panic: xvda: unknown partition table Registering block device major 8 Scanning and configuring dmraid supported devices Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! after that did partition the VM and mounted the partition with kpartx, so i could mount /dev/mapper/drbd0p1 to /mnt and again copied the files. But i have the same kernel panic again. fdisk /dev/drbd0 The number of cylinders for this disk is set to 1305. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): p Disk /dev/drbd0: 10.7 GB, 10737053696 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/drbd0p1 1 1305 10482381 83 Linux How are you doing this? greetings .r