Operating System - HP-UX
1753781 Members
7526 Online
108799 Solutions
New Discussion

root volume extend with vxresize

 
SOLVED
Go to solution
Livia
Advisor

root volume extend with vxresize

Hello everyone~~
I put root filesystem(/) in volume "rootvol"

#> vxprint -t rootvol
Disk group: rootdg

V NAME RVG KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v rootvol - ENABLED ACTIVE 204800 ROUND   - root

Disk group "rootdg" still has 25G free space now.
Now my / is coming full, I want to extend volume first and then use fsadm to extend filesysetm:

#> /etc/vx/bin/vxresize -F vxfs -x rootvol 400M
vxvm:vxresize: ERROR: resizing volume other than FSGEN or RAID5 can result in loss of data. Use -f option to force resize this volume.

Now can I just execute "/etc/vx/bin/vxresize -F vxfs -xf rootvol 400M" ?

Will it cause any data loss?
I'm worried about data loss, because it is boot disk. If server cannot boot up, then.....:~

Is there any solution more SAFE and APPLICABLE?
Thanks for any help/suggestion.

(P.S. I have OnlineJFS and want to extend the filesystem online.)
2 REPLIES 2
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: root volume extend with vxresize

Hi Livia,

No rootvol needs to be contiguous, you can only size this volume during the OS install or during an ignite make_tape/net_recovery restore.

http://forums11.itrc.hp.com/service/forums/questionanswer.do;HP-FORUMS-S-WPA-IDX=HYTckxtdBL2nzjp3t7HYMMXybm21vWh72FyMFJJgPD1x0VNhfKBT!-790215598!925717714?threadId=1181975

Regards,
Robert-Jan
Livia
Advisor

Re: root volume extend with vxresize

Thanks :~~
I forgot this.....
root file system size can only change during installation.

So now I have to find another way to reduce the usage of my / filesystem.