From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: Sean Porth <sporth@tortus.com>,
The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Grub not working under software RAID
Date: Fri, 01 Apr 2011 16:54:14 +0200 [thread overview]
Message-ID: <4D95E716.9060503@gmail.com> (raw)
In-Reply-To: <4D95E486.8030803@tortus.com>
[-- 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 --]
next parent reply other threads:[~2011-04-01 14:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4D52EBFA.6040307@tortus.com>
[not found] ` <4D94D420.8090505@gmail.com>
[not found] ` <4D95E486.8030803@tortus.com>
2011-04-01 14:54 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
[not found] ` <4D95E852.20503@tortus.com>
2011-04-01 15:07 ` Grub not working under software RAID 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D95E716.9060503@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
--cc=sporth@tortus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.