1837108 Members
2506 Online
110112 Solutions
New Discussion

LV link

 
Joeriz Agtay
Occasional Contributor

LV link

V11.0. I've run out of space on 1st vg and I still have something on 2nd vg. Can I create raw LVs on 2nd vg and create a link to 1st vg because I need to restore all datafiles pointing to the 1st vg. Is it possible? If possible, how?
There's always a solution for everything
5 REPLIES 5
Victor BERRIDGE
Honored Contributor

Re: LV link

Hi,
I suppose it possible to move some of your datafiles to the new destination and link them to old destination...

Good luck

Victor
Vincenzo Restuccia
Honored Contributor

Re: LV link

Try with vgexport and vgimport.
Peggy Fong
Respected Contributor

Re: LV link

Hi

Do not link raw lvols. Do your linking at the file system level. Or better yet, create a new lvol in the vg that has space. Make it a file system and mount it on /mnt

Copy data from a large directory on the vg that has run out of space into /mnt. Make sure the data is there (use find and cpio) to do the copies.

Remove the data from the large directory. Unmount the new file system from /mnt and mount it on the large directory that should now be empty. Change your /etc/fstab to mount the file system after the file system containing your old/large directory.

Hope this helps.
Peggy
Ravi_8
Honored Contributor

Re: LV link

Hi,
Import the second vg and extend the first vg.

hope this will do.
never give up
Peggy Fong
Respected Contributor

Re: LV link

Joeriz

I think we need a little more information on what you need before we keep replying with so many different strategies. You say you ran out of room in the first vg and that you have to restore all the data yet you mention lvols. If you have different lvols then why would you need to restore all the data in the first vg. Does the 2d vg have room for all the data? Could you add more information on your problem?
Thanks,
Peggy