Q

Calculating block size

When adding additional space to a filesystem, is there a way to easily calculate the block size? It seems confusing to have to convert the number of free partitions into blocks of 512 bytes. Thanks


Not that I know of, though you may be able to script this one. Typically you'd do it this way, mkfs -G -M /current/mount /dev/rdsk/cXtYdZsA newsize. What has worked for me in the past, has been putting a table together on your own, with various block/mg/byte configs, that you can work with on the fly.


This was first published in December 2002

Dig deeper on Linux management and configuration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataCenter

SearchServerVirtualization

SearchCloudComputing

SearchEnterpriseDesktop

Close