Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to get the size of raw device files
If your platform is using an LVM, take a look at the docs for it. You should be able to execute something in the LVM command set to list the size of the raw device. Under AIX for example you would use lslv(1).
If no LVM is in use, maybe these raw device files represent entire disks, in which case you could just find the hardware path to the disk ( via the device file I suspect ) and then find its size.
Regarding the dd stuff...
Why not use bs=8192000 or something and slap it to /dev/null?
<maiklb_at_my-deja.com> wrote in message news:8tm25d$9fv$1_at_nnrp1.deja.com...
>
>
> Is there a way to get the exact file size of a
> character special file in a Oracle Database ?
>
> 1) I can't query the information from Oracle because
> Oracle isn't running.
>
> 2) The processing of "dd if=.. of=.. bs=.." takes too long
> using small blocksizes.
>
> Thanks
> Michael
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Oct 31 2000 - 12:16:16 CST