Am 12.09.2013 20:23, schrieb Canek Peláez Valdés:

> Stefan, what initramfs are you using?

dracut, run via your kerninst-script.

> Could you please explain how is exactly your layout? From drives to
> partitions to PVs, VGs and LVs? And throw in there also the LUKS and
> RAID (if used) setup. I will try to replicate that in a VM. Next week,
> since we have a holiday weekend coming.

thanks for your offer.

I wil happily list my setup BUT let me tell at first that the latest
sys-fs/lvm2-2.02.100 seems to have fixed that semaphore-issue.

After booting my desktop with it I quickly tested:

# lvcreate -n test -L1G VG03
  Logical volume "test" created
#

fine!

Three times ok ...

But I still face the fact that the LVs weren't activated at boot time.
Manual "vgchange -ay" needed ... or that self-written lvm.service
enabled as mentioned somewhat earlier.

Here my setup:

# lsblk
NAME                 MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                    8:0    0 931,5G  0 disk
├─sda1                 8:1    0     2M  0 part
├─sda2                 8:2    0     2G  0 part  [SWAP]
├─sda3                 8:3    0   600G  0 part
│ └─md127              9:127  0 595,1G  0 raid1
│   ├─VG03-music     253:0    0   190G  0 lvm   /mnt/music
│   ├─VG03-platz     253:1    0   200G  0 lvm   /mnt/platz
│   ├─VG03-media     253:2    0    45G  0 lvm   /mnt/media
│   ├─VG03-home      253:3    0    30G  0 lvm
│   ├─VG03-oopsfiles 253:4    0    12G  0 lvm   /mnt/oopsfiles
│   ├─VG03-dropbox   253:5    0     5G  0 lvm   /mnt/dropbox
│   ├─VG03-distfiles 253:6    0    10G  0 lvm   /usr/portage/distfiles
│   ├─VG03-gentoo32  253:7    0    15G  0 lvm   /mnt/gentoo32
│   ├─VG03-xp        253:8    0    40G  0 lvm
│   └─VG03-test      253:9    0     1G  0 lvm
└─sda6                 8:6    0    50G  0 part
  └─md4                9:4    0    50G  0 raid1
sdb                    8:16   0 931,5G  0 disk
├─sdb1                 8:17   0   100M  0 part
├─sdb2                 8:18   0  98,8G  0 part
├─sdb3                 8:19   0    50G  0 part
│ └─md4                9:4    0    50G  0 raid1
├─sdb4                 8:20   0  12,4G  0 part
└─sdb6                 8:22   0 595,1G  0 part
  └─md127              9:127  0 595,1G  0 raid1
    ├─VG03-music     253:0    0   190G  0 lvm   /mnt/music
    ├─VG03-platz     253:1    0   200G  0 lvm   /mnt/platz
    ├─VG03-media     253:2    0    45G  0 lvm   /mnt/media
    ├─VG03-home      253:3    0    30G  0 lvm
    ├─VG03-oopsfiles 253:4    0    12G  0 lvm   /mnt/oopsfiles
    ├─VG03-dropbox   253:5    0     5G  0 lvm   /mnt/dropbox
    ├─VG03-distfiles 253:6    0    10G  0 lvm   /usr/portage/distfiles
    ├─VG03-gentoo32  253:7    0    15G  0 lvm   /mnt/gentoo32
    ├─VG03-xp        253:8    0    40G  0 lvm
    └─VG03-test      253:9    0     1G  0 lvm
sdc                    8:32   0  55,9G  0 disk
├─sdc1                 8:33   0    25G  0 part  /
├─sdc2                 8:34   0     2G  0 part
└─sdc3                 8:35   0  28,9G  0 part  /home
sr0                   11:0    1  1024M  0 rom



This pretty much says it all, right?

2 hdds sda and sdb
1 ssd sdc

root-fs and /home on ssd ...

sda and sdb build two RAID-arrays (rather ugly names and partitions ...
grown over time):

# cat /proc/mdstat
Personalities : [raid1]
md4 : active raid1 sdb3[0] sda6[2]
      52395904 blocks super 1.2 [2/2] [UU]

md127 : active raid1 sdb6[0] sda3[1]
      623963072 blocks [2/2] [UU]

unused devices: <none>


# pvs
  PV         VG   Fmt  Attr PSize   PFree
  /dev/md127 VG03 lvm2 a--  595,05g 47,05g


--- thanks in advance, Stefan


Reply via email to