Operating System - HP-UX
1829662 Members
10066 Online
109992 Solutions
New Discussion

Re: display raw filesystem usage

 
SOLVED
Go to solution
chandregowda
Advisor

display raw filesystem usage

Hi,

How to display the raw filesystem usage.

Which command i need to use.

Thanks chandra
12 REPLIES 12
Suraj K Sankari
Honored Contributor

Re: display raw filesystem usage

Hi,
I think bdf will show you the file system usages
or
df -f also show the block sizes

$ df -f /oracle/PD1/sapdata1
/oracle/PD1/sapdata1 (/dev/vg_sapdata1_new/lv_sapdata1_new): 50973312 blocks

Suraj
sreekanthtm
Trusted Contributor

Re: display raw filesystem usage

Try this command

# bdf /dev/vgxx/rlvolxx

Rgds
Sreekanth
chandregowda
Advisor

Re: display raw filesystem usage

Hi Suraj,

Bdf and df commands will show normanl fs statistics.

But i need raw fs Statistics.

Thanks for your reply,
sreekanthtm
Trusted Contributor

Re: display raw filesystem usage

You are not assigning points..... Please encourage people who spend time and trying to solve your problem.

Cheers
Jeeshan
Honored Contributor

Re: display raw filesystem usage

actually you can monitor the raw file system usage from the application which its using.

but from sam you can view the lvol usage. go to sam and disk and file system and select logical volumes.
a warrior never quits
chandregowda
Advisor

Re: display raw filesystem usage

Hi Ahsan,
Thanks for ur replay.

But,
I need command line options to view raw filesystem usage.

Gokul Chandola
Trusted Contributor

Re: display raw filesystem usage

Hi,
Please use sam.
When you Are Crearting file system That shows the total RAW SPACE available.
Go upto that stage but do not create YOU will get you Que's Ans.
I have done it.
BDF Shows only used and definded FS.

Regards,
Gokul Chandola
There is always some scope for improvment.
Gokul Chandola
Trusted Contributor

Re: display raw filesystem usage

Sorry I have miss one point.

Please use GUI SAM for That.

Regards,
Gokul Chandola
There is always some scope for improvment.
Sandeep_Chaudhary
Trusted Contributor
Solution

Re: display raw filesystem usage

As far as i know raw filesystem is not mounted. It is mainly use for database.
The only way to see utilization from unix side(space free in vg) is "vgdisplay vgname" . From oracle or database side u can see the table space utilization which s the best method to check wether allocated space to LV is totally used or not.

for normal filesystem (vxfs, HFS) u cab use "bdf" command.


Gokul Chandola
Trusted Contributor

Re: display raw filesystem usage

Hi,
Think from BASICS.
First we are creating vg groups one or more.
this is the total difined or Total actual sapce.
Now inside the vg's we are creating FileSystem.

So we can count remaining available space for new FS of modifying existing FS.

You may use this.

AS A SINGLE COMMAND I AM WORKING ON IT. IF WILL GET SOLUTION I WILL ANS.
**BUT As a solution you have two options.


Regards,
Gokul Chandola
There is always some scope for improvment.
Jeeshan
Honored Contributor

Re: display raw filesystem usage

"vgdisplay vgname" is only displays the number of space allocated in the lvol. not the usage.

its only shown from the application, i.e. oracle, informix etc. etc.
a warrior never quits
Steven E. Protter
Exalted Contributor

Re: display raw filesystem usage

Shalom

The summary here is there is really no single way to display raw disk usage. One must use the utilities that are provided with the application that owns and uses the raw disk area.

sqlplus for oracle etcetera.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com