1755161 Members
3108 Online
108830 Solutions
New Discussion юеВ

Re: migrate filesystem

 
SOLVED
Go to solution
kholikt
Super Advisor

migrate filesystem

I have a va7400. I understand LUN cannot be resize. I have a VG named vgora that I seldom use and I am thinking of removing vgora volume group. Can I do a vgextend so that this free LUN unit can be used for another VG that is running out of Free PE.
abc
3 REPLIES 3
Kellogg Unix Team
Trusted Contributor
Solution

Re: migrate filesystem

If you want to use disks of vgora onto another volume-group, then first get the disk details of vgora (vgdisplay -v vgora will give you the disks' path). Then vgexport vgora and (optionally) run pvcreate on disks that are freed up. Now run vgextend on desired VG and include these disks.

If that's what you want, the short answer is - yes!

...Manjeet
work is fun ! (my manager is standing behind me!!)
Jeff Schussele
Honored Contributor

Re: migrate filesystem

Hi kholikt,

You certainly can.
I'd do a fbackup (2's better) of the filesystems now in vgora....just in case. And while you're at it, including the VG you wish to extend would be wise.
Keep in mind, you can't go below the LUN value - you'd have to add the entire LUN to the VG you're extending.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
T G Manikandan
Honored Contributor

Re: migrate filesystem

What you can do is take a backup of the volumes of vgora.
THen you can vgreduce the physical volumes from the vgora volume group.

#vgreduce
Then do a vgremove to remove the volume group

Then you can do a vgextend to add those physical volumes into the existing group

Thanks