You are not logged in.

#1 2016-05-14 12:03:29

DenBrahe
Member
Registered: 2016-04-24
Posts: 17

[Solved] UUID not found, can't boot anymore (LVM on software RAID)

Hi everyone

So I have this old workstation (Dell Precision 670), recycled from my university. It's packed with 4 (also recycled) internal HDD's.
It did work fine until I rebooted yesterday. Now I get the following error:
ERROR: device 'UUID=df276e44-fae0-43a7-a6f2-ddeb8b3e9409' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=df276e44-fae0-43a7-a6f2-ddeb8b3e9409' .
After this I'm dropped to rootfs.

Setup:
- sda and sdb are RAID0, MBR, and used as boot disks.
- sdc and sdc are RAID0, MBR, used as data disks

lsblk from achiso: http://pastebin.com/mxy1NEre
fstab: http://pastebin.com/6AdjwvDa

If I remember correctly, the RAID arrays were originally made as md127 and md128 but changed?

Does anyone know what to do with this? It is very well possible that the pc and/or the hard drives are broken, but I wouldn't know it myself.

Thanks
Brecht

Note: I am quite a beginner both on GNU/Linux and this forum, so please forgive me and point it out if I did things wrong.

Last edited by DenBrahe (2016-05-14 13:11:33)

Offline

#2 2016-05-14 12:30:52

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,784
Website

Re: [Solved] UUID not found, can't boot anymore (LVM on software RAID)

What makes you think that the UUID changed? It looks the same to me.

What I suspect your problem is, is that you have not configured your mkinitcpio correctly for your setup, so the raid is not assembled, or lvm is not initialised. Please see https://wiki.archlinux.org/index.php/Mk … Using_RAID and https://wiki.archlinux.org/index.php/Mk … #Using_LVM and remember to run mkinitcpio -P from the arch-chroot.

If you think you have already correctly set up your mkinitcpio.conf and generated a initrd with the same problem, post the contents of that file here.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-05-14 13:04:49

DenBrahe
Member
Registered: 2016-04-24
Posts: 17

Re: [Solved] UUID not found, can't boot anymore (LVM on software RAID)

WorMzy wrote:

What makes you think that the UUID changed? It looks the same to me.

What I suspect your problem is, is that you have not configured your mkinitcpio correctly for your setup, so the raid is not assembled, or lvm is not initialised. Please see https://wiki.archlinux.org/index.php/Mk … Using_RAID and https://wiki.archlinux.org/index.php/Mk … #Using_LVM and remember to run mkinitcpio -P from the arch-chroot.

If you think you have already correctly set up your mkinitcpio.conf and generated a initrd with the same problem, post the contents of that file here.

mkinitcpio.conf: http://pastebin.com/RXf94Xed
lvm2 and mdadm_udev hooks are enabled, dm_mod module too. I generated initramfs after adding the hooks on install.
I will try it again now
It worked fine like this last weekend, it was when I rebooted yesterday that something went wrong.

The 'UUID changed' was a mistake, forgot to remove that. Will do now.

Offline

#4 2016-05-14 13:10:43

DenBrahe
Member
Registered: 2016-04-24
Posts: 17

Re: [Solved] UUID not found, can't boot anymore (LVM on software RAID)

WorMzy wrote:

What makes you think that the UUID changed? It looks the same to me.

What I suspect your problem is, is that you have not configured your mkinitcpio correctly for your setup, so the raid is not assembled, or lvm is not initialised. Please see https://wiki.archlinux.org/index.php/Mk … Using_RAID and https://wiki.archlinux.org/index.php/Mk … #Using_LVM and remember to run mkinitcpio -P from the arch-chroot.

If you think you have already correctly set up your mkinitcpio.conf and generated a initrd with the same problem, post the contents of that file here.

Re-generating the initramfs let me reboot again.
Now why did this happen? Was the initramfs not generated correctly after a kernel upgrade?
I didn't change anything to mkinitcpio.conf, and I could reboot without problems last weekend.

Offline

#5 2016-05-14 15:03:23

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,784
Website

Re: [Solved] UUID not found, can't boot anymore (LVM on software RAID)

Were there any error messages printed while the initrd was regenerated following the kernel update? Check /var/log/pacman.log.

If it happens again, examine the situation from the root shell. Is /dev/md/ populated? How about /dev/mapper/? If they are, is /dev/disk/by-uuid/ populated too? Does your root partition appear there? Can you mount it to /new_root manually?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2016-05-14 15:51:35

DenBrahe
Member
Registered: 2016-04-24
Posts: 17

Re: [Solved] UUID not found, can't boot anymore (LVM on software RAID)

WorMzy wrote:

Were there any error messages printed while the initrd was regenerated following the kernel update? Check /var/log/pacman.log.

If it happens again, examine the situation from the root shell. Is /dev/md/ populated? How about /dev/mapper/? If they are, is /dev/disk/by-uuid/ populated too? Does your root partition appear there? Can you mount it to /new_root manually?

Pacman log doesn't show anything suspicious.
I've noted your remarks in case it happens again.

Thank you for your help!

Offline

Board footer

Powered by FluxBB