Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks
Hi,
I'm new to HP-UX.
I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3
Thanks
I use LVM all the time - not on HP-UX - but a simple google search found me this:
LVM and VxVM Command Equivalents
At least it shows the HP-UX LVM commands to do what you want to do.
Generally shrink the filesystem size (if required) then reduce the LV size.
From your wording I gather you do have a file system inside that logical volume. Does your system have OnlineJFS? Then you could shrink the filesystem first with fsadm -b, followed by lvreduce.
As mentionned by Scrutinizer... First would be to know if you have Online JFS:
ant:/home/vbe $ swlist |grep JFS
B3929CA B.11.11.03.03 HP OnLineJFS
Because if you dont reducing /var means going single user...
Sorry guys, i was away. Yes we do have online JFS. And i was able to use fsadm -b then apply lvreduce.
Thanks