Wind River Support Network

HomeDefectsLIN6-10531
Fixed

LIN6-10531 : wrl6 : lvm : cannot create more than one LVM on MATXM (EMERSON target) (REGRESSION)

Created: Nov 12, 2015    Updated: Dec 3, 2018
Resolved Date: Nov 26, 2015
Found In Version: 6.0.0.26
Fix Version: 6.0.0.27
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

cannot create more than 1 LVM on emerson matxm target (Q57 BSP running intel-x86_64 BSP :

returns :
Internal error: Duplicate LV id 1z7FlT-rZeG-1z7F-lTrZ-eG1z-7FlT-rZeG1z detected for lv2 in vg00.
#metadata/metadata.c:2277   Internal error: Referenced LV lv1 not listed in VG vg00.





Steps to Reproduce

/opt/windriver/WRL_60x_CGP_LATEST/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=preempt-rt --enable-rootfs=glibc-std+installer-support --enable-doc-pages=target --enable-checkout-all-layers=yes --with-sstate-dir=/ASML/sstate_dir_wrl6-0026 --enable-bootimage=ext3 --enable-reconfig --enable-jobs=12 --enable-parallel-pkgbuilds=10 --with-rcpl-version=0026

(note preempt_rt) 

make all
boot the target with NFS rootfs

then :
1) please set that fdisk config :
root@localhost:~# fdisk -l /dev/sda  

Disk /dev/sda: 160.0 GB, 160041885696 bytes, 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x3114e806

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     1048576      523264+  83  Linux
/dev/sda2         1050624   312581807   155765592   8e  Linux LVM


2) create the LVM stuff :

 root@localhost:~# pvcreate --dataalignment 1024k /dev/sda2
  Writing physical volume data to disk "/dev/sda2"
  Physical volume "/dev/sda2" successfully created
root@localhost:~# vgcreate vg00 /dev/sda2
  Volume group "vg00" successfully created
root@localhost:~# lvcreate -L 1024m -n lv1 /dev/vg00
bio: create slab <bio-2> at 2
  Logical volume "lv1" created
root@localhost:~# lvcreate -L 1024m -n lv2 /dev/vg00
  Internal error: Duplicate LV id 1z7FlT-rZeG-1z7F-lTrZ-eG1z-7FlT-rZeG1z detected for lv2 in vg00.
  Internal error: Referenced LV lv1 not listed in VG vg00.

Other Downloads


Live chat
Online