Manage Learn to apply best practices and optimize your operations.

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.

Dig Deeper on Linux servers

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.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.