Operating System - HP-UX
1851030 Members
2917 Online
104056 Solutions
New Discussion

Question about VxVM (veritas)

 
andrea_53
Advisor

Question about VxVM (veritas)

Hi people, here is Andrea.
I have a problem, I would like to extend a VxFS. I tried by vmsa without any result. Could someone tell me how can I do?
I know something about vxresize o vxassist but I have never used them.

After that I should make a snapshot copy, but I don't know how to do it. I would like to know If it dangerous for the original file system. Do I have to create a volume before running snapshot command?

Please help me. Thanks a lot.
5 REPLIES 5
Ian Dennison_1
Honored Contributor

Re: Question about VxVM (veritas)

Are you using Veritas File System for HP-UX? Or for another platform?

I have mirrored lvols using Mirror/UX, and it requires an lvol of the same size to be created before the mirror can be created.

OnlineJFS can be used to extend file systems online, in the following way,...

lvextend -L [MB] /dev/vgXX/lvolYY
fsadm -F vxfs -b [KB] /mountpoint

Hope this is of somehelp.

Share amd Enjoy! Ian
Building a dumber user
andrea_53
Advisor

Re: Question about VxVM (veritas)

I'm using Base VERITAS Volume Manager 3.2 for HP-UX
Ian Dennison_1
Honored Contributor

Re: Question about VxVM (veritas)

Andrea,

From memory, the functions you mentioned are not available in the standard Veritas product for HP-UX.

Check out www.veritas.com, look in the Products Menu.

Share and Enjoy! Ian
Building a dumber user
Nick Wickens
Respected Contributor

Re: Question about VxVM (veritas)

vxassist is included in the base VxVM supplied with HP-UX 11i. I have not used VxVM outside of HP Pinewood class rooms yet but I seem to recall that is the "growto" or "growby" options to the vxassist - The man page describes these in detail.
Hats ? We don't need no stinkin' hats !!
Arockia Jegan
Trusted Contributor

Re: Question about VxVM (veritas)

Hi,

You can use either "vxresize" or "vxassist" command to extend the vxfs file system.

Before extending the file system size make sure you have enough space in the volume group. To find out that run "vxassist maxgrow ". Here are the ways to extend the vxfs file systems

vxresize:

#vxresize -F vxfs disk
disk ---> spare disk
size ---> in gb, mb or sectors . default is sectors
eg:

#vxresize -F vxfs /test 18g disk1

vxassist:

# vxassist growto length
(To extend the volume to a specific length)

# vxassist growby length
( To extend the volume by a specific length)


Arockia.