Operating System - HP-UX
1843974 Members
2194 Online
110226 Solutions
New Discussion

Re: Extending root file system by VxVM

 
jhuihuihi
Contributor

Extending root file system by VxVM

I've RP5405 and file system configured by Veritas FIle System (VxVM). Now, I want to increase /opt from 800MB to 1.5GB.
Both of CLI and vmsa reporting error when i did increasing /opt.
Does /opt can be resized online ? or must be in single user like LVM ?
Any suggestion ?

Thanks,

Jhui
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Extending root file system by VxVM

/opt may be configured as contiguous. You may need to change that setting prior to expanding it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Extending root file system by VxVM

Jhui,

VxVM is Veritas Volume Manager, not the Veritas Files System (usually shortened to VxFS, and also known as JFS on HP-UX).

There should be no problem extending the volume that the /opt filesystem is on, but once the volume has been extended, the filesystem must also be extended, and this may be where your problem is. If you don't have the *full* version of Veritas file system (usually appears as 'OnLine JFS' in a swlist listing), then the filesystem can't be extended online. To extend the filesystem in this situation it must be unmounted, which usually means going to single user mode for /opt as many system daemons access this filesystem.

Of course if you told us what the error message you are getting is, it might clarify this.

Incidentally /opt is not normally created as a contiguous volume.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
PVR
Valued Contributor

Re: Extending root file system by VxVM

If /opt is a Online JFS(Adv JFS product), you can increase it online. I mean; without unmounting /opt and in multi user mode.
You can use the command

#fsadm for this purpose. Pl check the man page of FSADm for details.
Don't give up. Try till success...
Hoefnix
Honored Contributor

Re: Extending root file system by VxVM

to check the manpage of fsadm with online JFS product installed i think you have to type: man fsadm_vxfs.

Still keep in mind the remark of SEP, because it won't even extend with onlineJFS when the volume is configured contiguous.

Regards,

Peter Geluk