1834066 Members
3053 Online
110063 Solutions
New Discussion

Resizing with OnlineJFS

 
SOLVED
Go to solution
christian_derek
Regular Advisor

Resizing with OnlineJFS

Hi,

I'm running a hpux foundation v2 11.23 on a rx7620 with a virtual array 7110. I did install the onlineJFS, but I was unable to resize my logicial volume. I saw that I should enable the software on the internet, but when I'm trying /sbin/fs/vxfs/vxenablef -a -e online, I'm getting mismatch : command version 35 - kernel version 33.

here is the output of the vxlicrep
VERITAS License Manager vxlicrep utility version 3.02.006
Copyright (C) 1996-2004 VERITAS Software Corp. All Rights reserved.

Creating a report on all VERITAS products installed on this system

-----------------***********************-----------------

License Key = 3JZH-CNP6-DP3N-RP40-4HSP-ZNPP-P
Product Name = VERITAS File System
Serial Number = 1
License Type = PERMANENT
OEM ID = 4095

Features :=
HP_OnlineJFS = Enabled

CPU Count = Not Restricted
Platform = HP-UX
Version = 3.5


-----------------***********************-----------------

License Key = 3JZU-WDP6-PP6C-P4O4-HS38-NPPO-P
Product Name = VERITAS File System
Serial Number = 1
License Type = PERMANENT
OEM ID = 4095

Features :=
HP_OnlineJFS = Enabled

CPU Count = Not Restricted
Platform = HP-UX
Version = 4.1
File Change Log = Enabled

#

any idea?

Thanks,
11 REPLIES 11
Mel Burslan
Honored Contributor

Re: Resizing with OnlineJFS

I am not sure if you have to license HP's OnlineJFS product with veritas licence manager. As I do not have any integrity servers or 11.23 servers in my farm I can not speak at any level of certainity but on 11.11, if your codeword enables you to install online jfs from the distribution media, you are good to go.

if you can elaborate what you mean by "I was not able to resize my logical volume" by explicityly posting your commands and the error messages you got back from the server, you may get a better response.
________________________________
UNIX because I majored in cryptology...
christian_derek
Regular Advisor

Re: Resizing with OnlineJFS

I tried to resize it with the sam utility, so I got an error saying that it was unable to umount the /opt.

Thanks,
Mel Burslan
Honored Contributor

Re: Resizing with OnlineJFS

Try doing it the "hard" way, i.e. from command line as follows:

assuming you want to increase the size of your /opt filesystem to 8000MB. modify the number according to your case. note that, 8000MB or roughly 8GB is the final size of /opt not the additional space you want to allocate.

lvextend -L 8000 /dev/vg00/lvol5
fsadm -F vxfs -b 8000M /opt

this should accomplish your task. If you get any errors in the process, please post the error messages for further help

Note lvol5 is the default logical volume for /opt but yours might be different. check before proceeding with the first command above and modify the lvol if necessary
________________________________
UNIX because I majored in cryptology...
Sandman!
Honored Contributor

Re: Resizing with OnlineJFS

post the output of "vxlicense -p"
christian_derek
Regular Advisor

Re: Resizing with OnlineJFS

the hard way did work,

I notified that there is 2 versions of onlineJFS install, the default one is the one that return and error when I do the vxenablef, so I have /sbin/fs/vxfs and vxfs4.1.

Do I need to uninstall a version?

Is it possible that sam point to the wrong version.

Here is the output of my swlist...
# Target: alicia:/
#

#
# Bundle(s):
#

B3691AA C.04.50.00 HP GlancePlus/UX For HP-UX 11.23
(s700)
B3693AA C.04.50.00 HP GlancePlus/UX For HP-UX 11.23
(s800)
B3929DA B.11.23.0512 HP OnLineJFS (Server)
B3929EA 4.1.005 HP OnLineJFS (Server)
B5725AA B.5.4.50 HP-UX Installation Utilities (Ign
ite-UX)
B6834AA B.01.03.01 HP-UX Security Patch Check Tool
B6848BA 1.4.gm.46.6 Ximian GNOME 1.4 GTK+ Libraries f
or HP-UX
B6849AA B.02.01.02 Bastille Security Hardening Tool

B8339BA B.03.00.05 servicecontrol manager Server and
Agent Bundle
B8465BA A.01.05.08 HP WBEM Services for HP-UX
B9073BA B.06.01 HP-UX iCOD (Instant Capacity on D
emand)
B9788AA 1.3.1.09.07 Java2 1.3 SDK for HP-UX
B9789AA 1.3.1.09.07 Java2 1.3 RTE for HP-UX
B9901AA A.03.05.06 HP IPFilter 3.5alpha5
BUNDLE B.11.23 Patch Bundle
BUNDLE11i B.11.23.0409.3 Required Patch Bundle for HP-UX 1
1i v2 (B.11.23), September 2004
Base-VXFS 4.1.002 VERITAS File System Bundle 4.1 fo
r HP-UX
Base-VXVM B.03.50.IA.003 Base VERITAS Volume Manager Bundl
e 3.5 for HP-UX
CDE-English B.11.23 English CDE Environment
CMDVIEWSDM 1.09.02 HP StorageWorks Command View VA
EnableVxFS B.11.23.03 File-System library, commands enh
ancements for VxFS4.1
FDDI-00 B.11.23.00 PCI FDDI;Supptd HW=A3739B;SW=J362
6AA
FEATURE11i B.11.23.0603.040 Feature Enablement Patches for
HP-UX 11i v2, March 2006
FibrChanl-00 B.11.23.02 PCI FibreChannel;Supptd HW=A6795A
,A5158A
FibrChanl-01 B.11.23.01 PCI-X FibreChannel;Supptd HW=A682
6A,A9782A,A9784A
GigEther-00 B.11.23.01 PCI GigEther;Supptd HW=A4926A/A49
29A/A6096A;SW=J1642AA
GigEther-01 B.11.23.03 PCI GigEther;Supptd HW=A6825A/A67
94A/A6847A/A8685A/A9782A/A9784A/A7109A
HPUX11i-OE B.11.23.0403 HP-UX Foundation Operating Enviro
nment Component
HPUXBaseAux B.11.23.0403 HP-UX Base OS Auxiliary
HPUXBaseOS B.11.23 HP-UX Base OS
HWEnable11i B.11.23.0403.5 Hardware Enablement Patches for H
P-UX 11i v2, March 2004
IEther-00 B.11.23.02 PCI/PCI-X IEther;Supptd HW=A7011A
/A7012A/AB352A
Ignite-IA-11-23 B.5.4.50 HP-UX Installation Utilities for
Installing 11.23 IPF Systems
JAVAOOB 2.02.00 Java2 Out-of-box for HP-UX
MOZILLA 1.4.0.01.00 Mozilla 1.4 for HP-UX
MOZILLAsrc 1.4.0.01.00 Mozilla 1.4 Source distribution
NPar B.01.02.00.02 nPartition WBEM Provider - HP-UX

OnlineDiag B.11.23.02.22 HPUX 11.23 Support Tools Bundle,
Mar 2004
OpenSSL A.00.09.07i.005 Secure Network Communications Pr
otocol
ParMgr B.11.23.02.00.02.02 Partition Manager - HP-UX
QPKAPPS B.11.23.0603.040a Applications Quality Pack Bund
le for HP-UX 11i v2, March 2006
QPKBASE B.11.23.0603.040a Base Quality Pack Bundle for H
P-UX 11i v2, March 2006
Sec00Tools B.01.00.03 Install-Time security infrastruct
ure.
T1456AA 1.4.1.03.01 Java2 1.4 SDK for HP-UX
T1457AA 1.4.1.03.01 Java2 1.4 RTE for HP-UX
T1471AA A.03.10.007 HP-UX Secure Shell
TC-OpenSource B.11.23.20.12 TC-OpenSource
USB-00 B.11.23.01 Object Oriented USB Driver
hpuxwsApache B.1.0.10.03 HP-UX Apache-based Web Server
hpuxwsTomcat B.1.0.10.01 HP-UX Tomcat-based Servlet Engine

hpuxwsWebmin A.1.0.06.01 HP-UX Webmin-based Admin
hpuxwsXml A.1.0.06.01 HP-UX XML Web Server Tools
ixChkrootkit A.07.00-0.46a.001 Tool to locally check for sign
s of a rootkit
perl D.5.8.0.B Perl Programming Language
scsiU320-00 B.11.23 PCI SCSI U320; Supptd HW=CoreIO
security A.07.00-001 HP-UX Internet Express
web2 A.07.00-003 HP-UX Internet Express
#
# Product(s) not contained in a Bundle:
#

Eloquence B.07.10.10 Eloquence B.07.10
PHCO_32146 1.0 libpam cumulative patch
PHCO_33487 1.0 libpam_hpsec cumulative patch
PHKL_34094 1.0 LVM Cumulative Patch
PHKL_34432 1.0 s700_800 11.23 execve panic
PHSS_33587 1.0 CDE Base Patch
PHSS_33588 1.0 CDE Applications Patch
bash 3.1.16 bash
curl 7.15.4 curl
gettext 0.14.6 gettext
glib 1.2.10 glib
libgcc 4.1.1 libgcc
libiconv 1.10 libiconv
libidn 0.5.20 libidn
lsof 4.77 lsof
ncurses 5.5 ncurses
openssl 0.9.8b openssl
popt 1.7 popt
rsync 2.6.8 rsync
tar 1.15.1 tar
tusc 7.8 tusc
vim 6.4 vim
wget 1.10.2 wget
zlib 1.2.3 zlib


Thank you again
christian_derek
Regular Advisor

Re: Resizing with OnlineJFS

the output of vxlicense show ...

# vxlicense -p
vrts:vxlicense: INFO: No valid license installed

But, I was able to do the lvextend and increase the size of my /opt directory?

Thanks,
Mel Burslan
Honored Contributor

Re: Resizing with OnlineJFS

I think, if you want to replace the LVM you are currently running with VxVM, then you need to look into the vxlicence business. Otherwise you should be okay.
________________________________
UNIX because I majored in cryptology...
NPD USER
Regular Advisor
Solution

Re: Resizing with OnlineJFS

I had the exact same problem. Command line execution worked, but NOT from within SAM.

Seems this is recognized in patch PHCO_34208 :

JAGaf79629 ) When trying to extend a filesystem with SAM and OnlineJFS B.11.23.0505, the following error message is displayed: =============================================
Executing the following command:
\C/usr/sbin/vxlicense -p >/dev/null 2>&1 && (
/sbin/fs/vxfs/vxenablef | /usr/bin/fgrep -i
Full_VxFS )\C
Command completed with exit status 1.
=============================================


I have NOT applied and tested this patch yet, but it may solve this problem.
(Mind you, it doesn't really explain what the problem is.)
IT_2007
Honored Contributor

Re: Resizing with OnlineJFS

use /sbin/fs/vxfs/vxenablef to enable it and then run lvextend and fsadm to make it work.

christian_derek
Regular Advisor

Re: Resizing with OnlineJFS

Hi,

Here is the answers I'm getting trying to run the vxenablef ...

# /sbin/fs/vxfs/vxenablef
mismatch : command version 35 - kernel version 33

I'm downloading the patch recommend in the previous post, I will see.

Thanks,
christian_derek
Regular Advisor

Re: Resizing with OnlineJFS

Hi,

I just installed the phco_34208, everything looks great, I was able to resize a logical volume within SAM, but I did get an error at the startup of the logical volume option...

Encountered an error. SAM cannot recognize disk layout version 6.

But, it still worked.

thanks,