Saturday, May 16, 2009

Expanding soft partitions

In the previous post create a soft partition with SVM we saw how to create a soft partition using SVM. Now this is how it can be growed or expanded.

Expanding a soft partition is a two stage process. Firstly, the partition must be increased in size and then the filesystem on the partition must be extended to use the available space.

To expand a soft partition use the following command:


For example:

metattach d0 10g

would give soft partition d0 an additional 10Gb of space.

To extend the filesystem, the growfs command is used. The syntax is:

growfs -M

For example:

growfs -M /disk/ptn001 /dev/md/rdsk/d0

The new space allocated to the partition should now be usable.

Note that growfs requires that you give it the RAW device name. Not doing so will result in an obscure error message.

Readers who read this page, also read:

Bookmark and Share My Zimbio