Comment 9 for bug 688261

Revision history for this message
Peter Petrakis (peter-petrakis) wrote : Re: [Bug 688261] Re: When in a multipath, boot from SAN environment, update-grub will make the system unbootable

@Colin

Before MP install:

root@kickseed:~# grub-probe --target=fs -v /boot/grub
grub-probe: info: cannot open `/boot/grub/device.map'.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: /dev/sda1 starts from 2048.
grub-probe: info: opening the device /dev/sda.
grub-probe: info: the size of /dev/sda is 20971520.
grub-probe: info: DOS partition 0 starts from 2048.
grub-probe: info: opening /dev/sda,1.
grub-probe: info: the size of /dev/sda is 20971520.
ext2

After MP install and reboot:

root@kickseed:~# multipath -ll
2222b0001554cc9b6dm-0 Intel ,Multi-Flex
[size=10G][features=1 queue_if_no_path][hwhandler=1 alua]
\_ round-robin 0 [prio=130][active]
 \_ 0:0:1:0 sdb 8:16 [active][ready]
\_ round-robin 0 [prio=1][enabled]
 \_ 0:0:0:0 sda 8:0 [active][ready]

root@kickseed:~# grub-probe --target=fs -v /boot/grub
grub-probe: info: cannot open `/boot/grub/device.map'.
grub-probe: info: changing current directory to /dev.
grub-probe: info: changing current directory to shm.
grub-probe: info: changing current directory to disk.
grub-probe: info: changing current directory to by-uuid.
grub-probe: info: changing current directory to by-id.
grub-probe: info: changing current directory to bsg.
grub-probe: info: changing current directory to char.
grub-probe: info: changing current directory to block.
grub-probe: info: changing current directory to pts.
grub-probe: info: changing current directory to mapper.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: the size of hd0 is 20971520.
grub-probe: info: opening 2222b0001554cc9b6-part1.
grub-probe: error: no mapping exists for `2222b0001554cc9b6-part1'.

On 01/04/2011 07:17 AM, Colin Watson wrote:
> I would definitely rather fix grub-probe. Could you please attach the
> output of 'sudo grub-probe --target=fs -v /boot/grub'?
>
> ** Changed in: grub2 (Ubuntu)
> Status: In Progress => Incomplete
>