If the physical disk layout actually leaves room for you to increase the partition size then you shouldn't need to move the files around at all, although you should of course tar em up somewhere to keep them safe. UFS presumably?
To increase the size of a UFS filesystem on the fly (use at own risk):
I have space on the disk, I was planning on using format to increase the partition size.
I wasn't aware that you could increase the partition size on the fly except through VFs, is this a feature of Solaris 10 or has it always been around ?
As far as I know it is undocumented, but I noticed that when you use vxresize to resize a volume and filesystem in Veritas Volume Manager the above command is the one it uses; I took note of it and have used it manually on several occasions.
Note that you can only use format to increase the partition size if opt is the last partition on the disk with free space immediately following it. You probably know this, but... to be sure...
I'm using disksuite and there's the metadb partition after the opt partition but I plan to move that partition to the end of the disk before I do anything.
The opt partition is on slice 5, then I have slice 7 at the end of the disk with the metadbs. So I would have free space between slice 5 and 7.
If I were to now use the mkfs command would it grow slice 5 and the opt partition to occupy the free space without screwing up anything else ?
if you use growfs -M, you can grow it while it is still mounted. I've used it many of times, it is pretty straight forward.
your biggest probelm is your metadb's are sitting in the middle of your disk, as you said, you should move them to slice 7, maybe you can delete the metadb's on ONE disk only, and move them to slice 7. At this point you can attempt the growfs command, it is hard to tell w/o seeing how your disk is actually laid out.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.