Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* How can I figure out what my UNIX disk block size is in bytes
@ 1998-02-16  5:00 Jeff Shervey
  1998-02-16  5:00 ` Coburn Watson
  1998-02-18  5:00 ` Dr. Strangelove
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Shervey @ 1998-02-16  5:00 UTC (permalink / raw)



Were running DEC UNIX 4.0b on an Alpha 4100 and the ADVFS (Advanced File
System) with HSZ-40 controllers.  How can I determine what size in bytes my
OS block size is? (disk blocks)

Need to figure this out for advanced tuning of Oracle.

Thank you,
Jeff S.  jeff.shervey@us.landisstaefa.com-nospam
remove the -nospam at the end to reply to me.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How can I figure out what my UNIX disk block size is in bytes
  1998-02-16  5:00 How can I figure out what my UNIX disk block size is in bytes Jeff Shervey
@ 1998-02-16  5:00 ` Coburn Watson
  1998-02-16  5:00   ` Volker Borchert
  1998-02-18  5:00 ` Dr. Strangelove
  1 sibling, 1 reply; 4+ messages in thread
From: Coburn Watson @ 1998-02-16  5:00 UTC (permalink / raw)
  To: Jeff Shervey


If you're not using raw devices, do a 'df -k' on the system of interest, 
this will give the you total kbytes of each filesystem, then run 'df' 
without the 'k' option to get the total number of blocks on each 
filesystem.  Do some basic division and you are done.  I'm not familiar 
with DEC UNIX, but it should work.  Hope that helps.

Coburn Watson
Oracle DBA - McKesson Corp.
cpw@slip.net





Jeff Shervey wrote:
> 
> Were running DEC UNIX 4.0b on an Alpha 4100 and the ADVFS (Advanced File
> System) with HSZ-40 controllers.  How can I determine what size in bytes my
> OS block size is? (disk blocks)
> 
> Need to figure this out for advanced tuning of Oracle.
> 
> Thank you,
> Jeff S.  jeff.shervey@us.landisstaefa.com-nospam
> remove the -nospam at the end to reply to me.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How can I figure out what my UNIX disk block size is in bytes
  1998-02-16  5:00 ` Coburn Watson
@ 1998-02-16  5:00   ` Volker Borchert
  0 siblings, 0 replies; 4+ messages in thread
From: Volker Borchert @ 1998-02-16  5:00 UTC (permalink / raw)



In article <34E80666.293D@slip.net>, Coburn Watson <cpw@slip.net> writes:
|> If you're not using raw devices, do a 'df -k' on the system of interest, 
|> this will give the you total kbytes of each filesystem, then run 'df' 
|> without the 'k' option to get the total number of blocks on each 
|> filesystem.  Do some basic division and you are done.  I'm not familiar 
|> with DEC UNIX, but it should work.  Hope that helps.

Hmmm - depends on what you call a block. SunOS 4.1.x, for example,
uses 512 byte physical blocks, but usually 8192 byte logical blocks
and 1024 byte fragments unless you specify other values to newfs.

Other Unices might do likewise.

Besides, said SunOS 4.1.x (and probably other BSD derived Unices)
have df's which always count kbytes. I am too not familiar with DEC
Unix, so your mileage may vary.

	vb

-- 

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert  <bt@teknon.de>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How can I figure out what my UNIX disk block size is in bytes
  1998-02-16  5:00 How can I figure out what my UNIX disk block size is in bytes Jeff Shervey
  1998-02-16  5:00 ` Coburn Watson
@ 1998-02-18  5:00 ` Dr. Strangelove
  1 sibling, 0 replies; 4+ messages in thread
From: Dr. Strangelove @ 1998-02-18  5:00 UTC (permalink / raw)



On Mon, 16 Feb 1998 08:01:07 -0600, "Jeff Shervey"
<jeff.shervey@us.landisstaefa.com_spamblock> wrote:

>Were running DEC UNIX 4.0b on an Alpha 4100 and the ADVFS (Advanced File
>System) with HSZ-40 controllers.  How can I determine what size in bytes my
>OS block size is? (disk blocks)

AFAIK when a disk block is read from a hard disk under Digital Unix,
the disk physically reads an 8192 byte block.

Hope this helps,

Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-02-18  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-16  5:00 How can I figure out what my UNIX disk block size is in bytes Jeff Shervey
1998-02-16  5:00 ` Coburn Watson
1998-02-16  5:00   ` Volker Borchert
1998-02-18  5:00 ` Dr. Strangelove

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox