LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-19-2012, 08:50 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
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)
 
Old 11-19-2012, 09:37 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
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.

Last edited by michaelk; 11-19-2012 at 09:40 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
How to add unallocated space to a logical volume? using LVM tauro_kpo Linux - Hardware 7 08-19-2012 01:02 PM
[SOLVED] ext2online does not work on extended lvm logical volume jonas_berlin Linux - General 8 12-05-2011 02:10 AM
LVM free space problem after resizing the logical volume wdorninger Linux - Enterprise 0 11-06-2009 07:00 AM
LVM - Extending logical volume - Insufficient free space deim Linux - Newbie 0 04-07-2007 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration