PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 02:33:10 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: ext4 block size  (Read 4042 times)
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« on: October 19, 2010, 02:57:49 PM »


Hello,

Looked around in system info (Xfce) but still cannot determine the block size for the
default ext4 installation I made.  That is supposed to determine the max file size ext4
can handle. 

What is the default block size we use ?


thanks for your response,

patrick013

Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
uncleV
Guest
« Reply #1 on: October 19, 2010, 04:32:07 PM »

Wikipedis says
Ext4
Quote
Max file size  -  16 TiB (for 4k block filesystem)

 Undecided
Logged
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #2 on: October 19, 2010, 05:43:33 PM »

Wikipedis says
Ext4
Quote
Max file size  -  16 TiB (for 4k block filesystem)

 Undecided



So somewhere between 16gb and 16tb there's a blocksize factor.   I wonder where that chart is,
and our installation default blocksize.   Are we at 4k and 16tb or 1k and 16gb ?    Still looking.


regards,

patrick013

Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
muungwana
Hero Member
*****
Offline Offline

Posts: 5403


« Reply #3 on: October 19, 2010, 06:07:02 PM »


type this command as root on the terminal and it should give you what you want to know

dumpe2fs /dev/ABCD | grep -i "block size"

where "ABCD" is the device node address like sda5, sdb6, hda4 etc

i am getting 4096(4KiB) here.
Logged

.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #4 on: October 19, 2010, 06:37:25 PM »


Thanks a bunch,

Then we must be at 4k and 16tb default, which is relaxing as I might have 500gb partition size possibly, and who knows what backup file size, might be or more in the future.
Wonder why I ever tried xfs then.

patrick013

Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM