Operating System - HP-UX
1823243 Members
3303 Online
109648 Solutions
New Discussion юеВ

Re: Extending a Volume Group and striping new Luns

 
SOLVED
Go to solution
Michael Callaghan
Occasional Advisor

Extending a Volume Group and striping new Luns

I have the syntax for striping luns within a volume group using lvcreate on HPUX 11i.

I have created a volume group and have logical volumes striped across luns within that volume group.

The question is, if I extend the above volume group with new luns, can I specify, when creating new logical volumes only stripe on the new luns.

6 REPLIES 6
Fred Ruffet
Honored Contributor
Solution

Re: Extending a Volume Group and striping new Luns

What you can do is to create a zero-sized lv and specify your new PVs when extending your LV to the wanted size.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)
Victor BERRIDGE
Honored Contributor

Re: Extending a Volume Group and striping new Luns

Hi Michael,
My 2 cents...
I would go straight away in creating a new VG for the new luns you want to stripe before things get confusing, I generally choose the vgname to remind on what the LVM lie on (except vg00...) so I know s4vg03 is for stripes on 4pv s2vg04, stripes on 2 disks,r5vg02 is (our standard)raid5 ...
Like that the day you are short of space in a vg, you know already how many PV youo are to add...

All the best
Victor
Michael Callaghan
Occasional Advisor

Re: Extending a Volume Group and striping new Luns

So what is the syntax:

lvcreate -n [lvol_name] -i [number of luns] -I 64 vg_name

lvextend -L [Size] vol_grp_name DISK DISK DISK etc

Have you ever tryed this yourself ???
Michael Callaghan
Occasional Advisor

Re: Extending a Volume Group and striping new Luns

Thanks Victor, great minds think alike but
other than going through the new vg solution thought their might be another way
Cheers
Michael
Michael Callaghan
Occasional Advisor

Re: Extending a Volume Group and striping new Luns

Thanks Fred

Tried those two syntaxs in my reply and it worked

Cheers

Michael
Michael Callaghan
Occasional Advisor

Re: Extending a Volume Group and striping new Luns

As per my reply to fred