Operating System - HP-UX
1753261 Members
4977 Online
108792 Solutions
New Discussion юеВ

filesystem not showing correct amount

 
nchat504
Advisor

filesystem not showing correct amount


I just added some space to my filesystem:
Filesystem kbytes used avail %used Mounted on
/dev/vg02/lvol24 165838848 57108 155420389 0% /oracle/QA1/sapdata8

The df is showing 0% utilization and the amount used is wrong..where is my space, how can i get the df to show the correct free space?

So far, i have blown away the filesystem and recreated it(still the same). I also rebooted the system(no change)

ANy ideas?
4 REPLIES 4
vishnu.khandare
Respected Contributor

Re: filesystem not showing correct amount

Hi,

Ur mount point name??
can U share how ur extend the size of the mount point, hav u extend the file system also?? please check that.

please follow the below procedure,
To increase the size of the volume u must have Online JFS installed, by that u can change the size of lvol run time.

steps:
lvextend -L /dev/vgXX/lvolXX

fsadm -F vxfs -b

Hop this solves ur issue,
If not post the logs.

Regards
Vishnu Khandare
You should deserve before U desire!!!!
Jayakrishnan G Naik
Trusted Contributor

Re: filesystem not showing correct amount

Hi

Can you please let us know how you added the space? Is it a) by extending the logical volume and fsadm or is it by b) Housekeeping unwanted files to free up space?


b) If you have done a housekeeping on your filesystem and still the filesystem doesn't reflect the free space, it depends on your application.
It happens when you deleted the file that was in use by some application.

You can go through the following thread for the case b)

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=950277

Regards
Jayakrishnan G Naik
nchat504
Advisor

Re: filesystem not showing correct amount

Still the same... I used sam to add the space and i used commmand line to create/re-create and added the space. I also used fsadm commands as you suggested.

here is the filesystem

/oracle/QA1/sapdata8

here is the output of the "bdf"
/dev/vg02/lvol27 120586240 46015 113006468 0% /oracle/QA1/sapdata8

its still showing about 46015KB being used...
Shibin_2
Honored Contributor

Re: filesystem not showing correct amount

I believe, your concern is more about the small amount of used space on your newly created file system. It's natural because, used space in bdf output calculated from the structural file.

If you need more details, read the below thread.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1288676016712+28353475&threadId=102229

There are lot of discussion in this forum about the difference between df and bdf.
Regards
Shibin