Block size of partition
Hi,
I have red hat enterprise advance server 4 installed will default configurations. File system is ext3 1) How could i find than what is block size of my each partition. 2) How much big file i could sotore in on my faile system Regards |
Hi first off you need to know what block device the partition resides on.
For my system, to get a listing of the active partitions, I can run the command "df -h": Code:
@lith.ath.cx 15:02 ~]$ df -h Now that I know where my partition is, I can run "tune2fs -l" to give me some info about that ext2/3 partition. I will use "tune2fs -l | grep -i 'block size'" specifically, to give me just the block size. On my system, and probably yours too, you will need to become root to run this. Code:
root@lith.ath.cx 15:05 ~]# tune2fs -l /dev/hda3 | grep -i 'block size' Wikipedia (ext3) -- "Max file size 16GiB – 2TiB" Hope that helps! |
Problem accessing info on Block Size
While trying to find the block size, I simply used command as shown below, as root:
Code:
reddylap:/home/raamana # tune2fs -l /dev/hda1 It gives this strange mesg. Is something wrong? How do I find my block size? Thanks in advance, Pradeep |
looks like your /dev/hda1 is not an ext2/3 partition.
Try running this command (probably have to as root), and post what the output says; the command lists the partition table. Code:
fdisk -l /dev/hda |
Code:
reddylap:/home/raamana # fdisk -l And it works, if I use Code:
tune2fs -l /dev/hda4 |
All times are GMT -5. The time now is 08:00 PM. |