Operating System - HP-UX
1827260 Members
2098 Online
109717 Solutions
New Discussion

Re: OnlineJFS not working properly

 
S.Rider
Regular Advisor

OnlineJFS not working properly

I'm trying to use OnlineJFS to extend /opt.
# swlist -l product | grep -i jfs
JFS B.11.23 The Base VxFS File System
OnlineJFS B.11.23.0505 Online features of the VxFS File System
PHKL_34179 1.0 JFS3.5 DIO performance; extent rollback
ussbged1:[/root]

When I try to increase the size under sam, I get a pop-up.
"Logical volume /dev/vg00/lvol8 is currently mounted on /var and could not be unmounted. The LV cannot be extended untill
the filesystem is able to be unmounted."

I just did the same thing on 4 11.11 systems and 1 other 11.23 system.

Any idea what is wrong with this one ?
Ride Boldly Ride, but watch out for El Dorado's
6 REPLIES 6
Sameer_Nirmal
Honored Contributor

Re: OnlineJFS not working properly

Do you have SAM patch PHCO_34208 installed?

http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_34208&sel={hpux:11.23,}&BC=main|search|

If not, install the patch and try to extend the filesystem through SAM.
Wessam Aly
Frequent Advisor

Re: OnlineJFS not working properly

From your message, I suppose you already extended the logical volume ?
If you already did extend the logical volume, the next steps are as follows:

# lvdisplay /dev/vg00/

(A list of settings will come up like so..)

--- Logical volumes ---
LV Name /dev/vg00/lvol6
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2000
Current LE 500
Allocated PE 1000
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
----------------------------------------
take the "LV Size (Mbytes)" parameter and the next command would be:

# fsadm -b m /opt

That should simply extend the filesysetm for you. If you get any errors along the way, please post them
The manual said the program requires Windows 95 or better, so I installed Linux !
Steven E. Protter
Exalted Contributor

Re: OnlineJFS not working properly

Shalom,

Sometimes the license file gets corrupted at installation time.

If possible, the best solution is to delete the license file and ocpy it in from another system, or reinstall OnlineJFS.

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
Sundar_7
Honored Contributor

Re: OnlineJFS not working properly

Jay,

I get the impression SAM is failing on lvextend not on fsadm.

Try it from the command

# lvextend -L /dev/vg00/lvol8

# fsadm -F vxfs -b m /var

Sundar.
Learn What to do ,How to do and more importantly When to do ?
George Liu_4
Trusted Contributor

Re: OnlineJFS not working properly

Most likely a bug in the recent lvm related patches.

I have run into a bug which prevented to do lvextend on 11.i and opened a case on HP.
Raj D.
Honored Contributor

Re: OnlineJFS not working properly

S.Rider,

What happens after execution of this two command:

1. # lvextend -L /dev/vg00/lvol8



2. # fsadm -F vxfs -b m


Example:
# lvextend -L 4096 /dev/vg00/lvol8
# fsadm -F vxfs -b 4096m /home



Cheers,
Raj.


" If u think u can , If u think u cannot , - You are always Right . "