1829114 Members
9049 Online
109986 Solutions
New Discussion

raw device

 
luigi coco
Occasional Contributor

raw device

Hi !!
how I can determinate the percentage used by a raw device ??
Is there a command like "bdf" for raw devices ???

Thanks
6 REPLIES 6
Mark Grant
Honored Contributor

Re: raw device

raw devices are not handled by the operating system and therefore there are no tools as such. THere is no way HPUX could know if all the empty space at the end of your applications data is in fact empty or reserved by the application or even just the kind of data you like to write to disk.

Never preceed any demonstration with anything more predictive than "watch this"
Karthik S S
Honored Contributor

Re: raw device

No .. there are no commands available to determine that. ..

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Mobeen_1
Esteemed Contributor

Re: raw device

Luigi,
Unfortunately these raw devices are not handled by the OS. These devices are taken care by the application (mostly dB apps)

rgds
Mobeen
Trond Haugen
Honored Contributor

Re: raw device

From HP-UX point of view the raw (disk) devices just exist. The "format" of the raw device is only known to the appication using it. Thus there is no command in HP-UX that can tell you how much is used. The application however may have it.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Geoff Wild
Honored Contributor

Re: raw device

No, you can't tell - nor do you want to.

A raw device, also known as a raw partition, is a disk partition that is not mounted and written to via the UNIX filesystem, but is accessed via a character-special device driver; it is up to the application how the data is written, since there is no filesystem to do this on the application's behalf.

For Oracle, You should specify a tablespace slightly smaller in size than the raw partition size, specifically at least two Oracle block sizes smaller.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ravi_8
Honored Contributor

Re: raw device

Hi,

there is no any command exist to show usage of raw devices in hp-ux
never give up