User Tools

Site Tools


public:trouble:lvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
public:trouble:lvm [2015/06/06 19:23] – created wiki.managerpublic:trouble:lvm [2015/07/12 12:32] (current) – [Solution] wiki.tk
Line 1: Line 1:
 +===== 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         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
 +    
 +[[public:trouble:checksum|previous chapter]] | [[public:start|contents]] | [[public:trouble:network|next chapter]]