Unix O/S block size
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Unix O/S block size

  1. #1
    Join Date
    Mar 2001
    Posts
    149

    Unix O/S block size

    Hi all, is there a unix command that shows the o/s blocksize. I want to know this so that i can size my oracle blocksize accordingly. Thx everybody

  2. #2
    Join Date
    May 2002
    Posts
    2,645
    df -g

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    df -g . | grep block
    /export/home (/dev/dsk/c0t0d0s6 ): 8192 block size
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  4. #4
    Join Date
    May 2002
    Posts
    2,645
    use the command mkfs -m /dev/dsk/c?t?d?s?
    look at the bsize value (you need to be root to run this)

  5. #5
    It seems that you are only talking about ufs on solaris?

    Let me add someother things:
    on linux, use tune2fs -l /dev/sdxx

    On hpux , solaris, and if using vxfs, you can use fstyp - /dev/your_device to check t he blocksize.
    On these filesystem, the default block size is 8k.

    And on AIX, the default blocksize is 4K.
    www.cnoug.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width