Skip to main content
deleted 3 characters in body
Source Link

As perrequested in the (automated?) commendcomments, this is the output from the suggested commands from the link above:

As per the (automated?) commend, this is the output from the suggested commands from the link above:

As requested in the comments, this is the output from the suggested commands from the link above:

added 1567 characters in body
Source Link

Update: output of cfdisk /dev/xvda as requested:

                                                         cfdisk (util-linux-ng 2.17.2)

                                                             Disk Drive: /dev/xvda
                                                      Size: 322122547200 bytes, 322.1 GB
                                             Heads: 255   Sectors per Track: 63   Cylinders: 39162

       Name                 Flags                Part Type         FS Type                       [Label]                   Size (MB)
 ---------------------------------------------------------------------------------------------------------------------------------------------
                                                                   Unusable                                                     1.05          *
       xvda1                Boot                  Primary          Linux ext3                                                 524.29          *
       xvda2                                      Primary          Linux LVM                                                31686.92          *
       xvda3                                      Primary          Linux LVM                                                10731.94          *
       xvda4                                      Primary          Linux LVM                                               118115.03
                                                                   Unusable                                                161063.34          *

Update: output of cfdisk /dev/xvda as requested:

                                                         cfdisk (util-linux-ng 2.17.2)

                                                             Disk Drive: /dev/xvda
                                                      Size: 322122547200 bytes, 322.1 GB
                                             Heads: 255   Sectors per Track: 63   Cylinders: 39162

       Name                 Flags                Part Type         FS Type                       [Label]                   Size (MB)
 ---------------------------------------------------------------------------------------------------------------------------------------------
                                                                   Unusable                                                     1.05          *
       xvda1                Boot                  Primary          Linux ext3                                                 524.29          *
       xvda2                                      Primary          Linux LVM                                                31686.92          *
       xvda3                                      Primary          Linux LVM                                                10731.94          *
       xvda4                                      Primary          Linux LVM                                               118115.03
                                                                   Unusable                                                161063.34          *
added 1623 characters in body
Source Link

As per the (automated?) commend, this is the output from the suggested commands from the link above:

[AWS root@archive ~]$ sudo pvs
  PV         VG         Fmt  Attr PSize   PFree
  /dev/xvda2 vg_archive lvm2 a--   29.51g    0
  /dev/xvda3 vg_archive lvm2 a--    9.99g    0
  /dev/xvda4 vg_archive lvm2 a--  110.00g    0
[AWS root@archive ~]$ sudo pvresize /dev/xvda2
  Physical volume "/dev/xvda2" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
[AWS root@archive ~]$ sudo pvresize /dev/xvda3
  Physical volume "/dev/xvda3" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
[AWS root@archive ~]$ sudo pvresize /dev/xvda4
  Physical volume "/dev/xvda4" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
[AWS root@archive ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_archive-lv_root
                      146G  131G  8.0G  95% /
tmpfs                 938M     0  938M   0% /dev/shm
/dev/xvda1            485M   80M  380M  18% /boot
[AWS root@archive ~]$ sudo lvextend -r -l +100%FREE /dev/mapper/vg_archive-lv_root
  Extending logical volume lv_root to 147.56 GiB
  Logical volume lv_root successfully resized
resize2fs 1.41.12 (17-May-2010)
The filesystem is already 38682624 blocks long.  Nothing to do!

[AWS root@archive ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_archive-lv_root
                      146G  131G  8.0G  95% /
tmpfs                 938M     0  938M   0% /dev/shm
/dev/xvda1            485M   80M  380M  18% /boot

Update: it would appear the fs type is ext4 from the below output

[AWS root@archive ~]$ df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/vg_archive-lv_root
              ext4    146G  131G  8.0G  95% /
tmpfs        tmpfs    938M     0  938M   0% /dev/shm
/dev/xvda1    ext4    485M   80M  380M  18% /boot

As per the (automated?) commend, this is the output from the suggested commands from the link above:

[AWS root@archive ~]$ sudo pvs
  PV         VG         Fmt  Attr PSize   PFree
  /dev/xvda2 vg_archive lvm2 a--   29.51g    0
  /dev/xvda3 vg_archive lvm2 a--    9.99g    0
  /dev/xvda4 vg_archive lvm2 a--  110.00g    0
[AWS root@archive ~]$ sudo pvresize /dev/xvda2
  Physical volume "/dev/xvda2" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
[AWS root@archive ~]$ sudo pvresize /dev/xvda3
  Physical volume "/dev/xvda3" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
[AWS root@archive ~]$ sudo pvresize /dev/xvda4
  Physical volume "/dev/xvda4" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized
[AWS root@archive ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_archive-lv_root
                      146G  131G  8.0G  95% /
tmpfs                 938M     0  938M   0% /dev/shm
/dev/xvda1            485M   80M  380M  18% /boot
[AWS root@archive ~]$ sudo lvextend -r -l +100%FREE /dev/mapper/vg_archive-lv_root
  Extending logical volume lv_root to 147.56 GiB
  Logical volume lv_root successfully resized
resize2fs 1.41.12 (17-May-2010)
The filesystem is already 38682624 blocks long.  Nothing to do!

[AWS root@archive ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_archive-lv_root
                      146G  131G  8.0G  95% /
tmpfs                 938M     0  938M   0% /dev/shm
/dev/xvda1            485M   80M  380M  18% /boot

Update: it would appear the fs type is ext4 from the below output

[AWS root@archive ~]$ df -Th
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/mapper/vg_archive-lv_root
              ext4    146G  131G  8.0G  95% /
tmpfs        tmpfs    938M     0  938M   0% /dev/shm
/dev/xvda1    ext4    485M   80M  380M  18% /boot
added 266 characters in body
Source Link
Loading
Source Link
Loading