Operating System - HP-UX
1752809 Members
6076 Online
108789 Solutions
New Discussion юеВ

Re: Migrating an FS from one storage to another

 
kunjuttan
Super Advisor

Migrating an FS from one storage to another

Hi all,

I am having an HP-UX 11.11 Server.I have one filesystem which need to be increased.This storage in which this particular FS resides in not having any free space.So I need to use new storage.Now my problem is I need to move this FS from old storage to new storage which is having enough free space.How can I able to achieve this.Pls help me.
13 REPLIES 13
Pete Randall
Outstanding Contributor

Re: Migrating an FS from one storage to another

Uhhhhh, create a new FS and copy the data from the old to the new?

What are you asking here? How to copy, how to create the new FS, what?


Pete

Pete
Torsten.
Acclaimed Contributor

Re: Migrating an FS from one storage to another

Take a backup and restore it to the new location.

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!   
Rita C Workman
Honored Contributor

Re: Migrating an FS from one storage to another

Let me add aother questions...

What kind of storage?

Rgrds,
Rita

..providing all the details first, really helps speed up the process..
kunjuttan
Super Advisor

Re: Migrating an FS from one storage to another

thanx for the quick replies.But can i do like the following.

existing FS size is 500GB
I will create new 500GB lun in new storage and present it to Server.
create pv.
extend vg
mirror the lv
then break the mirror
and remove the old PV

Can I do it like this.bcos i cant have an option for backing up the data and restoring it.

Pls help me out.If the above process is possible i need the exact steps.
Torsten.
Acclaimed Contributor

Re: Migrating an FS from one storage to another

Yes you can do this, but finally you get the same amount of space, right?

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!   
kunjuttan
Super Advisor

Re: Migrating an FS from one storage to another

that is right torsten..bt i need to extend this particular FS.for tht we dont have enough space in old storage.thts y we need to move it to new storage and i will extend it..can u pls help the steps too..
Torsten.
Acclaimed Contributor

Re: Migrating an FS from one storage to another

Since this is 11.11 you need to create another LUN and vgextend the existing VG.

Don't expand the 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!   
kunjuttan
Super Advisor

Re: Migrating an FS from one storage to another

thanx torsten..i dont know how to break the mirror..how to do it..wht is the risk involved..???
Mel Burslan
Honored Contributor

Re: Migrating an FS from one storage to another

breaking the mirror is not dangerous and in your case is not necessary ? If your storage is on SAN, why do you need a mirror ? Doesn't your SAN have some data protection schema like RAID 1+0 or at least a RAID-5 ?

But again, you do not need to break the mirror on the LVM side. You just create another couple of LUNs, Do a pvcreate, then vgextend to cover the new LUNs. Then expand your filesystems onto these new devices as you usually do ? It is not a necessity that all your data on any given VG staying on the same device. It is the beauty of LVM.
________________________________
UNIX because I majored in cryptology...