LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Extended LVM Volume group and Logical Volume. But space not usable (https://www.linuxquestions.org/questions/linux-server-73/extended-lvm-volume-group-and-logical-volume-but-space-not-usable-4175437798/)

linuxlover.chaitanya 11-19-2012 08:50 AM

Extended LVM Volume group and Logical Volume. But space not usable
 
Hello All,

I have this server on which LVM LV is mounted on "/". This acts as a backup server and now there is need to extend the "/".
So to do it, we added one extra Hard drive and created partitions on the drive and added them to the volume group.
After this the LV was extended as well.
But the extended space is not usable and df -h does not show the extended size.
Please check below for any information

Code:

--- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                WEQqSc-vI5p-b3ll-GNFO-WcIf-pvMc-NV5hTo
  LV Write Access        read/write
  LV Status              available
  # open                1
  LV Size                2.73 TB
  Current LE            89358
  Segments              3
  Allocation            inherit
  Read ahead sectors    0
  Block device          253:0

Code:

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      901G  818G  37G  96% /
[root@backuppc2 ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


michaelk 11-19-2012 09:37 AM

What steps did you use to add space to your / LV? Even though you extended the LV it does not automatically resize the filesystem. You can use resize2fs which will work for an on-line ext3 filesystem but be sure to have suitable backups just in case.


All times are GMT -5. The time now is 05:12 AM.