Operating System - HP-UX
1833016 Members
2297 Online
110048 Solutions
New Discussion

Should i've to unmount the filesystem if i extend it using sam

 
SOLVED
Go to solution
siva0123
Trusted Contributor

Should i've to unmount the filesystem if i extend it using sam

Hi,

I'm going add space in a database filesystem.
which will be the best way?
1.Command line or SAM?

If SAM should i have to unmount the FS .

Thanks,
Siva
10 REPLIES 10
Pete Randall
Outstanding Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Either way you feel comfortable with. If you use SAM, it will attempt to unmount it for you.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Hi Siva:

Whether or not you (at command line) or SAM need to unmount the filesystem is dependent upon whether or not you have Online JFS.

If you have Online JFS, then you can use SAM or the command line to expand your filesystem without an unmount.

To see if you have Online JFS:

# swlist -l product | grep -i OnlineJFS

Regards!

...JRF...
siva0123
Trusted Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Pete,

If the user says that no downtime will be allowed i know i've to go for online JFS .

But Will not sam use Online jfs (fsadm) in the background if online jfs is available in the system.

Thanks,
siva
siva0123
Trusted Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Hi,

Swlist gives the following output
DISPLAY=158.98.223.121:0.0
root@ecom01:/[1]# swlist -l fileset | grep -i onlinejfs
# PHKL_24745 1.0 VxFS 31 OnlineJFS cumulative patch

It shows that only a patch is there?

Can i use Online jfs now.

Siva
Cem Tugrul
Esteemed Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Hi Siva,

Of course you may go with SAM but sometimes
SAM also may go wrong.I always go with from
command prompt(lvextend-extendfs...)
the Q is if you installed online-jfs
then you do not need to umount FS
the other Q is Do you want to take risk???
Last month,i also extend my FS 450Gb-->550Gb
and i have installed online-jfs BUT;
First i waited my offline_bck finished
(means application-DB) closed then
i made my maintenance(FS extending)
Murphy may in charge!!!!
:-))

good Luck,
Our greatest duty in this life is to help others. And please, if you can't
Geoff Wild
Honored Contributor
Solution

Re: Should i've to unmount the filesystem if i extend it using sam

To check for onlinejfs:

# /usr/sbin/vxlicense -p

Should show something like this:

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 (519.7 days from now)
vrts:vxlicense: INFO: Release Level: 22
vrts:vxlicense: INFO: Machine Class: All
vrts:vxlicense: INFO: Site ID: 0


If it does, then you can extend on the fly:

lvextend -l /dev/vgXX/lvolXX

fsadm -b M /path/mount

IE:

lvextend -L 512 /dev/vg00/lvol4
fsadm -F vxfs -b 512M /tmp

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.
Jeff Schussele
Honored Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Hi Siva,

SAM is smart enough to know whether OnLine JFS is installed or not.
So, the answer is - yes - if OJFS is there, SAM will use it.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Deoncia Grayson_1
Honored Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

If you have Online JFS on your server and you expand the filesystem via SAM it will extend it using fsadm.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Pete Randall
Outstanding Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Use "-l product " in your swlist command to check for online JFS:

# swlist -l product |grep -i online
OnlineJFS B.11.11 Online features of the VxFS File System


Pete

Pete
siva0123
Trusted Contributor

Re: Should i've to unmount the filesystem if i extend it using sam

Problem resolved.

Thanks