* Re: Grub not working under software RAID [not found] ` <BANLkTikqUkofwNNMBWQE=rLDzso8VUDj6w@mail.gmail.com> @ 2011-04-01 12:16 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 3+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-04-01 12:16 UTC (permalink / raw) To: Stelios A.; +Cc: The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 2079 bytes --] On 01.04.2011 13:53, Stelios A. wrote: > Hi, > > It's been almost 2 months and that was a production server so reverted > back to grub legacy. > > Please keep the list CC'ed. You don't need to do a complete install to gather the info in question. Just launch the said commands from compile directory, adding "./" when necessary. > Thanks however > > 2011/3/31 Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com>: > >> On 08.02.2011 07:48, Stelios A. wrote: >> >>> Hi all, >>> >>> I performed an upgrade from Lenny to Squeeze and didn't manage to >>> install successfully the grub boot loader. >>> See below the errors. >>> >>> ################## >>> backup:/tmp# 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:/tmp# /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 net. >>> /usr/sbin/grub-probe: info: changing current directory to shm. >>> /usr/sbin/grub-probe: info: changing current directory to pts. >>> /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? >> >> >>> _______________________________________________ >>> Bug-grub mailing list >>> Bug-grub@gnu.org >>> http://lists.gnu.org/mailman/listinfo/bug-grub >>> >>> >>> >> >> -- >> Regards >> Vladimir 'φ-coder/phcoder' Serbinenko >> >> >> >> > > > -- 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: <4D52EBFA.6040307@tortus.com>]
[parent not found: <4D94D420.8090505@gmail.com>]
[parent not found: <4D95E486.8030803@tortus.com>]
* 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: <4D95E852.20503@tortus.com>]
* Re: Grub not working under software RAID [not found] ` <4D95E852.20503@tortus.com> @ 2011-04-01 15:07 ` Vladimir 'φ-coder/phcoder' Serbinenko 0 siblings, 0 replies; 3+ messages in thread From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-04-01 15:07 UTC (permalink / raw) To: Sean Porth; +Cc: The development of GRUB 2 [-- Attachment #1: Type: text/plain, Size: 698 bytes --] On 01.04.2011 16:59, Sean Porth wrote: > 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] > How do you access those disks? Do you have /dev/sd[ab][13]. Is it some kind of VM? If none of /dev/sd[ab][13] /dev/sd[ab] exist it probably means that there is a bug in udev. Mdraid detection is probably done in kernel and so presence of nodes under /dev is irrelevant. But any action attempted with devices from userspace is obviously bound to fail. -- 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
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] <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 ` Grub not working under software RAID Vladimir 'φ-coder/phcoder' Serbinenko
[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
[not found] ` <4D95E852.20503@tortus.com>
2011-04-01 15:07 ` 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.