[CentOS] "No free sectors available" while try to extend logical volumen in a virtual machine running CentOS 6.5

Tue Oct 28 15:12:55 UTC 2014
reynierpm at gmail.com <reynierpm at gmail.com>

On Tue, Oct 28, 2014 at 10:31 AM, Robert Nichols <rnicholsNOSPAM at comcast.net
> wrote:

> Please post the output from
>    ls -l /dev/root /dev/mapper
> and the contents of file /etc/lvm/backup/vg_devserver .
>


Here,

# ls -l /dev/root /dev/mapper
lrwxrwxrwx 1 root root   4 Oct 27 17:55 /dev/root -> dm-2

/dev/mapper:
total 0
crw-rw---- 1 root root 10, 58 Oct 27 17:55 control
lrwxrwxrwx 1 root root      7 Oct 27 17:55 vg_devserver-lv_root -> ../dm-2
lrwxrwxrwx 1 root root      7 Oct 27 17:55 vg_devserver-lv_root-missing_1_0
-> ../dm-1
lrwxrwxrwx 1 root root      7 Oct 27 17:55 vg_devserver-lv_swap -> ../dm-0

# cat /etc/lvm/backup/vg_devserver
# Generated by LVM2 version 2.02.100(2)-RHEL6 (2013-10-23): Mon Oct 20
15:27:17 2014

contents = "Text Format Volume Group"
version = 1

description = "Created *after* executing 'vgreduce --removemissing
vg_devserver'"

creation_host = "localhost"     # Linux localhost
2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64
creation_time = 1413835037      # Mon Oct 20 15:27:17 2014

vg_devserver {
        id = "VidRBE-37ri-HYfd-Sd1x-6lZX-ph9I-F3wvCG"
        seqno = 6
        format = "lvm2" # informational
        status = ["RESIZEABLE", "READ", "WRITE"]
        flags = []
        extent_size = 8192              # 4 Megabytes
        max_lv = 0
        max_pv = 0
        metadata_copies = 0

        physical_volumes {

                pv0 {
                        id = "ij17Vf-kY56-jfg0-j769-Z1E5-Nk7C-RqYG18"
                        device = "/dev/sda2"    # Hint only

                        status = ["ALLOCATABLE"]
                        flags = []
                        dev_size = 61888512     # 29.5107 Gigabytes
                        pe_start = 2048
                        pe_count = 7554 # 29.5078 Gigabytes
                }

                pv1 {
                        id = "vSbuSJ-o1Kh-N3ur-JYkM-Ktr4-WEO2-JWe2wS"
                        device = "unknown device"       # Hint only

                        status = ["ALLOCATABLE"]
                        flags = ["MISSING"]
                        dev_size = 62906520     # 29.9962 Gigabytes
                        pe_start = 2048
                        pe_count = 7678 # 29.9922 Gigabytes
                }
        }

        logical_volumes {

                lv_root {
                        id = "Ee2apF-rS1m-7Xny-4XYk-u2ZM-lMp7-IBQPnL"
                        status = ["READ", "WRITE", "VISIBLE"]
                        flags = []
                        creation_host = "devserver"
                        creation_time = 1361816267      # 2013-02-25
13:47:47 -0430
                        segment_count = 2

                        segment1 {
                                start_extent = 0
                                extent_count = 6554     # 25.6016 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 0
                                ]
                        }
                        segment2 {
                                start_extent = 6554
                                extent_count = 8        # 32 Megabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv1", 0
                                ]
                        }
                }

                lv_swap {
                        id = "hW0BAn-BzE4-aHXm-b18h-8rg0-JyBS-ycbOVd"
                        status = ["READ", "WRITE", "VISIBLE"]
                        flags = []
                        creation_host = "devserver"
                        creation_time = 1361816271      # 2013-02-25
13:47:51 -0430
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 1000     # 3.90625 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 6554
                                ]
                        }
                }
        }
}