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
When you register, my team of editors will also send you resources covering Linux administration and management; integration and interoperability between Linux, Windows and Unix; securing Linux and mixed-platform environments; and migrating to Linux.
Margie Semilof, Editorial DirectorNot 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