Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: 7ntl136lo on 28 December 2022, 10:36:25

Title: Where can I find my logical volumes?
Post by: 7ntl136lo on 28 December 2022, 10:36:25
When installing the system, I made a mistake and now to fix it, you need to go through artix-chroot and mount logical volumes (LVM). But I don't see them... Even though the lvs command shows they are there. Where are they?

I'm using the artix-base-runit-20221226-x86_64 weekly image.
Title: Re: Where can I find my logical volumes?
Post by: nous on 28 December 2022, 15:24:25
Install and enable lvm2-runit?
Title: Re: Where can I find my logical volumes?
Post by: 7ntl136lo on 28 December 2022, 16:06:27
It's installed, but is it running? Neither /etc/runit/sv nor /run/runit/service has it.
Title: Re: Where can I find my logical volumes?
Post by: lq on 28 December 2022, 18:38:09

Code: [Select]
sudo cfdisk
sudo df -h
sudo pvs
sudo vgs
man lvm
Title: Re: Where can I find my logical volumes?
Post by: 7ntl136lo on 29 December 2022, 00:28:30

This is a joke? All other commands in the screenshot. On arch with the same markup, the volumes are in /dev/mapper/, they are not here.
Title: Re: Where can I find my logical volumes?
Post by: TrueTechie on 29 December 2022, 03:00:50
This is a joke? All other commands in the screenshot. On arch with the same markup, the volumes are in /dev/mapper/, they are not here.

It's a joke... Neither a funny nor helpful one.

If /dev/mapper isn't populated and the service isn't in that directory, perhaps it is a package bug. What is the output of the following?
Code: [Select]
pacman  -Ql lvm2-runit
Title: Re: Where can I find my logical volumes?
Post by: 7ntl136lo on 29 December 2022, 03:48:00
Here.

UDP.

Same problem using stable ISO. The openrc image sees the lvm volumes fine, so it looks like the problem is indeed with the package.
Title: Re: Where can I find my logical volumes?
Post by: nous on 31 December 2022, 18:15:26
The base ISOs have this as default:
Code: [Select]
SERVICES=('acpid' 'bluetoothd' 'cronie' 'cupsd' 'metalog' 'connmand')
OpenRC is more advanced in terms of features than runit and auto-starts LVM if present. Read our wiki's runit article (https://wiki.artixlinux.org/Main/Runit#Managing_services) for more. runit won't move a finger unless you tell it so.
Title: Re: Where can I find my logical volumes?
Post by: 7ntl136lo on 01 January 2023, 15:35:14
The base ISOs have this as default:
Code: [Select]
SERVICES=('acpid' 'bluetoothd' 'cronie' 'cupsd' 'metalog' 'connmand')
OpenRC is more advanced in terms of features than runit and auto-starts LVM if present. Read our wiki's runit article (https://wiki.artixlinux.org/Main/Runit#Managing_services) for more. runit won't move a finger unless you tell it so.
🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️