Am 03.05.2014 19:25, schrieb Canek Peláez Valdés:

> I'll give you my confs in my LVM2 virtual machine; my normal machines
> don't use LVM2, so I don't think they'll help in any way.
> 
> Also, if my normal machines are lagging on updates, the virtual ones
> are even more behind: my LVM vm has systemd 204!

;-)

> I'm removing any comments:
> 
> /etc/default/grub.conf:
> 
> GRUB_DISTRIBUTOR="Gentoo"
> GRUB_DEFAULT=0
> GRUB_HIDDEN_TIMEOUT=0
> GRUB_HIDDEN_TIMEOUT_QUIET=true
> GRUB_TIMEOUT=10
> GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd quiet nosplash"
> GRUB_PRELOAD_MODULES="lvm mdraid1x"
> 
> Notice: no root, no real_root, nothing.

Yes, and I have to say, it should be that way!
I don't like the fact that all these configs get more and more
complicated when on the other hand technology should make things easier ...

sure, more complicated use cases on one hand ... but in the end I want
to boot from one plain /dev/sda1 ... mdadm and lvm are *optional* in my
case right now.

> /etc/dracut.conf:
> 
> add_dracutmodules+="crypt lvm mdraid systemd"
> add_drivers+="autofs4 ipv6 dm-crypt aes sha256"
> fscks="umount mount /sbin/fsck* e2fsck"
> 
> /etc/fstab:
> 
> LABEL=Root / ext4 acl,noatime 0 1
> LABEL=User /usr ext4 acl,noatime 0 2
> LABEL=Boot /boot ext2 acl,noatime 0 2
> LABEL=Home /home ext4 acl,noatime 0 2
> /dev/mapper/swap none swap sw 0 0
> shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
> tmpfs /tmp tmpfs defaults,nosuid,size=100% 0 0
> 
> /etc/crypttab:
> 
> home /dev/vg/vol5
> swap /dev/vg/vol2 /dev/urandom swap
> 
> I didn't touched /etc/lvm/lvm.conf, nor /etc/mdadm.conf.
> 
> My drive topology:
> 
> NAME                 MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
> sr0                   11:0    1 1024M  0 rom
> vda                  253:0    0    5G  0 disk
> `-vda1               253:1    0    5G  0 part
>   `-md127              9:127  0   15G  0 raid5
>     |-vg-vol1 (dm-0) 254:0    0  200M  0 lvm   /boot
>     |-vg-vol3 (dm-1) 254:1    0    2G  0 lvm   /
>     |-vg-vol4 (dm-2) 254:2    0    8G  0 lvm   /usr
>     |-vg-vol2 (dm-3) 254:3    0    2G  0 lvm
>     | `-swap (dm-5)  254:5    0    2G  0 crypt [SWAP]
>     `-vg-vol5 (dm-4) 254:4    0  2.8G  0 lvm
>       `-home (dm-6)  254:6    0  2.8G  0 crypt /home
> vdb                  253:16   0    5G  0 disk
> `-vdb1               253:17   0    5G  0 part
>   `-md127              9:127  0   15G  0 raid5
>     |-vg-vol1 (dm-0) 254:0    0  200M  0 lvm   /boot
>     |-vg-vol3 (dm-1) 254:1    0    2G  0 lvm   /
>     |-vg-vol4 (dm-2) 254:2    0    8G  0 lvm   /usr
>     |-vg-vol2 (dm-3) 254:3    0    2G  0 lvm
>     | `-swap (dm-5)  254:5    0    2G  0 crypt [SWAP]
>     `-vg-vol5 (dm-4) 254:4    0  2.8G  0 lvm
>       `-home (dm-6)  254:6    0  2.8G  0 crypt /home
> vdc                  253:32   0    5G  0 disk
> `-vdc1               253:33   0    5G  0 part
>   `-md127              9:127  0   15G  0 raid5
>     |-vg-vol1 (dm-0) 254:0    0  200M  0 lvm   /boot
>     |-vg-vol3 (dm-1) 254:1    0    2G  0 lvm   /
>     |-vg-vol4 (dm-2) 254:2    0    8G  0 lvm   /usr
>     |-vg-vol2 (dm-3) 254:3    0    2G  0 lvm
>     | `-swap (dm-5)  254:5    0    2G  0 crypt [SWAP]
>     `-vg-vol5 (dm-4) 254:4    0  2.8G  0 lvm
>       `-home (dm-6)  254:6    0  2.8G  0 crypt /home
> vdd                  253:48   0    5G  0 disk
> `-vdd1               253:49   0    5G  0 part
>   `-md127              9:127  0   15G  0 raid5
>     |-vg-vol1 (dm-0) 254:0    0  200M  0 lvm   /boot
>     |-vg-vol3 (dm-1) 254:1    0    2G  0 lvm   /
>     |-vg-vol4 (dm-2) 254:2    0    8G  0 lvm   /usr
>     |-vg-vol2 (dm-3) 254:3    0    2G  0 lvm
>     | `-swap (dm-5)  254:5    0    2G  0 crypt [SWAP]
>     `-vg-vol5 (dm-4) 254:4    0  2.8G  0 lvm
>       `-home (dm-6)  254:6    0  2.8G  0 crypt /home
> 
> Do you want to see any other config?
> 
> Let me try to update this test VM to see if I can hit the same issue as you.
> 
> Regards.
> 


Sure, thanks so far. I am taking another break now and return hopefully
regenerated ;-)

S

Reply via email to