HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Extending LV through SAM

 
SOLVED
Go to solution
Mauro Livi
Valued Contributor

Extending LV through SAM

Hi all,
We have HPUX 11.11 and have room on the disks of our EVA 4400 to extend some LVs. I have OnlineJFS and would like to do this through SAM. Here are my questions:
- Can I safely do this through SAM?
- Will SAM do the lvextend as well as the fsadm portions of the tasks?
- Will unmounting or re-booting be required?

Thanks in advance.
Mauro
8 REPLIES
Suraj K Sankari
Honored Contributor
Solution

Re: Extending LV through SAM

Hi,

>>Can I safely do this through SAM?
Yes.
>>Will SAM do the lvextend as well as the fsadm portions of the tasks?
Yes.
>>Will unmounting or re-booting be required?
No.

Suraj
Mauro Livi
Valued Contributor

Re: Extending LV through SAM

Thanks Suraj,
Kind of thought so, just wondered if there were any gotchas.
Dave Johnson_1
Super Advisor

Re: Extending LV through SAM

FYI: I had a problem couple of years ago with trying to extend a filesystem with SAM and OnLineJFS installed, but SAM said it could not unmount the FS so it refused to do it. Turned out to be a bug in the OnLineJFS install did not set some config param in SAM correctly. One time I ran into this, HP gave me a couple of commands to run to fix it. Later there was a patch to SAM to fix it. I could not find my notes so you will have to open a case with HP if you hit that wall.
My 2 cents,
-Dave
Tim Nelson
Honored Contributor

Re: Extending LV through SAM

my 2 cents,

don't count on SAM, for anything, always seems to have something broken...

lvextend -L XXXX /dev/vgname/lvolname
fsadm -b XXXXm /mountpoint
(XXXX is a number in MB)

if you need to add another lun to the vg then add do that first then extend the lvol.
pvcreate /dev/rdsk/cxtxdx
vgextend /dev/vganem /dev/dsk/cxtdxdx
Mauro Livi
Valued Contributor

Re: Extending LV through SAM

Thanks Dave & Tim...all valuable input.

In fact Tim, you caused me to re-think that perhaps just to be on the safe side, I may want to do it manually.

Thanks
Mauro
Torsten.
Acclaimed Contributor

Re: Extending LV through SAM

Since you run 11.11 don't extend vdisks on EVA.

You need to create new vdisks and add them to your existing VGs.

This is an easy task and even SAM can do it.

But it's no problem to do it manually - just pvcreate the new LUN, vgextend, lvextend and finally extend the file system.

Check if you use striping before you begin, maybe you need to add more than 1 LUN.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
madhuchakkaravarthy
Trusted Contributor

Re: Extending LV through SAM

hi

always go in command line

regards

MC
Mauro Livi
Valued Contributor

Re: Extending LV through SAM

Interesting comment Torsten. Out of curiosity, is there a specific reason for not extending an LVOL on an EVA???

Thanks
Mauro