User Tools

Site Tools


public:trouble:lvm

Cannot create logical volumes

Error description

Althouh there is enough free space inside the affected LVM volume group no logical volumes can be created.

root@kvm5:~# vgs
  VG   #PV #LV #SN Attr   VSize   VFree
  vg3    1  19   0 wz--n- 750.00g 430.00g
  vg     1   2   0 wz--n- 451.51g   1.51g

root@kvm5:~# lvcreate -s -n nas_bkup -L 5G /dev/SCSI/nas
  Insufficient free space: 1280 extents needed, but only 0 available

Failure cause

The LVM volume group or the LVM physical device is in a state of 'inactive'.

Solution

The problem was solved by reactivating the LVM physical device:

root@kvm5:~# pvchange -x y /dev/mapper/SCSI
  Physical volume "/dev/mapper/SCSI" changed
  1 physical volume changed / 0 physical volumes not changed
root@kvm5:~# lvcreate -s -n nas_bkup -L 5G /dev/SCSI/nas
  Logical volume "nas_bkup" created
  

previous chapter | contents | next chapter

public/trouble/lvm.txt · Last modified: 2015/07/12 12:32 by wiki.tk