Growing partitions

From: John Ladd (johnladd68@googlemail.com)
Date: Wed Apr 02 2008 - 09:51:35 EST


Hello,

Env - Solaris 10, Sun 6140, Oracle

I would like some advice about setting up partitions with a view to growing
them later on.

We have a number of partitions that need to be grown periodically to meet
demand. So far we have been using soft partitions (UFS) within a larger
meta device. The idea being that the container device is larger than the
combined sizes of the soft partitions. When we need to grow a soft
partition we do something like :

# metattach d10 10G
# growfs -M /foo/bar /dev/md/rdsk/d10

where d10 is the soft partition.

This has a couple of drawbacks:

- Once you reach the extent of the container partition you have to destroy
everything and start again with a larger container (?)
- There is a write lock on the file system during the growfs.

We are now in a position to buy more storage and shuffle things around a
little. My goals are to minimize the amount of maintenance time, and to
make the platform as flexible as possible. The extra storage will come in
the form of an extension to the existing disk array.

I would be very interested in any advise on how best to tackle this, best
practice, common pitfalls etc.

One option we are looking at is using ZFS instead of UFS and disk suite.
However this is new technology to us, we are open to suggestions on how best
to use it to solve our problems.

Incidentally, I have already tried advising our customer to perform
appropriate capacity planning such that we could maybe avoid the whole
issue, but they appear to be unable to do this.

Thanks in advance,

John
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:54 EDT