Re: Checking free space on a raw device

  • From: Hemant K Chitale <hkchital@xxxxxxxxxxxxxx>
  • To: Amir.Hameed@xxxxxxxxx, <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 18 Sep 2006 23:39:13 +0800

One single Raw Device should be holding only one datafile.
Normally, the datafile is created as the same size as the Raw Device [minus the header block overhead].

However, you can use
1. dd if=rawdevice of=/dev/null bs=1M
and the count should show the size of the raw device.
2. query dba_data_files for the size of the Oracle Datafile in the raw device.
The difference should be the "free space" -- space which you can resize/autoextend the datafile by.

At 11:19 PM Monday, Hameed, Amir wrote:

Is there an equivalent to "df -k" to check space usage for RAW devices?
If not then how can one look at the free space available on the RAW
device? I am using RHL ES 4.



Hemant K Chitale

-- //

Other related posts: