1850962 Members
4627 Online
104056 Solutions
New Discussion

HFS FILESYSTEM BLOCKS

 
SOLVED
Go to solution
so_2
Regular Advisor

HFS FILESYSTEM BLOCKS

This query is not a part of problem but is just for my awareness.If i am using HFS with a block size of 8kb how many bytes are read if a 1KB read is requested? Also what fragment size would suit me for maximum disk space utilisation?An explanation from unix gurus are expecting..

thanks
s.o
6 REPLIES 6
Devender Khatana
Honored Contributor
Solution

Re: HFS FILESYSTEM BLOCKS

Hi,

One block is the minimum unit in which read is performed. So any read operation will include reading one full block.

Attached is the Unix performance cookbook clarifying a few of similar queries but on JFS flatform.

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: HFS FILESYSTEM BLOCKS

Hello,

Fragmentation for small files are done in 1K (upto 8K), for files > 8K, it is 8K increments.
More information can be seen at,

http://docs.hp.com/en/B3929-90011/ch05s02.html

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: HFS FILESYSTEM BLOCKS

Shalom,

Generally a file, whether big or small takes up a block. If you have lots of small files, then smaller block and fragment sizes will mimimize disk utilization. If you have big files, larger block size.

Note: HFS is only required for /stand on HP-UX 11i v1 and before. Almost anything else should be done with JFS vxfs on which the same general principles hold.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: HFS FILESYSTEM BLOCKS

Hi,

If you are looking HFS supported sizes, take a look at the attachment.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: HFS FILESYSTEM BLOCKS

Sorry, attachment was missed in my last post.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
so_2
Regular Advisor

Re: HFS FILESYSTEM BLOCKS

closing. points assigned to all.
thanks.
s.o