Ask the Expert

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

    Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: