﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
781	mondorescue lvm lvcreate failed	GVR	Bruno Cornec	"Hi all,

I am trying to test Mondorescue reinstall from mondorescue iso in expert mode.

I tried to rebuild the lvm structure but lvcreate failed :

system :
{{{
Dell T110 II
debian version 8.2
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u4 (2015-09-19) x86_64 GNU/Linux
}}}

Versions :
{{{
Paquet libmondorescue-perl : 3.2.220150910110122-0
Paquet mindi : 3.0.220150910110122-0
Paquet mindi-busybox : 1.21.1-1
Paquet mondo : 3.2.220150910110122-0
}}}

Problem :

{{{
# fdisk -l

Disk /dev/sda: 465.3 GiB, 499558383616 bytes, 975699968 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
Disklabel type: dos
Disk identifier: 0xa7e58e88

Device     Boot  Start       End   Sectors  Size Id Type
/dev/sda1  *      2048    526335    524288  256M 83 Linux
/dev/sda2       526336 975699967 975173632  465G 8e Linux LVM

# pvcreate /dev/sda2
  Physical volume ""/dev/sda2"" successfully created

# vgcreate vg00 /dev/sda2
  Volume group ""vg00"" successfully created

# vgchange -a y vg00
  0 logical volume(s) in volume group ""vg00"" now active

]# lvcreate -n gv0 -L 40G vg00
  /dev/vg00/gv0: not found: device not cleared
  Aborting. Failed to wipe start of new LV.

]# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               vg00
  PV Size               465.00 GiB / not usable 3.00 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              119039
  Free PE               119039
  Allocated PE          0
  PV UUID               pSaR3w-hVNH-F0w2-Ep4I-uJV5-5joM-j8Z0ft

# vgdisplay
  --- Volume group ---
  VG Name               vg00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                0
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               465.00 GiB
  PE Size               4.00 MiB
  Total PE              119039
  Alloc PE / Size       0 / 0
  Free  PE / Size       119039 / 465.00 GiB
  VG UUID               9dR497-qZcx-SMWO-oe2B-stVr-g0iN-TPx074

# lvdisplay

nothing ...
}}}

/var/log/mondorestore.log attached.

How to troubleshoot that, please suggest ...

Regards

Joel "	defect	closed	normal	3.2.2	mondo	3.2.1	normal	fixed		
