You are not logged in.

#1 2016-07-26 08:50:42

lsas
Member
Registered: 2010-11-23
Posts: 23

grub error: disk lvid not found

Hello everyone

I'm getting this error at boot:

grub error: disk 'lvid/caoMWu-o417-GMgh-6vFj-1qrw-iJMi-ypwm0f/Z2eotR-N0HN-nrol-3hUd-odMB-GzHy-4PrsnL' not found. Entering rescue mode..

I can't even get the GRUB menu, the error message show immediately up.

Now here's the situation: I had to replace my motherboard because it was broken, and just after the change (I've replaced with an identical one) I'm not able to boot anymore.
Of course before that the system was running fine from at least a year.

This is my setup: Archlinux distro, two hdd, with a RAID1 and LVM builded on top of it. Running on a HP Microserver G8

Below is the LVM setup:

--- Volume group ---
  VG Name               server
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  5
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                4
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               2.73 TiB
  PE Size               4.00 MiB
  Total PE              715318
  Alloc PE / Size       715318 / 2.73 TiB
  Free  PE / Size       0 / 0   
  VG UUID               caoMWu-o417-GMgH-6vFj-1qrv-iJMi-ypwm0f


  --- Logical volume ---
  LV Path                /dev/server/boot
  LV Name                boot
  VG Name                server
  LV UUID                3Z70U8-Mc1W-aKQU-tORg-oiaT-P2kI-aYG74K
  LV Write Access        read/write
  LV Creation host, time archiso, 2015-11-06 08:51:19 +0100
  LV Status              available
  # open                 1
  LV Size                512.00 MiB
  Current LE             128
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Path                /dev/server/swap
  LV Name                swap
  VG Name                server
  LV UUID                z8PdBc-DZRL-zsC5-190M-nyUl-k3cn-9gaYRo
  LV Write Access        read/write
  LV Creation host, time archiso, 2015-11-06 08:51:28 +0100
  LV Status              available
  # open                 0
  LV Size                4.00 GiB
  Current LE             1024
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

  --- Logical volume ---
  LV Path                /dev/server/archroot
  LV Name                archroot
  VG Name                server
  LV UUID                Z2eotR-N0HN-nroI-3hUd-odMB-GzHy-4PrsnL
  LV Write Access        read/write
  LV Creation host, time archiso, 2015-11-06 08:52:37 +0100
  LV Status              available
  # open                 1
  LV Size                20.00 GiB
  Current LE             5120
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Path                /dev/server/storage
  LV Name                storage
  VG Name                server
  LV UUID                cccOsD-GBXu-pMws-e4bS-tCic-ZCFs-OstIf9
  LV Write Access        read/write
  LV Creation host, time archiso, 2015-11-06 08:52:52 +0100
  LV Status              available
  # open                 0
  LV Size                2.70 TiB
  Current LE             709046
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3

and the lsblk output :

NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                     8:0    0   2.7T  0 disk  
|-sda1                  8:1    0   992K  0 part  
`-sda2                  8:2    0   2.7T  0 part  
  `-md0                 9:0    0   2.7T  0 raid1 
    |-server-boot     253:0    0   512M  0 lvm   /boot
    |-server-swap     253:1    0     4G  0 lvm   
    |-server-archroot 253:2    0    20G  0 lvm   /
    `-server-storage  253:3    0   2.7T  0 lvm   
sdb                     8:16   0   2.7T  0 disk  
|-sdb1                  8:17   0   992K  0 part  
`-sdb2                  8:18   0   2.7T  0 part  
  `-md0                 9:0    0   2.7T  0 raid1 
    |-server-boot     253:0    0   512M  0 lvm   /boot
    |-server-swap     253:1    0     4G  0 lvm   
    |-server-archroot 253:2    0    20G  0 lvm   /
    `-server-storage  253:3    0   2.7T  0 lvm   
sr0                    11:0    1   686M  0 rom   
loop0                   7:0    0 300.3M  1 loop  

and /etc/fstab :

# /dev/mapper/server-archroot
UUID=c83b58a5-d4fd-4634-b6b7-1726ca6ffeb6   /           ext4        rw,relatime,data=ordered    0 1

# /dev/mapper/server-boot
UUID=1fffa9ae-ea36-4888-870e-47bd8fc16268   /boot       ext4        rw,relatime,data=ordered    0 2

# /dev/mapper/server-swap
UUID=a787eefb-692d-4d2a-9482-11196967ea62   none        swap        defaults    0 0

# /dev/mapper/server-storage
UUID=ae082954-b90a-482a-b002-e53f6f75df5a   /mnt/storage    ext4        users,rw,relatime,auto,exec,data=ordered


I've already tried to rebuild mkinitcpio and grub-mkconfig but without success. I've also tried to erase MBR and reinstall grub on both sda and sdb


What can I do/check to restore the system ? Any suggestion ?

Last edited by lsas (2016-07-26 09:20:40)

Offline

Board footer

Powered by FluxBB