[Bug 1093918] Re: grub-probe auto-detection fails on raid

Ing. Josef Klotzner 1093918 at bugs.launchpad.net
Fri Dec 28 22:07:08 UTC 2012


if 'parted -l' is used within grub-probe this could cause problems, as i
saw -- i only could get an output by two times ignoring errors as you
can see  ....   maybe this could also help:


josef at josef-maxtor-quad:~$ sudo parted -l
Modell: ATA ST31000528AS (scsi)
Festplatte  /dev/sda:  1000GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos

Nummer  Anfang  Ende    Größe   Typ       Dateisystem     Flags
 1      32,3kB  32,2GB  32,2GB  primary   ntfs
 2      32,2GB  75,2GB  43,0GB  primary   ntfs            boot
 3      75,2GB  988GB   912GB   primary   ntfs
 4      988GB   1000GB  12,6GB  extended
 5      988GB   998GB   10,5GB  logical   ext4
 6      998GB   1000GB  2095MB  logical   linux-swap(v1)


Fehler: Partitionen ausserhalb der Festplatte sind nicht möglich!         

Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje6:  1815GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem  Flags
 1      0,00B   1815GB  1815GB  ntfs


Fehler: Das Argument ist ungültig, während /dev/mapper/via_jehhchjje3 zum Lesen
positioniert wurde
Wiederholen/Retry/Ignorieren/Ignore/Abbrechen/Cancel? i                   
parted: Unbekanntes Zeichen: i
Wiederholen/Retry/Ignorieren/Ignore/Abbrechen/Cancel? I                   
parted: Unbekanntes Zeichen: I
Wiederholen/Retry/Ignorieren/Ignore/Abbrechen/Cancel? r                   
Fehler: Das Argument ist ungültig, während /dev/mapper/via_jehhchjje3 zum Lesen positioniert wurde
Wiederholen/Retry/Ignorieren/Ignore/Abbrechen/Cancel? ignore
Fehler: Ungültige Partitionstabelle auf /dev/mapper/via_jehhchjje3 -- falsche Signatur 0.
Ignorieren/Ignore/Abbrechen/Cancel? ignore                                
Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje3:  1905GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos

Nummer  Anfang  Ende    Größe   Typ       Dateisystem  Flags
 1      1024B   52,4GB  52,4GB  primary   ntfs
 2      52,4GB  1867GB  1815GB  extended
 5      52,4GB  1867GB  1815GB  logical   ntfs


Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje1:  43,0GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem  Flags
 1      0,00B   43,0GB  43,0GB  ntfs


Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje2:  52,4GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem  Flags
 1      0,00B   52,4GB  52,4GB  ntfs


Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje5:  52,4GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem  Flags
 1      0,00B   52,4GB  52,4GB  ntfs


Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje9:  2096MB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem     Flags
 1      0,00B   2096MB  2096MB  linux-swap(v1)


Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje7:  21,0GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem  Flags
 1      0,00B   21,0GB  21,0GB  ext4


Modell: Linux-Device-Mapper (linear) (dm)
Festplatte  /dev/mapper/via_jehhchjje8:  14,7GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: loop

Nummer  Anfang  Ende    Größe   Dateisystem  Flags
 1      0,00B   14,7GB  14,7GB  ext4


Modell: Linux-Device-Mapper (striped) (dm)
Festplatte  /dev/mapper/via_jehhchjje:  2000GB
Sektorgröße (logisch/physisch): 512B/512B
Partitionstabelle: msdos

Nummer  Anfang  Ende    Größe   Typ       Dateisystem     Flags
 1      8225kB  43,0GB  43,0GB  primary   ntfs            boot
 2      43,0GB  95,4GB  52,4GB  primary   ntfs
 3      95,4GB  2000GB  1905GB  extended
 5      95,4GB  148GB   52,4GB  logical   ntfs
 6      148GB   1963GB  1815GB  logical   ntfs
 7      1963GB  1984GB  21,0GB  logical   ext4            RAID
 8      1984GB  1998GB  14,7GB  logical   ext4            RAID
 9      1998GB  2000GB  2096MB  logical   linux-swap(v1)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1093918

Title:
  grub-probe auto-detection fails on raid

Status in “grub2” package in Ubuntu:
  New

Bug description:
  grub-probe auto-detection fails on raid, which can be seen f.e. on update-grub on separate hd in system.
  error messages:
  grub-probe: Fehler: cannot find a GRUB drive for /dev/mapper/via_jehhchjje7.  Check your device.map.
  grub-probe: Fehler: cannot find a GRUB drive for /dev/mapper/via_jehhchjje8.  Check your device.map.

  installation of grub in MBR of raid not possible. It was no problem
  until ubuntu 11.10, which still is in use on raid to boot from (ubuntu
  on raid /dev/mapper/via_jehhchjje7  ext4), because upgrade to 12.04 is
  not possible. There are really many users. also on servers effected,
  when you study the web via search engine  !!!!

  interesting thing is:
  josef at josef-maxtor-quad:~$ ls -al /dev/mapper
  insgesamt 0
  drwxr-xr-x  2 root root     240 Dez 27  2012 .
  drwxr-xr-x 17 root root    4840 Dez 27 00:38 ..
  crw-------  1 root root 10, 236 Dez 27 00:33 control
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje -> ../dm-0
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje1 -> ../dm-1
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje2 -> ../dm-2
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje3 -> ../dm-3
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje5 -> ../dm-4
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje6 -> ../dm-5
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje7 -> ../dm-6
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje8 -> ../dm-7  ...  here is  ubuntu 11.10 on raid
  lrwxrwxrwx  1 root root       7 Dez 27 00:33 via_jehhchjje9 -> ../dm-8

  there is a link ->>        via_jehhchjje7 -> ../dm-6

  while

  josef at josef-maxtor-quad:~$ sudo grub-probe -vd /dev/mapper/via_jehhchjje7
  [sudo] password for josef:
  grub-probe: Info: Scanning for dmraid_nv RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for dmraid_nv RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: scanning hd2 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: scanning hd3 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos6.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos5.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos3.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos1.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos9.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos8.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos7.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos6.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos5.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos2.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos1.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos6.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos5.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos3.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos1.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos9.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos8.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos7.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos6.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos5.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos2.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos1.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: scanning hd2 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: scanning hd2,msdos6 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos5 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos3 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos2 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos1 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: scanning hd3,msdos9 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos8 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos7 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos6 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos5 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos2 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos1 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: changing current directory to /dev/mapper.
  grub-probe: Info: changing current directory to /dev/mapper.
  grub-probe: Info: changing current directory to /dev/mapper.
  grub-probe: Info: /dev/mapper/via_jehhchjje7 starts from 3647028107.
  grub-probe: Info: opening the device /dev/mapper/via_jehhchjje3.                                      <<  why is it opening jehhchjje3    ???
  grub-probe: Info: the size of /dev/mapper/via_jehhchjje3 is 3720743606.                          <<  of course following lines
  grub-probe: Info: Partition 0 starts from 2.                                                                                  <<  end up in error therefore
  grub-probe: Info: Partition 4 starts from 102404790.
  grub-probe: Fehler: cannot find a GRUB drive for /dev/mapper/via_jehhchjje7.  Check your device.map.

  throws errors                 (as it is in use inside calling update-
  grub)

  calling the link target throws NO ERROR  !!!

  josef at josef-maxtor-quad:~$ sudo grub-probe -vd /dev/dm-6
  grub-probe: Info: Scanning for dmraid_nv RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for dmraid_nv RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: scanning hd2 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: scanning hd3 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos6.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos5.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos3.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd2,msdos1.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos9.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos8.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos7.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos6.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos5.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos2.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid09 RAID devices on disk hd3,msdos1.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos6.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos5.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos3.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos2.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd2,msdos1.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos9.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos8.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos7.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos6.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos5.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos2.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: Scanning for mdraid1x RAID devices on disk hd3,msdos1.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: scanning hd2 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: scanning hd2,msdos6 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos5 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos3 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos2 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd2,msdos1 for LVM.
  grub-probe: Info: the size of hd2 is 1953525168.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: scanning hd3,msdos9 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos8 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos7 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos6 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos5 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos2 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: scanning hd3,msdos1 for LVM.
  grub-probe: Info: the size of hd3 is 3907050240.
  grub-probe: Info: no LVM signature found.
  grub-probe: Info: opening /dev/dm-6.                                                  <<<   OK
  grub-probe: Info: the size of /dev/dm-6 is 40949622.
  ext2

  ok  ---   the erronous part a little bit more in detail:

  josef at josef-maxtor-quad:~$ sudo strace grub-probe -vd /dev/mapper/via_jehhchjje7
  //                   top part of output skipped from terminal window  :D
  (2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5f50)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5f5c)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "Scanning for mdraid1x RAID devic"..., 53Scanning for mdraid1x RAID devices on disk hd3,msdos2) = 53
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5f50)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5f5c)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje2", O_RDONLY|O_SYNC) = 4
  lseek(4, 52427895296, SEEK_SET)         = 52427895296
  read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 32768
  brk(0x156e000)                          = 0x156e000
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "Scanning for mdraid1x RAID devic"..., 53Scanning for mdraid1x RAID devices on disk hd3,msdos1) = 53
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5f50)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5f5c)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd2 for LVM", 20scanning hd2 for LVM)    = 20
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5fb0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5fbc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd2,msdos6 for LVM", 27scanning hd2,msdos6 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd2,msdos5 for LVM", 27scanning hd2,msdos5 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd2,msdos3 for LVM", 27scanning hd2,msdos3 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd2,msdos2 for LVM", 27scanning hd2,msdos2 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd2,msdos1 for LVM", 27scanning hd2,msdos1 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/sda", O_RDONLY)              = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd2 is 1953525168", 29the size of hd2 is 1953525168) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3 for LVM", 20scanning hd3 for LVM)    = 20
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5fb0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5fbc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos9 for LVM", 27scanning hd3,msdos9 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos8 for LVM", 27scanning hd3,msdos8 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos7 for LVM", 27scanning hd3,msdos7 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos6 for LVM", 27scanning hd3,msdos6 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos5 for LVM", 27scanning hd3,msdos5 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos2 for LVM", 27scanning hd3,msdos2 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "scanning hd3,msdos1 for LVM", 27scanning hd3,msdos1 for LVM) = 27
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 0), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5cc0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5ccc)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of hd3 is 3907050240", 29the size of hd3 is 3907050240) = 29
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "no LVM signature found", 22no LVM signature found)  = 22
  write(2, ".\n", 2.
  )                      = 2
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4840, ...}) = 0
  lstat("/dev/mapper", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0
  lstat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  readlink("/dev/mapper/via_jehhchjje7", "../dm-6", 4095) = 7
  lstat("/dev/dm-6", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  ioctl(3, DM_TABLE_DEPS, 0x13e6d30)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x151d830)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x154d890)      = 0
  ioctl(3, DM_TABLE_STATUS, 0x13e6c80)    = 0
  openat(AT_FDCWD, "/dev/mapper", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
  getcwd(0x13a4450, 10)                   = -1 ERANGE (Numerical result out of range)
  getcwd("/home/josef", 20)               = 12
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "changing current directory to /d"..., 41changing current directory to /dev/mapper) = 41
  write(2, ".\n", 2.
  )                      = 2
  chdir("/dev/mapper")                    = 0
  getdents(4, /* 12 entries */, 32768)    = 440
  lstat("via_jehhchjje3", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  stat("via_jehhchjje3", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 3), ...}) = 0
  getcwd(0x13b4ba0, 10)                   = -1 ERANGE (Numerical result out of range)
  getcwd("/dev/mapper", 20)               = 12
  chdir("/home/josef")                    = 0
  close(4)                                = 0
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  ioctl(3, DM_TABLE_DEPS, 0x151d830)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x154d890)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x15518a0)      = 0
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4840, ...}) = 0
  lstat("/dev/mapper", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0
  lstat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  readlink("/dev/mapper/via_jehhchjje7", "../dm-6", 4095) = 7
  lstat("/dev/dm-6", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  ioctl(3, DM_TABLE_DEPS, 0x151d830)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x154d890)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x15518a0)      = 0
  ioctl(3, DM_TABLE_STATUS, 0x151d830)    = 0
  openat(AT_FDCWD, "/dev/mapper", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
  getcwd(0x13a4450, 10)                   = -1 ERANGE (Numerical result out of range)
  getcwd("/home/josef", 20)               = 12
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "changing current directory to /d"..., 41changing current directory to /dev/mapper) = 41
  write(2, ".\n", 2.
  )                      = 2
  chdir("/dev/mapper")                    = 0
  getdents(4, /* 12 entries */, 32768)    = 440
  lstat("via_jehhchjje3", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  stat("via_jehhchjje3", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 3), ...}) = 0
  getcwd(0x13b4ba0, 10)                   = -1 ERANGE (Numerical result out of range)
  getcwd("/dev/mapper", 20)               = 12
  chdir("/home/josef")                    = 0
  close(4)                                = 0
  lstat("/dev", {st_mode=S_IFDIR|0755, st_size=4840, ...}) = 0
  lstat("/dev/mapper", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0
  lstat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  readlink("/dev/mapper/via_jehhchjje7", "../dm-6", 4095) = 7
  lstat("/dev/dm-6", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  ioctl(3, DM_TABLE_DEPS, 0x154d890)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x15518a0)      = 0
  ioctl(3, DM_TABLE_DEPS, 0x15558b0)      = 0
  ioctl(3, DM_TABLE_STATUS, 0x154d890)    = 0
  openat(AT_FDCWD, "/dev/mapper", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
  getcwd(0x13e5810, 10)                   = -1 ERANGE (Numerical result out of range)
  getcwd("/home/josef", 20)               = 12
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "changing current directory to /d"..., 41changing current directory to /dev/mapper) = 41
  write(2, ".\n", 2.
  )                      = 2
  chdir("/dev/mapper")                    = 0
  getdents(4, /* 12 entries */, 32768)    = 440
  lstat("via_jehhchjje3", {st_mode=S_IFLNK|0777, st_size=7, ...}) = 0
  stat("via_jehhchjje3", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 3), ...}) = 0
  getcwd(0x13a4450, 10)                   = -1 ERANGE (Numerical result out of range)
  getcwd("/dev/mapper", 20)               = 12
  chdir("/home/josef")                    = 0
  close(4)                                = 0
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  stat("/dev/mapper/via_jehhchjje7", {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 6), ...}) = 0
  ioctl(3, DM_TABLE_STATUS, 0x15518a0)    = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "/dev/mapper/via_jehhchjje7 start"..., 49/dev/mapper/via_jehhchjje7 starts from 3647028107) = 49
  write(2, ".\n", 2.
  )                      = 2
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "opening the device /dev/mapper/v"..., 45opening the device /dev/mapper/via_jehhchjje3) = 45
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje3", O_RDONLY) = 4
  fstat(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(252, 3), ...}) = 0
  ioctl(4, BLKGETSIZE64, 0x7fff11cf5ea0)  = 0
  ioctl(4, BLKSSZGET, 0x7fff11cf5eac)     = 0
  close(4)                                = 0
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "the size of /dev/mapper/via_jehh"..., 52the size of /dev/mapper/via_jehhchjje3 is 3720743606) = 52
  write(2, ".\n", 2.
  )                      = 2
  open("/dev/mapper/via_jehhchjje3", O_RDONLY|O_SYNC) = 4
  lseek(4, 0, SEEK_SET)                   = 0
  read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
  read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32256) = 32256
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "Partition 0 starts from 2", 25Partition 0 starts from 2) = 25
  write(2, ".\n", 2.
  )                      = 2
  lseek(4, 52427882496, SEEK_SET)         = 52427882496
  read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 32768
  write(2, "grub-probe: Info:", 17grub-probe: Info:)       = 17
  write(2, " ", 1 )                        = 1
  write(2, "Partition 4 starts from 10240479"..., 33Partition 4 starts from 102404790) = 33
  write(2, ".\n", 2.
  )                      = 2
  lseek(4, 52431224832, SEEK_SET)         = 52431224832
  read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 27648) = 27648
  open("/dev/mapper/via_jehhchjje3p1", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p2", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p3", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p4", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p5", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p6", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p7", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p8", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p9", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p10", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p11", O_RDONLY) = -1 ENOENT (No such file or directory)
  lseek(4, 52431252480, SEEK_SET)         = 52431252480
  read(4, "\353R\220NTFS    \0\2\10\0\0\0\0\0\0\0\370\0\0\0\0\0\0\0\0\0\0"..., 5120) = 5120
  brk(0x1592000)                          = 0x1592000
  open("/dev/mapper/via_jehhchjje3p1", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p2", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p3", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p4", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p5", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p6", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p7", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p8", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p9", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p10", O_RDONLY) = -1 ENOENT (No such file or directory)
  open("/dev/mapper/via_jehhchjje3p11", O_RDONLY) = -1 ENOENT (No such file or directory)
  lseek(4, 52431257600, SEEK_SET)         = 52431257600
  read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768) = 32768
  close(4)                                = 0
  write(2, "grub-probe: Fehler:", 19grub-probe: Fehler:)     = 19
  write(2, " ", 1 )                        = 1
  write(2, "cannot find a GRUB drive for /de"..., 79cannot find a GRUB drive for /dev/mapper/via_jehhchjje7.  Check your device.map) = 79
  write(2, ".\n", 2.
  )                      = 2
  close(3)                                = 0
  exit_group(1)                           = ?

  it seems the problem looks like opening the wrong device:
  open("/dev/mapper/via_jehhchjje3",
  while via_jehhchjje7  should get opened                  .....    hope you can see in source code, why it takes wrong number

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: grub-pc 1.99-21ubuntu3.4
  ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
  Uname: Linux 3.2.0-35-generic x86_64
  ApportVersion: 2.0.1-0ubuntu15.1
  Architecture: amd64
  Date: Thu Dec 27 00:35:33 2012
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=de_AT:de
   TERM=xterm
   PATH=(custom, no user)
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: Upgraded to precise on 2012-05-13 (227 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1093918/+subscriptions




More information about the foundations-bugs mailing list