You are not logged in.

#1 2013-07-24 17:38:32

andreagrax
Member
Registered: 2011-01-28
Posts: 9

[SOLVED] system not booting with LVM root and systemd

hi everyone ,

I've update my arch installation and performed the upgrade to systemd , and after that the system is not booting , it brings me to a recovery shell .

the root FS is on LVM , and everything under /dev/mapper is missing .

journalctl -xb -p err show me this error :

-- Logs begin at Tue 2013-05-28 21:14:18 CEST, end at Tue 2013-07-23 19:29:38 CEST. --
Jul 23 19:29:35 elminster systemd[1]: Timed out waiting for device dev-mapper-VolGroup00\x2dhome.device.
-- Subject: Unit dev-mapper-VolGroup00\x2dhome.device has failed
-- Defined-By: systemd
-- 
-- Unit dev-mapper-VolGroup00\x2dhome.device has failed.
-- 
-- The result is timeout.
Jul 23 19:29:35 elminster systemd[1]: Dependency failed for /home.
-- Subject: Unit home.mount has failed
-- Defined-By: systemd
-- 
-- Unit home.mount has failed.
-- 
-- The result is dependency.
Jul 23 19:29:35 elminster systemd[1]: Dependency failed for Local File Systems.
-- Subject: Unit local-fs.target has failed
-- Defined-By: systemd
-- 
-- Unit local-fs.target has failed.
-- 
-- The result is dependency.
Jul 23 19:29:35 elminster systemd[1]: Dependency failed for /home/andrea/DropBox.
-- Subject: Unit home-andrea-DropBox.mount has failed
-- Defined-By: systemd
-- 
-- Unit home-andrea-DropBox.mount has failed.
-- 
-- The result is dependency.
Jul 23 19:29:35 elminster systemd[1]: Dependency failed for File System Check on /dev/mapper/VolGroup00-home.
-- Subject: Unit systemd-fsck@dev-mapper-VolGroup00\x2dhome.service has failed
-- Defined-By: systemd
-- 
-- Unit systemd-fsck@dev-mapper-VolGroup00\x2dhome.service has failed.
-- 
-- The result is dependency.
Jul 23 19:29:35 elminster systemd[298]: Failed at step EXEC spawning /bin/plymouth: No such file or directory
-- Subject: Process /bin/plymouth could not be executed
-- Defined-By: systemd
-- 
-- The process /bin/plymouth could not be executed and failed.
-- 
-- The error number returned while executing this process is 2.

here the relevant section of the /etc/fstab

/dev/mapper/VolGroup00-arch_i686_root / ext4 defaults,noatime,nodiratime 0 1
/dev/mapper/VolGroup00-home /home ext4 defaults,noatime,nodiratime 0 2
/dev/sda1 /boot ext4 defaults 0 1
/dev/mapper/VolGroup00-Store /media/store           ext4    defaults,noatime,nodiratime        0       2
/dev/mapper/VolGroup00-migration /media/migration           ext4    defaults,noatime,nodiratime,noauto        0       2
/dev/mapper/VolGroup00-DropBox /home/andrea/DropBox ext4 rw,noatime,nodiratime 0 0
/dev/mapper/VolGroup00-virtualbox--machines /media/store/virtualbox ext3 rw 0 0
/dev/mapper/VolGroup00-backup /media/backup ext3 rw,relatime,data=ordered 0 0

lvm services are enabled on systemd , but under /dev/mapper i find only  /dev/mapper/control , all the other files are missing  (list from another install)

 ls -l /dev/mapper/*
crw------- 1 root root 10, 236 Jul 23 20:19 /dev/mapper/control
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-arch_i686_root -> ../dm-3
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-debian_root -> ../dm-6
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-DropBox -> ../dm-2
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-home -> ../dm-0
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-Store -> ../dm-1
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-ubuntu1204 -> ../dm-5
lrwxrwxrwx 1 root root       7 Jul 23 20:19 /dev/mapper/VolGroup00-virtualbox--machines -> ../dm-4

tried also vgchange -ay from recover shell but still no luck
any clue ?

Last edited by andreagrax (2013-07-26 19:46:12)

Offline

#2 2013-07-25 01:11:58

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [SOLVED] system not booting with LVM root and systemd

andreagrax wrote:

lvm services are enabled on systemd

Which?

tried also vgchange -ay from recover shell but still no luck

Did you do vgscan first? What error did you get or did the command just return empty?

Is the lvm2 hook in mkinitcpio.conf? Have you tried regenerating your initramfs?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-07-26 19:45:40

andreagrax
Member
Registered: 2011-01-28
Posts: 9

Re: [SOLVED] system not booting with LVM root and systemd

regenerating the initrams fixed the problem , also if the LVM2 hook was already present in mkinitcpio.conf

thank you very much

Offline

Board footer

Powered by FluxBB