LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-12-2011, 01:42 PM   #1
mizio79
LQ Newbie
 
Registered: Nov 2011
Posts: 3

Rep: Reputation: Disabled
Exclamation GFS clustered on LVM: error in partition size


Hello everyone,

I've a 2 node cluster with Redhat 5.6 - 64-bit with some LVM partition defined. The filesystem used is GFS clustered. I've a strange problem with one of this lvm partition about the size. The df output is as follow:

/dev/mapper/VG-LVDATA2
523969792 513024640 10945152 98% /oracle/data2

The output show that the partition size is 520Gb but the lvs output show that the partition size is 1,1Tb and from LVM gui i can't expand the partition because is at maximum of size (1,1Tb). Why the df show only 520 Gb ?!?!?!?

I must run gfs_grow to expand the partition to max size of lvm partition ?

Thanks for your support.

Bye to all !!!
 
Old 11-12-2011, 04:04 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,131

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by mizio79 View Post
The output show that the partition size is 520Gb but the lvs output show that the partition size is 1,1Tb and from LVM gui i can't expand the partition because is at maximum of size (1,1Tb). Why the df show only 520 Gb ?!?!?!?
Because "df" shows the filesystem size, not the partition (or in this case lv) size.
gfx_grow should fix this - maybe run ot with "-Tv" first.
 
  


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
Which is better XEN SAN strategy--Clustered File System (OCFS2/GFS) or use of CLVM? bweaver Linux - Virtualization and Cloud 2 05-06-2011 08:49 AM
Gfs -lvm ?? lensem Linux - Software 1 06-18-2009 09:03 AM
Reduce LVM Partition size without any data loss viral_Ahire Linux - Software 1 04-11-2008 03:42 PM
RHEL4 - LVM Setup Partition Size sbababei Linux - Server 2 05-31-2007 02:36 PM
Reducing size of PV (partition) in LVM clacour Linux - General 2 10-24-2003 08:19 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10: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