Operating System - HP-UX
1832619 Members
2860 Online
110043 Solutions
New Discussion

extend lv and extend fs in mcsg

 
SOLVED
Go to solution
Rashid Hamid
Regular Advisor

extend lv and extend fs in mcsg

Is it possible to extend logical volume and extend file system online without halting the pacakage?
What is the step to do that with onlineJFS and without onlineJFS


Thanks
I'm Parit Madirono/Parit Betak Boyz
6 REPLIES 6
nanan
Trusted Contributor
Solution

Re: extend lv and extend fs in mcsg

Hi
Sure if your system installed Online JFS
But may not possible to lvextend and fsextend without halt package.

1. Having Online JFS
lvextend -L /dev/vg/lvolname
fsadm -b M /

2. Non online JFS
you need umount the filesystem you want to increase or decrease lvs
so If the file system is cluster Vg
you have to halt package containing the file sytstem

Regards
nanan
Pupil_1
Trusted Contributor

Re: extend lv and extend fs in mcsg

Even if you have online JFS, you will have to halt the package to extend the FS.
There is always something new to learn everyday !!
Pupil_1
Trusted Contributor

Re: extend lv and extend fs in mcsg

Please read my previos statement as
"Even if you have online JFS, you will have to restart the cluster to make it aware of the new FS size."
There is always something new to learn everyday !!
IT_2007
Honored Contributor

Re: extend lv and extend fs in mcsg

Rashid,

You can extend LV and fs if you have online JFS. Without online JFS, you have to halt package, unmount and do lvextend, extendfs commands.

MUTTIKKAL
New Member

Re: extend lv and extend fs in mcsg


DEAR

PLS CHECK WHETHER UR SYSTEM IS INSTALLED
WITH ONLINE JFS

BY THE COMMAND

" swlist -l fileset JFS " IF GETTING OUT PUT AS BELOW , YOU CAN FOLLOW THE COMMAND

1. lvextend -L /dev/vg/lvolname
fsadm -b M /
2. OTHERWISE OUTPIUT WILL BE AN ERROR ,THEN
YOU HV TO DO BY HALTING THE APPLICATION USING THAT LV AND UMOUNT , THEN EXTEND

NOTE: AFTER EXTENDING THE FILESYSTEM , U HV TO RESTART THE SYSTEM

OUTPUT
JFS
B.11.23 The Base VxFS File System
JFS.JFS-ENG-A-MAN B.11.23 JFS Manual Pages for HP-UX
JFS.JFS-JPN-E-MAN B.11.23 JFS Manual Pages for HP-UX
JFS.JFS-JPN-S-MAN B.11.23 JFS Manual Pages for HP-UX
JFS.VXFS-BASE-KRN B.11.23 The Base VxFS File System Kernel files
JFS.VXFS-BASE-RUN B.11.23 Utilities for JFS management
CHAKRADHAR_1
Advisor

Re: extend lv and extend fs in mcsg

Hi

the system with online jfs you need to do only these two steps..


lvextend -L /dev/vg/lvolname
fsadm -b M /