1834770 Members
3484 Online
110070 Solutions
New Discussion

Re: Online JFS

 
SOLVED
Go to solution
Raj_58
Advisor

Online JFS

Hi,
I installed Online JFS and i mirrored the bootdisk.I booted from the mirror disk.When i try to extend the filesystem size , it's not working. It's giving the following error...

" Logical volume /dev/vg00/lvol5 is currently mounted on /opt and could not be unmounted. The LV cannot be extended until the file system is able to be unmounted. Note that the fuser(1M) command can be used outside of SAM to help determine what processes and users are currently accessing this file system. "

Any suggestions ?

Thanks
9 REPLIES 9
Geoff Wild
Honored Contributor
Solution

Re: Online JFS

What coomand are you running?

Should be:

lvextend -L /dev/vg00/lvol5
fsadm -b M /opt

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sundar_7
Honored Contributor

Re: Online JFS

Try it from the command line. Also makesure OnlineJFS product filesets are in configured state

# swlist -l fileset -a state OnlineJFS

Also check for the vxadv drive int he kernel

# strings /stand/vmunix | grep vxadv

Now try to extend the LV

# lvextend -L /dev/vg00/lvolname

# fsadm -F vxfs -b m /opt
Learn What to do ,How to do and more importantly When to do ?
Raj_58
Advisor

Re: Online JFS

Hi Sundar adn geoff,

I was trying in SAM and i couldnt succeed.
When i tried now with
lvextend -L 1600 /dev/vg00/lvol5
it's working. But

# fsadm -F vxfs -b 1600m /opt command gives error
fsadm: the -b option requires "HP OnLineJFS (Advanced Vxfs)"
gives error

any suggestions for this?
Geoff Wild
Honored Contributor

Re: Online JFS

Sounds like OnlineJFS isn't installed/active - check Sundars commands above.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
RAC_1
Honored Contributor

Re: Online JFS

Things to check--
(for fsadm -b to work)

1. swlist -a state -l fileset OnlineJFS
2. /sbin/fs/vxfs/vxenablef -a
3. Is vxadv driver in kernel
kmsystem|grep vxadv

Anil
There is no substitute to HARDWORK
Prashant Zanwar_4
Respected Contributor

Re: Online JFS

# swlist -l bundle | grep -i JFS
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
# swlist -l fileset -a state B3929BA
# B3929BA
# B3929BA.AdvJournalFS
B3929BA.AdvJournalFS.AJFS-ENG-A-MAN configured
B3929BA.AdvJournalFS.AJFS-JPN-E-MAN configured
B3929BA.AdvJournalFS.AJFS-JPN-S-MAN configured
B3929BA.AdvJournalFS.VXFS-ADV-KRN configured
B3929BA.AdvJournalFS.VXFS-ADV-RUN configured

If you gave above installed and configured. You should be successful to do fsadm -b also.

Just do

# fsadm -b
fsadm: argument missing for the option b

If this is like above then you are only missing correct parameters in your command.

Just check above first.

Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Geoff Wild
Honored Contributor

Re: Online JFS

What do you get with:

vxlicense -p


That just checks your license...

Should look like:

vrts:vxlicense: INFO: Feature name: HP_OnlineJFS [50]
vrts:vxlicense: INFO: Number of licenses: 1 (non-floating)
vrts:vxlicense: INFO: Expiration date: Sun Jun 24 02:00:00 2007 (996.5 days from now)
vrts:vxlicense: INFO: Release Level: 22
vrts:vxlicense: INFO: Machine Class: All
vrts:vxlicense: INFO: Site ID: 0

If not, you may have to re-install OnlineJFS...


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Prashant Zanwar_4
Respected Contributor

Re: Online JFS

If you want you can use extendfs also in single user mode.

Just as curiosity, you would like to check the space availeble in your VG where your are trying to extend the FS. I believe you are in root VG.

You can use following if you are going to do it in single user mode when /opt is not mounted.

extendfs -F vxfs -s size /dev/vg00/lvol5

-s size Specifies the number of DEV_BSIZE blocks to be added to the file system. If size is not specified, the maximum possible size is used.

you may shutdown all applications.
fuser -ku /dev/vg00/lvol5

then u

umount /dev/vg00/lvol5
extendfs as mentioned above.
mount
start all applications...


Hope this helps
Prashant


"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Sยภเl Kย๓คг
Respected Contributor

Re: Online JFS

<<< the="" -b="" option="" requires="">gives error >>>sounds like your online JFS is not active/configured properly.
Try #swlist -l fileset -a state OnlineJFS
check the status of the OnlineJFS,
use swconfig command to reconfigure it.
regards
SK
Your imagination is the preview of your life's coming attractions