My Oracle Support Banner

lvs and df Shows Different Output (Doc ID 2650919.1)

Last updated on APRIL 07, 2020

Applies to:

Linux OS - Version Oracle Linux 6.10 and later
Information in this document applies to any platform.

Symptoms

LVDbOra1 ( mount point is /u01 ) is assigned with 192.78GB which can be seen in lvs but df shows 109GB

[root@bdgbnbcondb06-mgt ~]# lvs
  LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
  LVDbOra1 VGExaDb -wi-ao---- 192.78g  <=============
  LVDbSwap1 VGExaDb -wi-ao---- 24.00g
  LVDbSys1 VGExaDb -wi-ao---- 30.00g
  LVDbSys2 VGExaDb -wi-a----- 30.00g
  LVDoNotRemoveOrUse VGExaDb -wi-a----- 1.00g

[root@bdgbnbcondb06-mgt ~]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/VGExaDb-LVDbSys1
  ext3 30G 24G 4.7G 84% /
tmpfs tmpfs 108G 1.2M 108G 1% /dev/shm
/dev/sda1 ext3 478M 72M 381M 16% /boot
/dev/mapper/VGExaDb-LVDbOra1
  ext3 109G 95G 8.4G 92% /u01  <=============

Changes

 resize2fs command was not used after the resize of the filesytem

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.