The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Ext3 block size

Discussion in 'General Discussion' started by adapter, Jun 29, 2006.

  1. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    we have a Centos server with EXT3 filesystem and Cpanel, now we have note that the block size is 8kb so site withl small files will full the space soon.

    Ext3 make for default a size of 8kb for block? can we reduce it?


    example: du -h

    76K ./components/com_contact
    40K ./components/com_registration
    32K ./components/com_wrapper
    56K ./components/com_weblinks
    140K ./components/com_content
    44K ./components/com_newsfeeds
    32K ./components/com_rss
    24K ./components/com_messages
    40K ./components/com_search
    24K ./components/com_poll/images
    88K ./components/com_poll
    32K ./components/com_frontpage
    44K ./components/com_user
    32K ./components/com_banners
    36K ./components/com_login
    732K ./components


    du- bh

    44K ./components/com_contact
    17K ./components/com_registration
    8.0K ./components/com_wrapper
    25K ./components/com_weblinks
    113K ./components/com_content
    21K ./components/com_newsfeeds
    13K ./components/com_rss
    6.8K ./components/com_messages
    18K ./components/com_search
    4.9K ./components/com_poll/images
    25K ./components/com_poll
    5.9K ./components/com_frontpage
    17K ./components/com_user
    11K ./components/com_banners
    12K ./components/com_login
    335K ./components
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You'll have to investigate mke2fs:

    man mke2fs

    You would have to wipe the partition and recreate it with a different block size and restore the data back.
     
Loading...

Share This Page