[Bug 1093918] Re: grub-probe auto-detection fails on raid
Ing. Josef Klotzner
1093918 at bugs.launchpad.net
Sun Dec 30 12:18:59 UTC 2012
Dear Phillip and maybe others involved!
Please read the following carefully to understand the situation completely:
Since yesterday i tried to work around by bying a SSD to boot from, B U T !!!
it seems the problem causing grub-probe to fail are raid drivers (i don't know sure if dmraid currently)
AND
this problem does not only occur while trying to upgrade from ubuntu 11.10 to 12.04, it also occurs when trying to make a new install on any other harddisk than raid in the system, (like my new SSD) as long as a raid device is present in the system
i tried new installation with ubuntu 12.04 onto the SSD a few times:
failing .... installation process gets stuck immediatly after having set
up where to install ... installer stucks at page of country to select
currently i am writing this out of a ubuntu 11.10 live CD where
installation on SSD worked like charm
without that i have changed anything manually now -- look at this (no
via_jehhchjje3 in between!):
ubuntu at ubuntu:~$ sudo dmsetup ls --tree
via_jehhchjje9 (253:8)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
via_jehhchjje8 (253:7)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
via_jehhchjje7 (253:6)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
via_jehhchjje6 (253:5)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
via_jehhchjje5 (253:4)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
via_jehhchjje2 (253:3)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
via_jehhchjje1 (253:1)
└─via_jehhchjje (253:0)
├─ (8:48)
└─ (8:32)
perfect ! like it should be ....
i also observed when trying failing installation with 12.04 that the list of partitions presented was absolutely incorrect for raid -- there were not only the partitions itself listed once, they were listed again further down and each single partition twice ! -- one each selectable for installation of system
even as i tried to install to SSD with ubuntu 12.04 installer and NOT to raid, it failed -- obviously due to the wrong presented raid in the system, causing the installer to fail.
with ubuntu 11.10 live CD also parted -l lists without interrupting the
output (and is NOT waiting for input as it does under 12.04 -- and i am
pretty sure that grub-install and update-grub fails because of that):
ubuntu at ubuntu:~$ sudo parted -l
Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 39,6GB 39,6GB primary ntfs
2 39,6GB 92,0GB 52,4GB primary ntfs
3 92,0GB 1979GB 1887GB primary ntfs
4 1979GB 2000GB 21,0GB extended
5 1979GB 1998GB 18,9GB logical ext4
6 1998GB 2000GB 2096MB logical linux-swap(v1)
Model: ATA OCZ-VERTEX4 (scsi)
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 33,7GB 33,7GB primary ntfs boot
2 33,7GB 107GB 73,4GB primary ntfs
3 107GB 128GB 21,0GB extended
5 107GB 126GB 18,9GB logical ext4
6 126GB 128GB 2096MB logical linux-swap(v1)
Error: Can't have a partition outside the disk!
Error: /dev/sdd: unrecognised disk label
Model: Linux device-mapper (striped) (dm)
Disk /dev/mapper/via_jehhchjje: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system 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)
also this is presented different when doing with ubuntu 11.10 live CD (open count is 3 as you can see with 12.04 above and also major was 252 above:
ubuntu at ubuntu:~$ sudo dmsetup info /dev/mapper/via_jehhchjje
Name: via_jehhchjje
State: ACTIVE
Read Ahead: 256
Tables present: LIVE
Open count: 7
Event number: 0
Major, minor: 253, 0
Number of targets: 1
UUID: DMRAID-via_jehhchjje
this output is the only identical:
ubuntu at ubuntu:~$ sudo blockdev --getsize64 /dev/mapper/via_jehhchjje
2000409722880
... so it looks like more being a dmraid / dmsetup / raid driver problem
"only" effecting grub-install and update-grub in ubuntu 12.04
could you please help to brake down to find the real root cause? ...
that then the "real root cause" bug can be fixed? :D
--
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