* Re: Grub not working under software RAID
[not found] ` <4D95E486.8030803@tortus.com>
@ 2011-04-01 14:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
[not found] ` <4D95E852.20503@tortus.com>
0 siblings, 1 reply; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-04-01 14:54 UTC (permalink / raw)
To: Sean Porth, The development of GRUB 2
[-- Attachment #1: Type: text/plain, Size: 2657 bytes --]
On 01.04.2011 16:43, Sean Porth wrote:
>
>
> On 03/31/11 15:21, Vladimir 'Æ-coder/phcoder' Serbinenko wrote:
> > On 09.02.2011 20:33, Sean Porth wrote:
> >> I have the same exact issue. Upgrading to Debian squeeze. I even
> upgraded the grub2 package to the Debian unstable version (1.99~rc1-2)
> and same error.
> >>
> >> backup:/etc# grub-install /dev/md0
> >> /usr/sbin/grub-probe: error: no such disk.
> >> Auto-detection of a filesystem of /dev/md0 failed.
> >> Please report this together with the output of
> "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs
> -v /boot/grub" to <bug-grub@gnu.org>
> >>
> >> backup:/etc# /usr/sbin/grub-probe
> --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
> >> /usr/sbin/grub-probe: info: changing current directory to /dev.
> >> /usr/sbin/grub-probe: info: changing current directory to disk.
> >> /usr/sbin/grub-probe: info: changing current directory to by-uuid.
> >> /usr/sbin/grub-probe: info: changing current directory to by-id.
> >> /usr/sbin/grub-probe: info: changing current directory to block.
> >> /usr/sbin/grub-probe: info: opening md0.
> >> /usr/sbin/grub-probe: error: no such disk.
> >>
> >>
> > Could you supply the output of following commands:
> > cat /proc/mdstat
> > grub-fstest -d all -c `ls /dev/sd?|wc -l` /dev/sd? ls -- -l
> > as well as first and last 128K of every array member?
>
> backup:~# cat /proc/mdstat
> Personalities : [linear] [raid1]
> md1 : active raid1 sdb3[1] sda3[0]
> 945513536 blocks [2/2] [UU]
>
> md0 : active raid1 sdb1[1] sda1[0]
> 29294400 blocks [2/2] [UU]
>
> unused devices: <none>
>
> --
>
> backup:/usr/src/grub-1.98# ./grub-fstest -d all -c `ls /dev/sd?|wc -l`
> /dev/sd? ls -- -l
> ls: cannot access /dev/sd?: No such file or directory
> Invalid disk count.
> Try `./grub-fstest --help' for more information.
>
>
> I think the grub-fstest is showing the crux of the problem. After the
> upgrade to squeeze I no longer have /dev/sda and /dev/sdb , all though
> md seems to have no problem finding them.
>
Have you tried executing grub-mkdevicemap? Actually the normal way to
launch grub-fstest is:
./grub-fstest -d all -c N <DEVICES> ls -- -l
Where DEVICES is devices in the md array and N is the number of them.
The part with sd? was just a quick hack to detect this things for error
reporting.
>
> >> _______________________________________________
> >> Bug-grub mailing list
> >> Bug-grub@gnu.org
> >> http://lists.gnu.org/mailman/listinfo/bug-grub
> >>
> >>
>
>
>
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <AANLkTi=F+Ow2tszKQ+FBDtwLSYgev=sJA6Pjubm1MSBs@mail.gmail.com>]
end of thread, other threads:[~2011-04-01 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4D52EBFA.6040307@tortus.com>
[not found] ` <4D94D420.8090505@gmail.com>
[not found] ` <4D95E486.8030803@tortus.com>
2011-04-01 14:54 ` Grub not working under software RAID Vladimir 'φ-coder/phcoder' Serbinenko
[not found] ` <4D95E852.20503@tortus.com>
2011-04-01 15:07 ` Vladimir 'φ-coder/phcoder' Serbinenko
[not found] <AANLkTi=F+Ow2tszKQ+FBDtwLSYgev=sJA6Pjubm1MSBs@mail.gmail.com>
[not found] ` <4D94D452.3010702@gmail.com>
[not found] ` <BANLkTikqUkofwNNMBWQE=rLDzso8VUDj6w@mail.gmail.com>
2011-04-01 12:16 ` Vladimir 'φ-coder/phcoder' Serbinenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.