Hello everyone!

I'm using a disk with ecrypted LVM.

It's working basically like this:


*#pvdisplay*
 --- Physical volume ---
 PV Name               /dev/dm-0
 VG Name               vg01
 PV Size               148.79 GiB / not usable 1.29 MiB
 Allocatable           NO
 PE Size               4.00 MiB
 Total PE              38091
 Free PE               14836
 Allocated PE          23255
 PV UUID

 *#vgdisplay *
 --- Volume group ---
 VG Name               vg01
 System ID
 Format                lvm2
 Metadata Areas        1
 Metadata Sequence No  9
 VG Access             read/write
 VG Status             resizable
 MAX LV                0
 Cur LV                3
 Open LV               0
 Max PV                0
 Cur PV                1
 Act PV                1
 VG Size               148.79 GiB
 PE Size               4.00 MiB
 Total PE              38091
 Alloc PE / Size       23255 / 90.84 GiB
 Free  PE / Size       14836 / 57.95 GiB
 VG UUID



*# lvdisplay *
 --- Logical volume ---
 LV Name                /dev/vg01/swap
 VG Name               vg01
 LV UUID                rX3sdV-C949-uXzv-cZrU-xxzl-fskbI-ngJK22
 LV Write Access        read/write
 LV Status              available
 # open                 0
 LV Size                2.54 GiB
 Current LE             650
 Segments               1
 Allocation             inherit
 Read ahead sectors     auto
 - currently set to     256
 Block device           252:1

 --- Logical volume ---
 LV Name                /dev/vg01/root
 VG Name                vg01
 LV UUID                VmFLr3-hiul-qwgy-igDc-6gfC-dfek-Xwfdsf
 LV Write Access        read/write
 LV Status              available
 # open                 0
 LV Size                38.30 GiB
 Current LE             9805
 Segments               2
 Allocation             inherit
 Read ahead sectors     auto
 - currently set to     256
 Block device           252:2

 --- Logical volume ---
 LV Name                /dev/vg01/home
 VG Name                vg01
 LV UUID                ewrm9-khytr-kjkhj-dasd-LLUI-5CDok-pddsA
 LV Write Access        read/write
 LV Status              available
 # open                 0
 LV Size                50.00 GiB
 Current LE             12800
 Segments               1
 Allocation             inherit
 Read ahead sectors     auto
 - currently set to     256
 Block device           252:3


I still have 57G to create new volumes....That`s the problem....I have space
...but when I try to create the LV...ERROR



*#lvcreate --size 57G --name novolv vg01 *
* Insufficient free space: 14592 extents needed, but only 0 available*




As I said in the subject, my LVM is encrypted...therefore I unlocked the
disk and tried again:


*#cryptsetup luksOpen /dev/sda2 crypt1

#vgscan --mknodes

#vgchange-ay*
*
*
*#vgchange -ay*


same problem!

Any hints?

Regards

-- 
Att,
Rafael Moraes
Linux Professional Institute Certified - LPI 2
Cisco CCNA - CCDA
Novell Certified Linux Administrator - CLA
Data Center Technical Specialist - DCTS
ITIL Foundations Certified





-- 
Att,
Rafael Moraes
Linux Professional Institute Certified - LPI 2
Cisco CCNA - CCDA
Novell Certified Linux Administrator - CLA
Data Center Technical Specialist - DCTS
ITIL Foundations Certified

Reply via email to