Post by Adam ThompsonOK, obviously I missed something. How do you resize ffs filesystems without a dump/restore step?
-Adam
man growfs
short version:
* check your backup.
* dismount partition in question
* enlarge the disklabel partition by changing the endpoint
* run growfs on that partition
* fsck
* mount
* grin.
It is really easy, very fast.
It isn't a fancy volume management system, but if you design and plan
your systems right, it is more than you probably need. You can only
enlarge partitions, and only by changing the endpoint. I firmly believe
that most uses of "volume managers" is more an excuse to poorly design
systems from the beginning and hide the foolishness later, and pat
yourself on the back for having something else to put on your resume.
Of course, if you have two machines which hold the same data on them in
a CARP pair (as I do), you just rebuild the second (standby) one the way
you want it, copy your data back to it, promote it to master, and do the
same for the other machine.
Nick.
Post by Adam ThompsonPost by Nick HollandPost by Stuart HendersonPost by Nick Holland(Exception: when you make a partition small enough to be ffs, but
plan
Post by Stuart HendersonPost by Nick Hollandto growfs it later to a bigger size -- growfs works on ffs and ffs2,
but
Post by Stuart HendersonPost by Nick Hollanddoesn't convert from one to the other. Oh poo. Just realized I
forgot
Post by Stuart HendersonPost by Nick Hollandto do this recently... )
But you have another similar system in a carp cluster so you can
rebuild without downtime, right? :)
Actually, yes. ;)
(I was wondering who would figure out what I was refering to... Stuart
wasn't my first guess, but he was my third. :)
Nick.