LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   GFS clustered on LVM: error in partition size (https://www.linuxquestions.org/questions/linux-enterprise-47/gfs-clustered-on-lvm-error-in-partition-size-913204/)

mizio79 11-12-2011 01:42 PM

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 !!!

syg00 11-12-2011 04:04 PM

Quote:

Originally Posted by mizio79 (Post 4522407)
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.


All times are GMT -5. The time now is 09:20 PM.