Victor Stein - 2013-06-05

hello folks,

I tried to upgrade from Proxmox VE 2.3 / Debian Squeeze to Proxmox VE 3.0 / Debian Wheezy on a Dedicated Server at Hetzner, Germany
I have to use LVMs for better resizing VMs in Proxmox VE.
Unfortunately grub won't boot into md/0 SWRaid after reboot. I tried it twice.
When I will do this next time I will run into a Rescue Console from RAM where I'm only able to mount my normal partitions.
But it's possible to rent a Peppercorn KSM Module for 25€ - so I can see the grub rescue shell
But now I haven't rebootet and hope for some nice suggestions what to change in my config to boot into the right partition.

grub-install /dev/md0 --debug ran into segmentation fault

Sorry for my simple English. I will try to improve it...
Thanks in advance and Greetings from Dresden, Germany

Here is the output of the bootinfo script:

              Boot Info Script 0.61      [1 April 2012]

============================= Boot Info Summary: ===============================

=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
2048 of the same hard drive for core.img. core.img is at this location and
looks for (md/0)/grub on this drive.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
2048 of the same hard drive for core.img. core.img is at this location and
looks for (md/0)/grub on this drive.

sda1: ______________

File system:       linux_raid_member
Boot sector type:  -
Boot sector info:

sda2: ______________

File system:       linux_raid_member
Boot sector type:  -
Boot sector info:

sda3: ______________

File system:       linux_raid_member
Boot sector type:  -
Boot sector info:

sda4: ______________

File system:       BIOS Boot partition
Boot sector type:  Grub2's core.img
Boot sector info:

sdb1: ______________

File system:       linux_raid_member
Boot sector type:  -
Boot sector info:

sdb2: ______________

File system:       linux_raid_member
Boot sector type:  -
Boot sector info:

sdb3: ______________

File system:       linux_raid_member
Boot sector type:  -
Boot sector info:

sdb4: ______________

File system:       BIOS Boot partition
Boot sector type:  Grub2's core.img
Boot sector info:

vg1-vz': ___________

File system:       
Boot sector type:  Unknown
Boot sector info: 
Mounting failed:   mount: unknown filesystem type ''

vg0-root': ___________

File system:       
Boot sector type:  Unknown
Boot sector info: 
Mounting failed:   mount: unknown filesystem type ''

mount: unknown filesystem type ''

vg0-swap': ___________

File system:       
Boot sector type:  Unknown
Boot sector info: 
Mounting failed:   mount: unknown filesystem type ''

mount: unknown filesystem type ''
mount: unknown filesystem type ''

vg0-backup': _____________

File system:       
Boot sector type:  Unknown
Boot sector info: 
Mounting failed:   mount: unknown filesystem type ''

mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''

md/0: ______________

File system:       ext3
Boot sector type:  -
Boot sector info: 
Mounting failed:   mount: unknown filesystem type ''

mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: /dev/md0 already mounted or MDRaid/md/0 busy
mount: according to mtab, /dev/md0 is mounted on /boot

md/1: ______________

File system:       LVM2_member
Boot sector type:  -
Boot sector info:

md/2: ______________

File system:       LVM2_member
Boot sector type:  -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda ___________

Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 4,294,967,295 4,294,967,295 ee GPT

GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 4,096 8,392,703 8,388,608 RAID partition (Linux)
/dev/sda2 8,392,704 847,253,503 838,860,800 RAID partition (Linux)
/dev/sda3 847,253,504 2,639,307,662 1,792,054,159 RAID partition (Linux)
/dev/sda4 2,048 4,095 2,048 BIOS Boot partition

Drive: sdb ___________

Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT

GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sdb1 4,096 8,392,703 8,388,608 RAID partition (Linux)
/dev/sdb2 8,392,704 847,253,503 838,860,800 RAID partition (Linux)
/dev/sdb3 847,253,504 2,639,307,662 1,792,054,159 RAID partition (Linux)
/dev/sdb4 2,048 4,095 2,048 BIOS Boot partition

"blkid" output: __________

Device UUID TYPE LABEL

/dev/mapper/vg0-backup 8ff66607-6ecc-4f45-9a19-01dbe5465c94 ext3
/dev/mapper/vg0-root e6d5a625-f9a9-4aee-9d91-aef0e84d53fa ext3
/dev/mapper/vg0-swap 554680ac-c189-4d59-8dab-9325235f5b14 swap
/dev/mapper/vg1-vz 51fc7728-9510-42a2-88cb-21593ce1c344 ext3
/dev/md0 8ed390c0-014f-42fd-a1a5-8feb38d65473 ext3
/dev/md/0 8ed390c0-014f-42fd-a1a5-8feb38d65473 ext3
/dev/md1 sbhKlo-rgqU-qX10-GXdX-gKgG-vGks-lEhDn4 LVM2_member
/dev/md/1 sbhKlo-rgqU-qX10-GXdX-gKgG-vGks-lEhDn4 LVM2_member
/dev/md2 liOd23-8Wz1-qE3E-iy7n-7ykj-CmZY-9eStmk LVM2_member
/dev/md/2 liOd23-8Wz1-qE3E-iy7n-7ykj-CmZY-9eStmk LVM2_member
/dev/sda1 95209a70-8ad6-a7c1-74e0-063b8ce6d96b linux_raid_member rescue:0
/dev/sda2 774f165b-ea80-0f80-1780-948b658e626a linux_raid_member rescue:1
/dev/sda3 23d44b76-825b-9af6-63d4-4e075a52722b linux_raid_member rescue:2
/dev/sdb1 95209a70-8ad6-a7c1-74e0-063b8ce6d96b linux_raid_member rescue:0
/dev/sdb2 774f165b-ea80-0f80-1780-948b658e626a linux_raid_member rescue:1
/dev/sdb3 23d44b76-825b-9af6-63d4-4e075a52722b linux_raid_member rescue:2

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
vg0-backup
vg0-root
vg0-swap
vg1-vz

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/fuse /etc/pve fuse (rw,nosuid,nodev,default_permissions,allow_other)
/dev/mapper/vg0-backup /backup ext3 (rw)
/dev/mapper/vg0-root / ext3 (rw)
/dev/mapper/vg1-vz /var/lib/vz ext3 (rw)
/dev/md0 /boot ext3 (rw)
/dev/shm /run/shm none (rw,bind)

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on vg1-vz'

Unknown BootLoader on vg0-root'

Unknown BootLoader on vg0-swap'

Unknown BootLoader on vg0-backup'

=============================== StdErr Messages: ===============================

One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg1-vz': No such file or directory
hexdump: /dev/mapper/vg1-vz': No such file or directory
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg0-root': No such file or directory
hexdump: /dev/mapper/vg0-root': No such file or directory
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg0-swap': No such file or directory
hexdump: /dev/mapper/vg0-swap': No such file or directory
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
One or more specified logical volume(s) not found.
hexdump: /dev/mapper/vg0-backup': No such file or directory
hexdump: /dev/mapper/vg0-backup': No such file or directory